mesa/src/imagination/vulkan
Frank Binns 9b7faa7d96 pvr: fix invalid read reported by valgrind
pvr_gpu_upload() can't be used in the case of pvr_gpu_upload_usc() as it expects
the source and destination buffers to be the same size. This isn't the case
because pvr_gpu_upload_usc() adds some padding bytes to the size passed in by
the caller.

Fixes: 547a10f870 ("pvr: switch pvr_cmd_buffer_alloc_mem to use pvr_bo_suballoc")
Signed-off-by: Frank Binns <frank.binns@imgtec.com>
Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23185>
2023-05-25 01:51:36 +00:00
..
pds pvr: Add PVR_DW_TO_BYTES() 2023-04-25 12:55:43 +00:00
usc pvr: Transfer optimisation remove unused features from API 2023-05-17 08:18:26 +00:00
winsys pvr: Return VkResult from winsys buffer_map operation 2023-05-18 15:56:59 +00:00
meson.build pvr: Assorted cleanup 2023-05-18 15:56:59 +00:00
pvr_blit.c pvr: Remove bad assert in pvr_clear_attachments() 2023-05-18 11:31:40 +00:00
pvr_bo.c pvr: Return VkResult from winsys buffer_map operation 2023-05-18 15:56:59 +00:00
pvr_bo.h pvr: Return VkResult from winsys buffer_map operation 2023-05-18 15:56:59 +00:00
pvr_clear.c pvr: Remove custom status in command buffer 2023-05-18 09:41:58 +00:00
pvr_clear.h pvr: Fix cs corruption in pvr_pack_clear_vdm_state() 2023-05-16 18:09:03 +00:00
pvr_cmd_buffer.c pvr: Fix missing invalidation of the command buffer 2023-05-18 09:41:58 +00:00
pvr_common.h pvr: Transfer optimisation remove unused features from API 2023-05-17 08:18:26 +00:00
pvr_csb.c pvr: add GUARD_SIZE_DEFAULT for CDM and VDM control stream links 1 and 2 2023-05-10 13:13:07 +00:00
pvr_csb.h pvr: Add PVR_DW_TO_BYTES() 2023-04-25 12:55:43 +00:00
pvr_csb_enum_helpers.h pvr: Move PBE START_POS into csb enum helpers header 2023-02-24 14:36:36 +00:00
pvr_descriptor_set.c pvr: Simplify descriptor set layout dump separators 2023-05-18 11:49:58 +00:00
pvr_device.c pvr: fix invalid read reported by valgrind 2023-05-25 01:51:36 +00:00
pvr_dump_bo.c pvr: Return VkResult from winsys buffer_map operation 2023-05-18 15:56:59 +00:00
pvr_dump_bo.h pvr: debug: Add "cs" debug option to dump control stream on job submit 2022-11-25 16:42:55 +00:00
pvr_dump_csb.c pvr: debug: Print hexdump at the end of all sub buffers 2022-12-01 15:05:59 +00:00
pvr_formats.c pvr: Return correct pbe_accum_format size for A2B10G10R10_UINT_PACK32 2023-05-18 11:31:40 +00:00
pvr_formats.h pvr: Transfer optimisation remove unused features from API 2023-05-17 08:18:26 +00:00
pvr_hardcode.c pvr: remove duplicate define 2023-02-25 22:58:25 +00:00
pvr_hardcode.h pvr: stop restricting the compiler to the Sascha Willems triangle demo 2023-02-25 22:58:25 +00:00
pvr_hw_pass.c pvr: Fix vk_free() in vkCreateRenderPass2() error path 2023-05-18 10:05:26 +00:00
pvr_hw_pass.h pvr: Remove component_alignment 2023-02-24 14:36:36 +00:00
pvr_image.c pvr: Initialize aspect_mask when creating buffer views 2023-05-15 10:31:28 +00:00
pvr_job_common.c pvr: PBE fix mesa pipe swizzle conversion 2023-05-17 08:18:25 +00:00
pvr_job_common.h pvr: Remove unused msaa_mode field 2023-02-24 14:36:36 +00:00
pvr_job_compute.c pvr: Add PVR_DW_TO_BYTES() 2023-04-25 12:55:43 +00:00
pvr_job_compute.h pvr: Use common queue submit implementation 2023-02-28 21:39:49 +00:00
pvr_job_context.c pvr: Fix incorrect error handling in pvr_render_ctx_switch_init() 2023-05-18 15:56:59 +00:00
pvr_job_context.h pvr: switch pvr_gpu_upload_* to use pvr_bo_suballoc 2023-05-16 11:53:08 +01:00
pvr_job_render.c pvr: Add back S8_UINT support 2023-05-16 18:09:03 +00:00
pvr_job_render.h pvr: Setup SPM background object 2023-03-01 17:10:53 +00:00
pvr_job_transfer.c pvr: Fix transfer image clearing PBE packmodes 2023-05-18 12:25:07 +00:00
pvr_job_transfer.h pvr: Add support to process transfer and blit cmds 2023-04-19 11:01:05 +00:00
pvr_limits.h pvr: Add support for dynamic buffers descriptors 2023-02-23 16:26:51 +00:00
pvr_pass.c pvr: Fix vk_free() in vkCreateRenderPass2() error path 2023-05-18 10:05:26 +00:00
pvr_pipeline.c pvr: switch pvr_gpu_upload_* to use pvr_bo_suballoc 2023-05-16 11:53:08 +01:00
pvr_pipeline_cache.c
pvr_private.h pvr: fix array overflow in pvr_device_tile_buffer_ensure_cap() 2023-05-19 10:44:27 +00:00
pvr_query.c pvr: Use the suballocator for queries 2023-05-18 10:26:14 +00:00
pvr_query_compute.c pvr: Use the suballocator for queries 2023-05-18 10:26:14 +00:00
pvr_queue.c pvr: Add support to process transfer and blit cmds 2023-04-19 11:01:05 +00:00
pvr_robustness.c pvr: Add robustness buffer support 2023-03-27 18:36:32 +00:00
pvr_robustness.h pvr: Add robustness buffer support 2023-03-27 18:36:32 +00:00
pvr_shader.c pvr: Add new Rogue compiler framework 2023-02-08 15:15:17 +00:00
pvr_shader.h pvr: Add new Rogue compiler framework 2023-02-08 15:15:17 +00:00
pvr_spm.c pvr: switch pvr_spm to use pvr_bo_suballoc 2023-05-16 11:53:09 +01:00
pvr_spm.h pvr: switch pvr_gpu_upload_* to use pvr_bo_suballoc 2023-05-16 11:53:08 +01:00
pvr_tex_state.c pvr: Add support to process transfer and blit cmds 2023-04-19 11:01:05 +00:00
pvr_tex_state.h pvr: Select a single aspect format for the texture state of DS image views 2023-03-20 14:47:34 +00:00
pvr_transfer_frag_store.c pvr: Transfer optimisation remove unused features from API 2023-05-17 08:18:26 +00:00
pvr_transfer_frag_store.h pvr: Add support to process transfer and blit cmds 2023-04-19 11:01:05 +00:00
pvr_wsi.c pvr: Rename primary_{device,fd,path} to display_* 2023-05-18 15:56:59 +00:00
vk_format.h pvr: Add support to process transfer and blit cmds 2023-04-19 11:01:05 +00:00