From ceaf848c564d74bcee14f0cd30b298aef86bd42b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 6 May 2020 15:18:25 -0400 Subject: [PATCH] radeonsi: enable ARB_sparse_buffer This seems to be working now, but it wasn't working before. I don't know what fixed this. Tested on Raven and Navi14. Reviewed-by: Bas Nieuwenhuizen Acked-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/amd/common/ac_gpu_info.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/amd/common/ac_gpu_info.c b/src/amd/common/ac_gpu_info.c index c1510c3c4f8..a8a43fdc8ee 100644 --- a/src/amd/common/ac_gpu_info.c +++ b/src/amd/common/ac_gpu_info.c @@ -494,11 +494,8 @@ bool ac_query_gpu_info(int fd, void *dev_p, info->has_unaligned_shader_loads = info->chip_class != GFX6; /* 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 GFX9 due to hangs. */ - info->has_sparse_vm_mappings = - info->chip_class >= GFX7 && info->chip_class <= GFX8 && - info->drm_minor >= 13; + info->has_sparse_vm_mappings = info->chip_class >= GFX7 && info->drm_minor >= 13; info->has_2d_tiling = true; info->has_read_registers_query = true; info->has_scheduled_fence_dependency = info->drm_minor >= 28; -- 2.30.2