From: Ville Syrjälä Date: Thu, 5 Dec 2013 13:51:39 +0000 (+0200) Subject: drm/i915: Try to fix the messy IVB sprite scaling workaround X-Git-Tag: v3.14-rc1~47^2~16^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8553c18ea696827f26d3ba5652d3a2fa9ce8e874;p=pandora-kernel.git drm/i915: Try to fix the messy IVB sprite scaling workaround We now have a very clear method of disabling LP1+ wartermarks, and we can actually detect if we actually did disable them, or if they were already disabled. Use that to clean up the WaCxSRDisabledForSpriteScaling:ivb handling. I was hoping to apply the workaround in a way that wouldn't require a blocking wait, but sadly IVB really does appear to require LP1+ watermarks to be off for an entire frame before enabling sprite scaling. Simply disabling LP1+ watermarks during the previous frame is not enough, no matter how early in the frame we do it :( Signed-off-by: Ville Syrjälä Reviewed-by: Imre Deak Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed