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 <Chengjun.Yao@amd.com>
Reviewed-by: Horatio Zhang <Hongkun.Zhang@amd.com>
Part-of: <http://10.67.69.192/wsl/rocr-runtime/-/merge_requests/71>
Этот коммит содержится в:
Chengjun Yao
2025-06-03 17:49:28 +08:00
коммит произвёл Frank Min
родитель c6627102d3
Коммит 13fc35d8de
+2 -1
Просмотреть файл
@@ -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;