[Intel-gfx] [PATCH] drm/i915: Fix sprite_scaling_enabled for multiple sprites

Chris Wilson chris at chris-wilson.co.uk
Fri Feb 8 22:26:30 CET 2013


On Fri, Feb 08, 2013 at 11:13:35PM +0200, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> We have more than one sprite, so a boolean simply won't cut it.
> Turn sprite_scaling_enabled into a bitmask and track the state
> of sprite scaler for each sprite independently.
> 
> Also don't re-enable LP watermarks until the sprite registers
> have actually been written, and thus sprite scaling has really
> been disabled.

I would emphasize this, since this fix is worthy of Cc: stable@
 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list