summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/bochs/bochs.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-04-14 13:34:49 +0400
committerDave Airlie <airlied@redhat.com>2014-04-18 07:31:49 +0400
commitb8ccd70f1363f7d4e49219dbc46ec973a14f49cd (patch)
treed888a53fecea5d12cf7fe485dbe257ff29be84a2 /drivers/gpu/drm/bochs/bochs.h
parent2f1e800799bf478494cec3573cd63eb34ca89c9d (diff)
downloadlinux-b8ccd70f1363f7d4e49219dbc46ec973a14f49cd.tar.xz
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 <kraxel@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/bochs/bochs.h')
-rw-r--r--drivers/gpu/drm/bochs/bochs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/bochs/bochs.h b/drivers/gpu/drm/bochs/bochs.h
index 741965c001a6..460820551b09 100644
--- a/drivers/gpu/drm/bochs/bochs.h
+++ b/drivers/gpu/drm/bochs/bochs.h
@@ -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>