[Intel-gfx] [PATCH] drm/i915: Fix g4x sprite scaling stride check with GTT remapping

Chris Wilson chris at chris-wilson.co.uk
Tue Oct 1 19:18:39 UTC 2019


Quoting Ville Syrjala (2019-09-30 19:30:45)
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> I forgot to update the g4x sprite scaling stride check when GTT
> remapping was introduced. The stride of the original framebuffer
> is irrelevant when remapping is used and instead we want to check
> the stride of the remapped view.
> 
> Also drop the duplicate width_bytes check. We already check that
> a few lines earlier.
> 
> Fixes: df79cf441910 ("drm/i915: Store the final plane stride in plane_state")
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

So basically .stride = intel_fb_pitch()
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list