wsl/hsakmt: add lock for sdma packet processing

Suggested-by: Shane Xiao <shane.xiao@amd.com>
Signed-off-by: Flora Cui <flora.cui@amd.com>
Reviewed-by: Shane Xiao <shane.xiao@amd.com>
Reviewed-by: Shi.Leslie <Yuliang.Shi@amd.com>
Part-of: <http://10.67.69.192/wsl/libhsakmt/-/merge_requests/31>
Este commit está contenido en:
Flora Cui authored and Frank Min committed 2025-11-05 18:53:35 +08:00
1 padre 55fc454b9d
commit 7a67eb90e2
2 files changed
+7 -1

No files matched your search

+1
Ver fichero
@@ -285,6 +285,7 @@ private:
uint64_t rptr_next;
uint64_t doorbell_;
std::queue<std::pair<uint64_t, uint64_t>> wptr_queue_;
std::mutex wptr_queue_lock_;
uint64_t ib_size;
uint64_t ib_start_addr;