summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/qxl/qxl_drv.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2013-07-04 06:46:46 +0200
committerDave Airlie <airlied@redhat.com>2013-07-05 02:44:16 +0200
commit2bd6ce84e1b4799be1f328a165d0b8a4fdfd2141 (patch)
tree4b4f0da1c29ddd6daadf65b539a80def029c50d4 /drivers/gpu/drm/qxl/qxl_drv.h
parentdrm/qxl: set time on drawables from userspace (diff)
downloadlinux-2bd6ce84e1b4799be1f328a165d0b8a4fdfd2141.tar.xz
linux-2bd6ce84e1b4799be1f328a165d0b8a4fdfd2141.zip
qxl: split monitors_config object creation out.
This splits the creation of the monitors config object out so we can re-use it across suspend/resume later. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_drv.h')
-rw-r--r--drivers/gpu/drm/qxl/qxl_drv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_drv.h b/drivers/gpu/drm/qxl/qxl_drv.h
index 42ef0e2b5094..6a929258fff9 100644
--- a/drivers/gpu/drm/qxl/qxl_drv.h
+++ b/drivers/gpu/drm/qxl/qxl_drv.h
@@ -374,6 +374,8 @@ qxl_framebuffer_init(struct drm_device *dev,
struct drm_gem_object *obj);
void qxl_display_read_client_monitors_config(struct qxl_device *qdev);
void qxl_send_monitors_config(struct qxl_device *qdev);
+int qxl_create_monitors_object(struct qxl_device *qdev);
+int qxl_destroy_monitors_object(struct qxl_device *qdev);
/* used by qxl_debugfs only */
void qxl_crtc_set_from_monitors_config(struct qxl_device *qdev);