From: Chris Wilson Date: Tue, 4 Dec 2012 16:33:19 +0000 (+0000) Subject: drm/i915: Clear the existing watermarks for g4x when modifying the cursor sr X-Git-Tag: v3.8-rc1~82^2^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c919b28932d2a1fcadd196bbf36d8866afc458a;p=pandora-kernel.git 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 Reviewed-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed