From: Marek Olšák Date: Wed, 6 May 2020 19:18:25 +0000 (-0400) Subject: radeonsi: enable ARB_sparse_buffer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ceaf848c564d74bcee14f0cd30b298aef86bd42b;p=mesa.git 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: --- 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;