[Mesa-dev] [PATCH v2 14/37] panfrost: Stop using panfrost_bo_release() outside of pan_bo.c

Alyssa Rosenzweig alyssa at rosenzweig.io
Mon Sep 16 12:28:29 UTC 2019


> The only difference caused by this change is that the scratchpad,
> tiler_heap and tiler_dummy BOs are now returned to the cache instead
> of being freed when a context is destroyed.

That sounds fine to me.

> This is only a problem if
> we care about context isolation, which apparently is not the case since
> transient BOs are already returned to the per-FD cache (and all contexts
> share the same address space anyway, so enforcing context isolation
> is almost impossible).

We care about process isolation, not context isolation. Different
contexts within the same process (i.e. all corresponding to the same
_screen) are not meant to be isolated, as far as I know.

So r-b


More information about the mesa-dev mailing list