From: Chris Wilson Date: Sun, 21 Nov 2010 09:56:00 +0000 (+0000) Subject: drm/i915: Only save/restore cursor regs if !KMS X-Git-Tag: v2.6.37-rc5~39^2~6^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3c91c1deaf8493526d8216be94c33e963f00962;p=pandora-kernel.git drm/i915: Only save/restore cursor regs if !KMS Under KMS, restoring the cursor is handled upon modeswitch in order to avoid enabling an undefined set of registers. At the moment, the cursor is restored before the aperture and modes are fully setup causing some invalid access during resume, such as: PGTBL_ER: 0x00040000 Invalid GTT entry during Cursor Fetch Fix this by only performing cursor register save/restore under UMS where it is done in the correct sequence. Reported-by: Arkadiusz Miskiewicz Signed-off-by: Chris Wilson --- Reading git-diff-tree failed