From 13fc35d8deeef2f14b87919bef11611cd4571056 Mon Sep 17 00:00:00 2001 From: Chengjun Yao Date: Tue, 3 Jun 2025 17:49:28 +0800 Subject: [PATCH] wsl/hsakmt: Configure Capability Info to Disable alloc mem in dev mem Regardless of whether the HSA_ALLOCATE_QUEUE_DEV_MEM variable is set in the environment, set the dev_mem_queue_buf_ of the region to false. This is due to large BAR PCIe being disabled. Signed-off-by: Chengjun Yao Reviewed-by: Horatio Zhang Part-of: --- version.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/version.cpp b/version.cpp index 2c383027e4..12dd505714 100644 --- a/version.cpp +++ b/version.cpp @@ -51,7 +51,8 @@ hsaKmtGetVersionCapInfo(HsaVersionCapability *VersionCapInfo) { VersionCapInfo->ui64.EventAge = 0; VersionCapInfo->ui64.Scratch = 0; VersionCapInfo->ui64.XNack = 0; - VersionCapInfo->ui64.FineGrainPcie = 0;*/ + VersionCapInfo->ui64.FineGrainPcie = 0; + VersionCapInfo->ui64.Devmemqueuebuf = 0;*/ VersionCapInfo->ui64.VendorPacket = dxg_runtime->enable_vendor_packet;