]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Clear the existing watermarks for g4x when modifying the cursor sr
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 4 Dec 2012 16:33:19 +0000 (16:33 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Dec 2012 21:43:39 +0000 (22:43 +0100)
commit09ad9053b9584455247c9799eb0b4b900c89092c
tree141704563169397e78e6a04e07eccb827d17beff
parent3aac974f4c5fdce944220162b56fe17e71d454fb
drm/i915: Clear the existing watermarks for g4x when modifying the cursor sr

In a couple of places we attempt to adjust the existing watermark
registers to update them for the new cursor watermarks. This goes
horribly wrong as instead of clearing the cursor bits prior to or'ing in
the new values, we clear the rest of the register with the result that
the watermark registers contain bogus values.

References: https://bugs.freedesktop.org/show_bug.cgi?id=47034
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c