[Intel-gfx] [PATCH] drm/i915/sprite: Avoid incurring extra vblank stall when updating plane on IVB
Daniel Vetter
daniel at ffwll.ch
Sat Apr 21 18:53:55 CEST 2012
On Wed, Apr 18, 2012 at 09:23:46AM -0700, Jesse Barnes wrote:
> On Wed, 18 Apr 2012 17:12:26 +0100
> Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> > 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 <chris at chris-wilson.co.uk>
> > Cc: Jesse Barnes <jbarnes at virtuousgeek.org>
> > ---
>
> Yep, this is a good optimization.
>
> Reviewed-by: Jesse Barnes <jbarnes at virtuousgeek.org>
Queued for -next, thanks for the patch.
-Daniel
--
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48
More information about the Intel-gfx
mailing list