mesa/src/imagination/vulkan
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
..
pds pvr: Split pds compute shader create and upload code for reuse. 2022-10-07 14:23:05 +00:00
usc pvr: Add vulkan shader factory headers for Query and clear APIs. 2022-10-07 14:23:05 +00:00
winsys pvr: Add pvr_bo_cpu_map_unchanged() helper to load saved vbits on map 2022-11-25 16:42:55 +00:00
meson.build
pvr_blit.c pvr: Add attachment resolve support. 2022-09-22 16:54:07 +01:00
pvr_bo.c pvr: Add pvr_bo_cpu_map_unchanged() helper to load saved vbits on map 2022-11-25 16:42:55 +00:00
pvr_bo.h pvr: Add pvr_bo_cpu_map_unchanged() helper to load saved vbits on map 2022-11-25 16:42:55 +00:00
pvr_cmd_buffer.c pvr: Minor cleanup around pvr_emit_vdm_index_list() 2022-11-18 11:46:14 +00:00
pvr_csb.c pvr: conditionally call pvr_finishme() in pvr_csb_copy() 2022-11-10 14:11:07 +00:00
pvr_csb.h pvr: csbgen: Generate enum-to-string functions for debugging 2022-11-25 16:42:55 +00:00
pvr_csb_enum_helpers.h
pvr_descriptor_set.c pvr: Fix segfault in pvr_CreatePipelineLayout when layout has zero bindings 2022-11-10 12:04:57 +00:00
pvr_device.c pvr: Split pds compute shader create and upload code for reuse. 2022-10-07 14:23:05 +00:00
pvr_formats.c pvr: setup buffer and image format feature bits 2022-10-31 11:07:30 +00:00
pvr_formats.h pvr: Change pvr_get_hw_clear_color() to pack based on accum formats. 2022-10-25 10:15:09 +00:00
pvr_hardcode.c
pvr_hardcode.h
pvr_hw_pass.c pvr: Store format aspects on render pass attachments 2022-11-11 16:48:51 +00:00
pvr_hw_pass.h pvr: Convert attachment indexes to unsigned. 2022-09-30 10:52:51 +00:00
pvr_image.c pvr: remove some stale FIXMEs/pvr_finishmes 2022-11-10 14:11:07 +00:00
pvr_job_common.c
pvr_job_common.h
pvr_job_compute.c pvr: Fix valgrind issue on compute job submissions 2022-11-16 13:28:34 +00:00
pvr_job_compute.h pvr: Handle pipeline barrier vk_sync. 2022-10-19 16:07:26 +00:00
pvr_job_context.c
pvr_job_context.h
pvr_job_render.c pvr: Implement new firmware stream interface 2022-11-11 11:34:17 +00:00
pvr_job_render.h pvr: remove implicit sync support 2022-10-28 10:44:55 +00:00
pvr_job_transfer.c pvr: Handle pipeline barrier vk_sync. 2022-10-19 16:07:26 +00:00
pvr_job_transfer.h pvr: Handle pipeline barrier vk_sync. 2022-10-19 16:07:26 +00:00
pvr_limits.h
pvr_pass.c pvr: Store format aspects on render pass attachments 2022-11-11 16:48:51 +00:00
pvr_pipeline.c pvr: Use common pipeline & dynamic state frameworks 2022-11-11 16:48:51 +00:00
pvr_pipeline_cache.c
pvr_private.h pvr: Fix clang-format error. 2022-11-18 09:17:13 +00:00
pvr_query.c pvr: Fix heap type of availability_buffer allocation. 2022-10-07 14:23:05 +00:00
pvr_queue.c pvr: use common command buffer status 2022-11-11 05:01:24 +00:00
pvr_shader.c
pvr_shader.h
pvr_tex_state.c
pvr_tex_state.h
pvr_wsi.c
vk_format.h