]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Save/restore cursor state on suspend/resume.
authorEric Anholt <eric@anholt.net>
Wed, 3 Jun 2009 07:26:58 +0000 (07:26 +0000)
committerEric Anholt <eric@anholt.net>
Thu, 4 Jun 2009 11:43:11 +0000 (11:43 +0000)
commit1fd1c624362819ecc36db2458c6a972c48ae92d6
tree9547e1a861be1a95b854945a46df8010f6d71c8f
parent0e7ddf7eeeef5aea85412120539ab5369577faeb
drm/i915: Save/restore cursor state on suspend/resume.

This may fix cursor corruption in X on resume, which would persist until
the cursor was hidden and then shown again.

V2: Also include the cursor control regs.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_suspend.c