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>
此提交包含在:
+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;
|
||||
|
||||
|
||||
新增問題並參考
封鎖使用者