mesa/src/broadcom/vulkan
Iago Toral Quiroga f4ec92084e v3dv: fix resume address patching for secondary command buffers
Because we are cloning these into primaries but the cloning is
superficial the command lists in them still point to the original
jobs and therefore paching new addresses would make the packing
code add the BO of the resume address to the original job. This
has two problems:

1. This is probably not what we want since the patching should only
be affecting the clone.
2. The bo_count of the clone job will not be updated accordingly and
we end up with a mismatch that will blow up when we submit.

The solution used here is a big hack, but works for now: we just
specify the address by its full offset rather than a relative
offset from a BO. We already have to add all the BOS in the resume
job manually which will include this the BO for the branch address
too, so this is fine.

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27978>
2024-03-19 12:06:21 +00:00
..
.dir-locals.el
.editorconfig
meson.build v3d,v3d: use new simulator 2024-03-11 10:23:48 +00:00
v3dv_android.c treewide: Remove vulkan/runtime vulkan/util prefix in include path 2024-03-05 19:05:00 +00:00
v3dv_bo.c v3dv/bo: use mtx_lock/unlock on cache_init too 2024-01-22 16:47:08 +01:00
v3dv_bo.h v3dv: ignore imported BOs when tracking BO memory usage 2022-11-11 13:25:28 +00:00
v3dv_cl.c v3dv: rename SECONDARY job type to INCOMPLETE 2024-03-19 12:06:21 +00:00
v3dv_cl.h broadcom: replace redefined ALIGN() macro with common util functions 2023-06-29 21:12:07 +00:00
v3dv_cmd_buffer.c v3dv: rename SECONDARY job type to INCOMPLETE 2024-03-19 12:06:21 +00:00
v3dv_debug.c v3dv/v3d: Fix copyright holder to Raspberry Pi Ltd 2022-02-18 11:50:07 +01:00
v3dv_debug.h v3dv/v3d: Fix copyright holder to Raspberry Pi Ltd 2022-02-18 11:50:07 +01:00
v3dv_descriptor_set.c vulkan,nir: Refactor ycbcr conversion state into a struct 2023-02-06 18:36:29 +00:00
v3dv_device.c v3dv: add a helper to setup a framebuffer for dynamic rendering 2024-03-19 12:06:20 +00:00
v3dv_event.c nir: Drop "SSA" from NIR language 2023-08-12 16:44:41 -04:00
v3dv_formats.c v3dv: refactor to use DETECT_OS_ANDROID instead of ANDROID 2024-02-01 19:29:49 +00:00
v3dv_image.c v3dv: refactor to use DETECT_OS_ANDROID instead of ANDROID 2024-02-01 19:29:49 +00:00
v3dv_limits.h v3d,v3dv: support up to 8 render targets in v7.1+ 2023-10-13 22:37:43 +00:00
v3dv_meta_clear.c v3d,v3dv: don't use max internal bpp for tile sizing in V3D 7.x 2023-10-13 22:37:43 +00:00
v3dv_meta_common.h v3dv/v3d: Fix copyright holder to Raspberry Pi Ltd 2022-02-18 11:50:07 +01:00
v3dv_meta_copy.c treewide: Remove vulkan/runtime vulkan/util prefix in include path 2024-03-05 19:05:00 +00:00
v3dv_pass.c v3dv: add helper to build a render pass for dynamic rendering 2024-03-19 12:06:20 +00:00
v3dv_pipeline.c v3dv: don't assume that pipelines have a render pass 2024-03-19 12:06:21 +00:00
v3dv_pipeline_cache.c treewide: Remove vulkan/runtime vulkan/util prefix in include path 2024-03-05 19:05:00 +00:00
v3dv_private.h v3dv: rename SECONDARY job type to INCOMPLETE 2024-03-19 12:06:21 +00:00
v3dv_query.c v3dv: use the reset performance query user extension 2023-12-14 16:43:13 +00:00
v3dv_queue.c v3dv: implement dynamic rendering resume/suspend 2024-03-19 12:06:21 +00:00
v3dv_uniforms.c v3dv: enable smooth line rendering 2024-03-18 12:09:12 +00:00
v3dv_wsi.c v3dv: disallow image stores on VK_KHR_DISPLAY surfaces 2023-12-13 06:17:15 +00:00
v3dvx_cmd_buffer.c v3dv: fix resume address patching for secondary command buffers 2024-03-19 12:06:21 +00:00
v3dvx_descriptor_set.c v3dv: add support for multi-planar formats, enable YCbCr 2023-01-16 14:10:21 +00:00
v3dvx_device.c v3dv: use new texture shader state rb_swap and reverse fields in v3d 7.x 2023-10-13 22:37:43 +00:00
v3dvx_formats.c treewide: Remove vulkan/runtime vulkan/util prefix in include path 2024-03-05 19:05:00 +00:00
v3dvx_image.c v3dv: use new texture shader state rb_swap and reverse fields in v3d 7.x 2023-10-13 22:37:43 +00:00
v3dvx_meta_common.c v3d,v3dv: don't use max internal bpp for tile sizing in V3D 7.x 2023-10-13 22:37:43 +00:00
v3dvx_pipeline.c v3dv: don't assume that pipelines have a render pass 2024-03-19 12:06:21 +00:00
v3dvx_private.h v3dv: implement dynamic rendering resume/suspend 2024-03-19 12:06:21 +00:00
v3dvx_query.c broadcom: add performance counters for V3D 7.x 2023-10-13 22:37:44 +00:00
v3dvx_queue.c v3d,v3dv: don't use max internal bpp for tile sizing in V3D 7.x 2023-10-13 22:37:43 +00:00