From e9432eb3e0b918d4e11bc496640e6beb34ea3405 Mon Sep 17 00:00:00 2001 From: Mel Henning Date: Wed, 1 Oct 2025 20:11:21 -0400 Subject: [PATCH] nvk/cmd_copy: Use PIPELINED for user transfers Vulkan requires applications to insert any necessary pipeline barriers. Reviewed-by: Mohamed Ahmed Part-of: --- src/nouveau/vulkan/nvk_cmd_copy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nouveau/vulkan/nvk_cmd_copy.c b/src/nouveau/vulkan/nvk_cmd_copy.c index c4ea93fd396..5382d1b71d8 100644 --- a/src/nouveau/vulkan/nvk_cmd_copy.c +++ b/src/nouveau/vulkan/nvk_cmd_copy.c @@ -398,7 +398,7 @@ nvk_CmdCopyBuffer2(VkCommandBuffer commandBuffer, P_NV90B5_LINE_COUNT(p, 1); P_IMMD(p, NV90B5, LAUNCH_DMA, { - .data_transfer_type = DATA_TRANSFER_TYPE_NON_PIPELINED, + .data_transfer_type = DATA_TRANSFER_TYPE_PIPELINED, .multi_line_enable = MULTI_LINE_ENABLE_TRUE, .flush_enable = FLUSH_ENABLE_TRUE, .src_memory_layout = SRC_MEMORY_LAYOUT_PITCH, @@ -941,7 +941,7 @@ nvk_CmdFillBuffer(VkCommandBuffer commandBuffer, P_NV90B5_LINE_COUNT(p, height); P_IMMD(p, NV90B5, LAUNCH_DMA, { - .data_transfer_type = DATA_TRANSFER_TYPE_NON_PIPELINED, + .data_transfer_type = DATA_TRANSFER_TYPE_PIPELINED, .multi_line_enable = height > 1, .flush_enable = FLUSH_ENABLE_TRUE, .src_memory_layout = SRC_MEMORY_LAYOUT_PITCH, @@ -982,7 +982,7 @@ nvk_CmdUpdateBuffer(VkCommandBuffer commandBuffer, P_NV90B5_LINE_COUNT(p, 1); P_IMMD(p, NV90B5, LAUNCH_DMA, { - .data_transfer_type = DATA_TRANSFER_TYPE_NON_PIPELINED, + .data_transfer_type = DATA_TRANSFER_TYPE_PIPELINED, .multi_line_enable = MULTI_LINE_ENABLE_TRUE, .flush_enable = FLUSH_ENABLE_TRUE, .src_memory_layout = SRC_MEMORY_LAYOUT_PITCH,