[igt-dev] [PATCH i-g-t 1/2] lib/i915/gem_mman: Prioritize GTT mappings over WC

Chris Wilson chris at chris-wilson.co.uk
Sat Jan 11 08:40:32 UTC 2020


Quoting Ashutosh Dixit (2020-01-11 05:36:52)
> In order to preserve legacy behavior for devices with a mappable
> aperture try a GTT mapping first. Use a WC mapping only for devices
> without a mappable aperture.

No...? It's just historical legacy from before we even had WC available.
Since we've had WC for basic mmappings, we prefer WC since it is not as
scarce and as precious a resource. (Not that it matters for most tests
since GTT thrashing in basic igt is unheard of!)
-Chris


More information about the igt-dev mailing list