[igt-dev] [RFC PATCH 1/4] lib/i915/gem_mman: add mmap_offset support
Chris Wilson
chris at chris-wilson.co.uk
Wed Aug 14 13:58:40 UTC 2019
Quoting Joonas Lahtinen (2019-08-14 14:19:12)
> This logic shouldn't be needed either, if we have mmap_offset, we'll
> have WC support. What this logic checks is if default placed object will
> support WC mmap, which is very different from what this function
> originally did.
Fwiw, that's not always true. Once you know which ioctl you have,
you need to query the WC flags to verify the processor supports WC
access. With Xen even recent processors may be lacking a few essentials.
-Chris
More information about the igt-dev
mailing list