[igt-dev] [PATCH i-g-t v2] lib/igt_fb: Don't use blitter for large buffers

Maxime Ripard maxime.ripard at bootlin.com
Thu Sep 13 07:33:36 UTC 2018


On Tue, Sep 11, 2018 at 05:29:23PM +0300, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> The blitter stride is limited to <32k. Fall back to gtt mmap if we're
> about to exceed that.
> 
> This won't work for Yf as the fence doesn't know about Yf. So for that
> case we'd need to use cpu mmap and (de)tile manually. For now just
> pretend that there is no problem.
> 
> v2: Throw in some warnings for gtt mmap vs. yf tiling (Chris)
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk> #v1

If we (still?) aim at running igt on anything else than intel
hardware, shouldn't we remove i915-specific code from the generic
code, instead of having more of those creeping in?

Maxime

-- 
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/igt-dev/attachments/20180913/7aaf3f9d/attachment-0001.sig>


More information about the igt-dev mailing list