mesa/src/panfrost
Michael Tretter 279d08a18a 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.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23744>
2023-07-05 11:50:59 +00:00
..
ci st/mesa: Set gl_config.floatMode based on color_format 2023-07-04 00:23:40 +00:00
compiler panfrost: Convert to use nir_foreach_function_impl when possible 2023-07-01 17:39:50 +08:00
drm-shim panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
ds panfrost: rename *.cc files to *.cpp 2023-05-26 18:07:38 +01:00
include panfrost: Re-run clang-format 2023-04-10 21:56:04 +00:00
lib panfrost: remove BO from cache before closing GEM 2023-07-05 11:50:59 +00:00
midgard panfrost: Use nir_builder_at 2023-07-03 15:21:37 +00:00
perf panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
shared meson: inline gtest_test_protocol now that it's always 'gtest' 2023-03-10 07:20:29 +00:00
tools panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
util panfrost: Use nir_builder_at 2023-07-03 15:21:37 +00:00
vulkan panfrost: Replace the usage of PIPE_BIND_* with PAN_BIND_* 2023-06-10 14:54:11 +00:00
.clang-format panfrost: Use the Mesa base style 2023-05-29 21:06:12 +00:00
meson.build panfrost: drop no-longer-needed libglsl 2023-02-10 14:09:37 +00:00