mesa/src
Matt Coster e6b752ff62 pvr: Add pvr_bo_cpu_map_unchanged() helper to load saved vbits on map
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>
2022-11-25 16:42:55 +00:00
..
amd radv: make sure to mark DCC as compressed on GFX11 2022-11-25 15:22:18 +00:00
android_stub
asahi agx: Fix signedness issues packing 2022-11-24 23:37:48 +00:00
broadcom v3dv: allocate copy query pipelines lazily 2022-11-25 09:30:49 +00:00
c11
compiler nir/divergence: add missing btd_shader_type_intel 2022-11-23 15:04:22 +00:00
drm-shim
egl egl: Fix uninitialized variable warning 2022-11-22 01:54:51 +00:00
etnaviv tree-wide: Use __func__ instead of __FUNCTION__ in non-gallium code 2022-11-22 06:53:46 +00:00
freedreno freedreno/replay: Add option to replay specific range of cmdstreams 2022-11-23 20:12:08 +00:00
gallium virgl: Fix injection of double from const mov instruction 2022-11-25 11:54:18 +00:00
gbm
getopt
glx Revert "egl/glx: add fallback for zink loading" 2022-11-17 01:08:33 +00:00
gtest
hgl
imagination pvr: Add pvr_bo_cpu_map_unchanged() helper to load saved vbits on map 2022-11-25 16:42:55 +00:00
imgui
intel anv: use the anv_state_pool address helper more 2022-11-25 10:29:56 +00:00
loader
mapi mapi: update gles 1.1 extention packet link 2022-11-20 15:14:01 +00:00
mesa mesa: do not require optional queries 2022-11-25 06:50:59 +00:00
microsoft microsoft/nir_to_dxil: Avoid emitting SampleCmpLevel prior to SM 6.7 if possible 2022-11-22 16:49:36 +00:00
nouveau drm-shim/nouveau: fix the shim to work with nvif ioctl. 2022-11-09 21:21:22 +00:00
panfrost panfrost: Revert "Require 64-byte alignment on imports" 2022-11-24 23:46:55 +00:00
tool pps: make pps-producer RT only on freedreno 2022-11-15 21:21:42 +00:00
util util: Rename PIPE_CDECL to UTIL_CDECL and moved into util/macros.h 2022-11-24 06:21:39 +00:00
virtio venus: enable VK_KHR_push_descriptor 2022-11-23 01:21:34 +00:00
vulkan wsi/x11: Rewrite wait logic for ANI/WaitForPresentKHR. 2022-11-23 19:06:12 +00:00
meson.build meson: build radeon drm-shim also for r300 and r600 2022-11-16 14:37:47 +00:00