rocr/dtif: Add ring doorbell for sdma user queue (#1619)

Signed-off-by: Tim Huang <tim.huang@amd.com>
Этот коммит содержится в:
Tim Huang
2025-11-13 15:08:08 +08:00
коммит произвёл GitHub
родитель 061948a5ec
Коммит e2d83014cf
+2 -1
Просмотреть файл
@@ -783,7 +783,8 @@ void BlitSdma<useGCR>::UpdateWriteAndDoorbellRegister(uint64_t curr_index, uint6
std::atomic_thread_fence(std::memory_order_release);
*reinterpret_cast<uint64_t*>(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));
}