mirror of https://gitlab.freedesktop.org/mesa/mesa
e6b752ff62
When HAVE_VALGRIND is set, vbits of the CPU mapping are stored when pvr_bo_cpu_unmap() is called. They can be reloaded by calling pvr_bo_cpu_map_unchanged() instead of pvr_bo_cpu_map(). The vbits are not loaded by default on every map, since they could easily have been changed by the device between the unmap/map calls. Only use pvr_bo_cpu_map_unchanged() when you can safely assume that nothing has changed in the underlying memory. When HAVE_VALGRIND is not set, pvr_bo_cpu_map_unchanged() just inlines to pvr_bo_cpu_map(). Signed-off-by: Matt Coster <matt.coster@imgtec.com> Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18948> |
||
---|---|---|
.. | ||
amd | ||
android_stub | ||
asahi | ||
broadcom | ||
c11 | ||
compiler | ||
drm-shim | ||
egl | ||
etnaviv | ||
freedreno | ||
gallium | ||
gbm | ||
getopt | ||
glx | ||
gtest | ||
hgl | ||
imagination | ||
imgui | ||
intel | ||
loader | ||
mapi | ||
mesa | ||
microsoft | ||
nouveau | ||
panfrost | ||
tool | ||
util | ||
virtio | ||
vulkan | ||
meson.build |