mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 21:40:08 +01:00
ac/gpu_info: Disable sparse VM mappings pre-Polaris, for now
Disable sparse mappings on GFX7-8 due to GPU hangs in the VK CTS,
except Polaris where it happens to work "well enough" to pass
the VK CTS and run some games already.
Cc: mesa-stable
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit 567e1b56ef)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38803>
This commit is contained in:
parent
1f6d6533c0
commit
1cbce7ea76
2 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue