From: Chris Wilson Date: Wed, 18 Apr 2012 16:12:26 +0000 (+0100) Subject: drm/i915/sprite: Avoid incurring extra vblank stall when updating plane on IVB X-Git-Tag: v3.5-rc1~83^2~8^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=828ed3e1703a2323250f4acdac34f79fd27364d9;p=pandora-kernel.git drm/i915/sprite: Avoid incurring extra vblank stall when updating plane on IVB IvyBridge requires an extra frame between disabling the low power watermarks and enabling scaling on the sprite plane. If the scaling is already enabled, then we have already disabled the low power watermarks and need not incur an extra wait. Similarly, as we disable the scaling when turning off the sprite plane, we can update the scaling enabled flag and restore the low power watermarks. Signed-off-by: Chris Wilson Reviewed-by: Jesse Barnes Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed