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

2013-02-09 Thread Daniel Vetter
On Fri, Feb 08, 2013 at 09:26:30PM +, Chris Wilson wrote: > On Fri, Feb 08, 2013 at 11:13:35PM +0200, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > We have more than one sprite, so a boolean simply won't cut it. > > Turn sprite_scaling_enabled into a bitmask and track t

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

2013-02-08 Thread Chris Wilson
On Fri, Feb 08, 2013 at 11:13:35PM +0200, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > 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

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

2013-02-08 Thread ville . syrjala
From: Ville Syrjälä 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 sp