[Intel-gfx] [PATCH i-g-t] igt_fb: Add support for drawing to non-32bit Y/Yf tiled FBs

Chris Wilson chris at chris-wilson.co.uk
Fri Dec 8 16:06:15 UTC 2017


Quoting Imre Deak (2017-12-08 14:53:41)
> When drawing with cairo to Y/Yf tiled FBs we use a temporary linear
> buffer which is mapped to the CPU, but the fast blit needed for this
> only expects 32 bpp FBs. Add support for other bpps too.
> 
> This is needed for upcoming patches testing non-32bit bpp formats with
> Y/Yf tiling.
> 
> Thanks to Ville for explaining why we need the temporary buffer. (Looks
> like for Y tiling we could do without, but that's a separate topic.)
> 
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Imre Deak <imre.deak at intel.com>

Lgtm,
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list