drm/vmwgfx: Add new-style PM hooks to improve hibernation behavior
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 5 Oct 2010 10:43:01 +0000 (12:43 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Oct 2010 01:29:37 +0000 (11:29 +1000)
commit7fbd721ad35f8ffec8d9a82e0e4b390cb6c9f4f7
tree1e081c1a5c5fc26efb00e258b7f266a099a7a085
parent094e0fa8b96c9fab5df9597e728d82f3d87ee471
drm/vmwgfx: Add new-style PM hooks to improve hibernation behavior

Add the new-style PM hooks prepare and complete. This allows us to
power up the device again after the hibernation image has been created, and
display output will thus be active until the VM is finally powered off.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c