diff --git a/.pick_status.json b/.pick_status.json index 63f71cfa91c..3ce361ae32e 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -584,7 +584,7 @@ "description": "ac/gpu_info: Disable sparse VM mappings pre-Polaris, for now", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/amd/common/ac_gpu_info.c b/src/amd/common/ac_gpu_info.c index 77931a636cf..fc3ef1d739f 100644 --- a/src/amd/common/ac_gpu_info.c +++ b/src/amd/common/ac_gpu_info.c @@ -739,8 +739,11 @@ ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info, info->has_eqaa_surface_allocator = info->gfx_level < GFX11; /* Disable sparse mappings on GFX6 due to VM faults in CP DMA. Enable them once * these faults are mitigated in software. + * Disable sparse mappings on GFX7-8 due to GPU hangs in the VK CTS, + * except Polaris where it happens to work "well enough". + * Enable them when these are investigated and fixed in the driver. */ - info->has_sparse_vm_mappings = info->gfx_level >= GFX7; + info->has_sparse_vm_mappings = info->family >= CHIP_POLARIS10; info->has_gang_submit = info->drm_minor >= 49; info->has_gpuvm_fault_query = info->drm_minor >= 55; info->has_tmz_support = device_info.ids_flags & AMDGPU_IDS_FLAGS_TMZ;