Skip to content

panfrost: remove BO from cache before closing GEM

If the GEM is closed before setting the BO in the sparse array to zero, a newly allocated GEM may be associated with a stale BO that is left in the cache reusing an old BO.

Zero the BO before closing the GEM to make sure that the BO is removed from the cache and won't be associated with a different GEM.

Merge request reports