]> git.baikalelectronics.ru Git - kernel.git/commit
qxl: add suspend/resume/hibernate support.
authorDave Airlie <airlied@redhat.com>
Thu, 4 Jul 2013 05:02:33 +0000 (15:02 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 5 Jul 2013 00:44:18 +0000 (10:44 +1000)
commit5af59c948aa97ac229a21aa268f682d169d9c14d
treefd30ee57cf7c8ede42123ed4c61a7d9cfd4d1269
parent3e7e189b2fbbc5ac4a18e6023fb6ee0cb4f1a7a5
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>
drivers/gpu/drm/qxl/qxl_drv.c
drivers/gpu/drm/qxl/qxl_drv.h
drivers/gpu/drm/qxl/qxl_object.c