mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 17:20:10 +01:00
radv/rt: Flush CP writes from the common BVH framework with INV_L2 on GFX12
a1b05991("radv/rt: Flush L2 after writing internal node offset on GFX12") did this for radv-internal CP writes - we also need to do this for PLOC sync data initialization which is done in the common framework. Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34178> (cherry picked from commitc1e1d86bd1)
This commit is contained in:
parent
e790a1caa0
commit
0c3b74d562
2 changed files with 7 additions and 1 deletions
|
|
@ -1484,7 +1484,7 @@
|
|||
"description": "radv/rt: Flush CP writes from the common BVH framework with INV_L2 on GFX12",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -662,6 +662,12 @@ radv_write_buffer_cp(VkCommandBuffer commandBuffer, VkDeviceAddress addr, void *
|
|||
static void
|
||||
radv_flush_buffer_write_cp(VkCommandBuffer commandBuffer)
|
||||
{
|
||||
VK_FROM_HANDLE(radv_cmd_buffer, cmd_buffer, commandBuffer);
|
||||
const struct radv_device *device = radv_cmd_buffer_device(cmd_buffer);
|
||||
const struct radv_physical_device *pdev = radv_device_physical(device);
|
||||
|
||||
if (pdev->info.cp_sdma_ge_use_system_memory_scope)
|
||||
cmd_buffer->state.flush_bits |= RADV_CMD_FLAG_INV_L2;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue