[Mesa-dev] [PATCH v2 2/5] panfrost: Allocate shaders in their own BOs

Alyssa Rosenzweig alyssa.rosenzweig at collabora.com
Wed Aug 7 23:47:36 UTC 2019


> 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 }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190807/698d5e10/attachment.sig>


More information about the mesa-dev mailing list