diff options
author | Dave Airlie <airlied@redhat.com> | 2013-07-04 09:02:33 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-07-05 04:44:18 +0400 |
commit | d84300bf793471cc20c7553601c45d6f70dd2b1e (patch) | |
tree | fd30ee57cf7c8ede42123ed4c61a7d9cfd4d1269 /drivers/gpu/drm/qxl/qxl_drv.h | |
parent | b86487a6b671ff7107fbf6d3ff10c2da970cd1c3 (diff) | |
download | linux-d84300bf793471cc20c7553601c45d6f70dd2b1e.tar.xz |
qxl: add suspend/resume/hibernate support.
This adds suspend/resume and hibernate support for the KMS driver. it evicts
all the objects, turns off the outputs, and waits for the hw to go idle,
On resume, it resets the memslots, rings, monitors object and forces modeset.
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_drv.h b/drivers/gpu/drm/qxl/qxl_drv.h index 70a67862673a..aacb791464a3 100644 --- a/drivers/gpu/drm/qxl/qxl_drv.h +++ b/drivers/gpu/drm/qxl/qxl_drv.h @@ -333,6 +333,7 @@ void qxl_bo_fini(struct qxl_device *qdev); void qxl_reinit_memslots(struct qxl_device *qdev); int qxl_surf_evict(struct qxl_device *qdev); +int qxl_vram_evict(struct qxl_device *qdev); struct qxl_ring *qxl_ring_create(struct qxl_ring_header *header, int element_size, |