]> git.karo-electronics.de Git - linux-beck.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)
commit094e0fa8b96c9fab5df9597e728d82f3d87ee471
tree2cd6825c18acba42fea36b8b3e604266dcdbd5f2
parentd3216a0c3133d8e88ec45c7ecd9f38b421f90c03
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