mesa/src/imagination/vulkan
Karmjit Mahil 5d03bbc91d pvr: Fix csb control stream extension
Previously we reserved space for a stream link and whenever we ran
out of space in the current bo, allocated a new one, and emitted a
link to it. This is problematic as stream links can only be emitted
at state update boundaries so the handling could have produced a
corrupted control stream.

That's fixed by using a `relocation_mark` set by the driver to
indicate where a state update was last started, so csb can relocate
the whole update into the new bo and link to it.

Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23520>
2023-06-21 17:44:53 +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: add missing frag to geom dependency for jobs targetting same render target 2023-06-15 16:35:21 +00:00
meson.build pvr: Add support for sampler border colors 2023-06-08 10:33:46 +00:00
pvr_blit.c pvr: Fix csb control stream extension 2023-06-21 17:44:53 +00:00
pvr_blit.h pvr: Publicise some static functions from pvr_blit.c 2023-06-02 14:43:24 +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_border.c pvr: Add support for sampler border colors 2023-06-08 10:33:46 +00:00
pvr_border.h pvr: Add support for sampler border colors 2023-06-08 10:33:46 +00:00
pvr_clear.c pvr: Fix csb control stream extension 2023-06-21 17:44:53 +00:00
pvr_clear.h pvr: Publicise some static functions from pvr_blit.c 2023-06-02 14:43:24 +00:00
pvr_cmd_buffer.c pvr: Fix csb control stream extension 2023-06-21 17:44:53 +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: Fix csb control stream extension 2023-06-21 17:44:53 +00:00
pvr_csb.h pvr: Fix csb control stream extension 2023-06-21 17:44:53 +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: Fix typo causing seg faults copying immutable samplers 2023-06-05 13:06:57 +00:00
pvr_device.c pvr: Add support for sampler border colors 2023-06-08 10:33:46 +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: Rename temps_count to pds_temps_count 2023-06-07 18:01:02 +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 allocation scopes in vkCreateRenderPass2() code path 2023-05-30 10:43:06 +01:00
pvr_hw_pass.h pvr: Remove component_alignment 2023-02-24 14:36:36 +00:00
pvr_image.c pvr: Add pvr_image_view_get_image() 2023-06-02 14:43:24 +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 support for sampler border colors 2023-06-08 10:33:46 +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 support for sampler border colors 2023-06-08 10:33:46 +00:00
pvr_job_render.h pvr: Add support for sampler border colors 2023-06-08 10:33:46 +00:00
pvr_job_transfer.c pvr: fixup assert in pvr_cmd_buffer_alloc_mem 2023-06-08 08:14:04 +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: Fix PDS temps allocation on fragment stage 2023-06-07 18:01:02 +00:00
pvr_pipeline_cache.c
pvr_private.h pvr: Add support for sampler border colors 2023-06-08 10:33:46 +00:00
pvr_query.c pvr: Use pvr_sub_cmd_event union members directly 2023-06-02 14:43:24 +00:00
pvr_query_compute.c pvr: fixup assert in pvr_cmd_buffer_alloc_mem 2023-06-08 08:14:04 +00:00
pvr_queue.c pvr: Cleanup in pvr_process_cmd_buffer() 2023-06-02 14:43:24 +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