[igt-dev] [PATCH i-g-t] lib/i915/gem_mman: Add helper routine to check GTT version

Summers, Stuart stuart.summers at intel.com
Sun Nov 17 22:12:32 UTC 2019


On Sun, 2019-11-17 at 14:41 +0000, Chris Wilson wrote:
> Quoting Stuart Summers (2019-11-17 14:39:16)
> > Add a check to gem_pread and gem_pwrite to only allow GTT subtests
> > when the GTT version is at least 1.
> 
> No, it must also run on kernels before ioctl versioning. Why?

Hm.. yeah that makes sense. I'll have to come up with something else :)
Looking for a way to determine whether we can mmap to the GTT. I'll
rethink and repost.

Thanks,
Stuart

> -Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3270 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/igt-dev/attachments/20191117/f0aed133/attachment.bin>


More information about the igt-dev mailing list