]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Implement basic pm operations.
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 13 Jan 2010 21:28:43 +0000 (22:28 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 14 Jan 2010 02:19:57 +0000 (12:19 +1000)
commit1928c19362c18adc0790bdb9128ca415b23b8407
treee39118bbf806914b7124ee9ab4b0b51a585d493c
parent5158ea2327d56c2d62e3a7dc209dc479fb666742
drm/vmwgfx: Implement basic pm operations.

Currently we really only support S3, since the device doesn't support
saving of the 3D state.

On S3/S4, move all buffer objects to swappable memory and take down
GMR bindings. We need to do that from a PM notifier since we can't
do persistant memory allocations from the standard PM callbacks.

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