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>
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user