Skip to contentSkip to conversation

drm: bochs: add power management support

PATCH Superseded Gerd Hoffmann 1 participant 1 message Feb 25, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 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
index 741965c..4608205 100644
@@ -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