drm: bochs: add power management support
Subsystems (2)
PATCH 1/1 drm: bochs: add power management support
bochs kms driver lacks power management support, thus the vga display doesn't work any more after S3 resume.
Fix this by adding suspend and resume functions.
Signed-off-by Gerd Hoffmann <[email protected]>
--- drivers/gpu/drm/bochs/bochs.h | 1 + drivers/gpu/drm/bochs/bochs_drv.c | 44 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+)
drivers/gpu/drm/bochs/bochs.h +1 -0
@@ -1,5 +1,6 @@#include <linux/io.h> #include <linux/fb.h> +#include <linux/console.h> #include <drm/drmP.h> #include <drm/drm_crtc.h>
drivers/gpu/drm/bochs/bochs_drv.c +44 -0
56 lines not on this page · raw message
Signature · 1 line
1.8.3.1