[igt-dev] [PATCH i-g-t 6/9] lib/igt_fb: Fall back from gtt map to coherent map on platforms w/o aperture

Imre Deak imre.deak at intel.com
Thu Jan 30 13:17:53 UTC 2020


On Thu, Jan 30, 2020 at 10:22:29AM +0000, Chris Wilson wrote:
> Quoting Imre Deak (2020-01-29 18:15:58)
> > Use a device coherent map instead of GGTT map on platforms w/o an
> > aperture.
> 
> The decision tree here leads much to be desired. The usual practice is
> to use sw detiling since that has been faster than HW since byt.

This fixes the use of map_bo() when the user just wants to fill the
buffer with a pattern (for instance clearing for yuv), so detiling is
not needed in that case.

> -Chris


More information about the igt-dev mailing list