wsl/hsakmt: Configure Capability Info to Disable Fine-Grained VRAM Management

This fix is for Unit_cache_coherency_cpu_gpu. Regardless of whether the
HSA_FORCE_FINE_GRAIN_PCIE variable is set in the environment, set the user_visible
of the region to false. This applies to the functionality of exposing VRAM as
uncached/fine grain over PCIe or XGMI.

Signed-off-by: Horatio Zhang <Hongkun.Zhang@amd.com>
Reviewed-by: Flora Cui <flora.cui@amd.com>
Part-of: <http://10.67.69.192/wsl/rocr-runtime/-/merge_requests/34>
此提交包含在:
Horatio Zhang
2025-02-17 18:26:32 +08:00
提交者 Frank Min
父節點 ee73fc046e
當前提交 914a8ecbc0
+2 -1
查看文件
@@ -49,7 +49,8 @@ hsaKmtGetVersionCapInfo(HsaVersionCapability *VersionCapInfo) {
VersionCapInfo->ui64.Image = 0;
VersionCapInfo->ui64.EventAge = 0;
VersionCapInfo->ui64.Scratch = 0;
VersionCapInfo->ui64.XNack = 0;*/
VersionCapInfo->ui64.XNack = 0;
VersionCapInfo->ui64.FineGrainPcie = 0;*/
VersionCapInfo->ui64.VendorPacket = enable_vendor_packet;