From bf818a2e75e68cf4198fa5439157187fe42f0335 Mon Sep 17 00:00:00 2001 From: Flora Cui Date: Mon, 23 Jun 2025 16:45:58 +0800 Subject: [PATCH] librocdxg: update rocr queue type to amd_queue_v2_t Signed-off-by: Flora Cui --- wddm/cmd_util.h | 2 +- wddm/queue.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wddm/cmd_util.h b/wddm/cmd_util.h index 491c56e445..5826c34afe 100644 --- a/wddm/cmd_util.h +++ b/wddm/cmd_util.h @@ -19,7 +19,7 @@ struct DispatchInfo { void *pEntry; const amd_kernel_code_t *pKernelObject; uint32_t ldsBlks; - amd_queue_t *pAmdQueue; + amd_queue_v2_t *pAmdQueue; bool wave32; uint32_t srd; void *pScratchBase; diff --git a/wddm/queue.h b/wddm/queue.h index 928ce98893..59da825ec2 100644 --- a/wddm/queue.h +++ b/wddm/queue.h @@ -237,8 +237,8 @@ private: uint64_t GetKernelObjAddr(uint64_t addr) const; void InitScratchSRD(); GpuMemoryHandle amd_queue_mem_; - amd_queue_t *amd_queue_; - amd_queue_t *amd_queue_rocr_; + amd_queue_v2_t *amd_queue_; + amd_queue_v2_t *amd_queue_rocr_; uint64_t doorbell_signal_value_; volatile std::atomic *error_code_; std::thread aql_to_pm4_thread_;