[Intel-gfx] [PATCH 6/6] drm/i915: Use i9xx_check_plane_surface() for sprite planes as well

Chris Wilson chris at chris-wilson.co.uk
Fri Mar 24 10:35:56 UTC 2017


On Thu, Mar 23, 2017 at 09:27:12PM +0200, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> All the pre-SKL sprite planes compute the x/y/tile offsets in a
> similar way. There are a couple of minor differences but the primary
> planes have those as well. Thus i9xx_check_plane_surface()
> already does what we need, so let's use it.
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

Looks right to me, but I'd recommend a second opinion here.
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