> This is using the
> untranslated flags, but I think it should be the 'translated_flags' as
> those are the ones changing the allocation.

It's a little more complex than that. There some hypothetical
untranslated flags that I would want to match on. For instance, future
CPU read-only/write-only modifiers -- those affect the mmap (and need to
be accounted for in the BO cache) but aren't specified as
translated_flags to the kernel.

{ I'd like to experiment with read-only/write-only flags on certain
buffers as a sanity check for security/robustness reasons }

Attachment: signature.asc
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to