]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Fix ACPI S3 & S4 functionality.
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 5 Oct 2010 10:43:00 +0000 (12:43 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Oct 2010 01:29:33 +0000 (11:29 +1000)
commit1901c39a68798c34463758d88e315213b35a3abf
tree2cd6825c18acba42fea36b8b3e604266dcdbd5f2
parent46d57efd2ae9e43eb982d9268c78bffcf6d66bed
drm/vmwgfx: Fix ACPI S3 & S4 functionality.

Don't suspend or hibernate when there are 3D resources active since we
can't restore the device's 3D state. Instead fail with an error message.

In other cases, make sure we re-enable the fifo and unlock ttm on resume.

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