mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-19 09:18:10 +02:00
In case of mcbp, shadowed_regs is initialized early in radv_queue_init() function by submitting the command buffer. The command buffer is submitted in radv_init_shadowed_regs_buffer_state() function. When RADV_DEBUG=noibs is used radv_amdgpu_winsys_cs_submit_sysmem() function is used to submit command buffer. radv_amdgpu_winsys_cs_submit_sysmem() crashes here because initial_preamble_cs is NULL. This patch fixes the radv_amdgpu_winsys_cs_submit_sysmem() function to support NULL initial_preamble_cs. Signed-off-by: Yogesh Mohan Marimuthu <yogesh.mohanmarimuthu@amd.com> Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18301> |
||
|---|---|---|
| .. | ||
| addrlib | ||
| ci | ||
| common | ||
| compiler | ||
| drm-shim | ||
| llvm | ||
| registers | ||
| vulkan | ||
| .clang-format | ||
| meson.build | ||