Mesa (master): radeonsi: enable ARB_sparse_buffer
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Jun 9 16:16:42 UTC 2020
Module: Mesa
Branch: master
Commit: ceaf848c564d74bcee14f0cd30b298aef86bd42b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ceaf848c564d74bcee14f0cd30b298aef86bd42b
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed May 6 15:18:25 2020 -0400
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 <bas at basnieuwenhuizen.nl>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5402>
---
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;
More information about the mesa-commit
mailing list