From e2d83014cff0b80bc97755b07449f694b38ab8f7 Mon Sep 17 00:00:00 2001 From: Tim Huang Date: Thu, 13 Nov 2025 15:08:08 +0800 Subject: [PATCH] rocr/dtif: Add ring doorbell for sdma user queue (#1619) Signed-off-by: Tim Huang --- .../runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp index b194dfba53..e423e47cc2 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp @@ -783,7 +783,8 @@ void BlitSdma::UpdateWriteAndDoorbellRegister(uint64_t curr_index, uint6 std::atomic_thread_fence(std::memory_order_release); *reinterpret_cast(queue_resource_.Queue_DoorBell) = new_index; - if (core::Runtime::runtime_singleton_->thunkLoader()->IsDXG()) { + if (core::Runtime::runtime_singleton_->thunkLoader()->IsDXG() || + core::Runtime::runtime_singleton_->thunkLoader()->IsDTIF()) { HSAKMT_CALL(hsaKmtQueueRingDoorbell(queue_resource_.QueueId)); }