Mesa (master): radeonsi/gfx9: disable sparse buffers
Marek Olšák
mareko at kemper.freedesktop.org
Mon Jun 19 18:18:45 UTC 2017
Module: Mesa
Branch: master
Commit: 353b60cab53a732cecc978b6f8777f3032ff0fce
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=353b60cab53a732cecc978b6f8777f3032ff0fce
Author: Marek Olšák <marek.olsak at amd.com>
Date: Fri Jun 16 21:07:49 2017 +0200
radeonsi/gfx9: disable sparse buffers
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
---
src/gallium/drivers/radeonsi/si_pipe.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
index d4e6d42bc2..fda615e30c 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -548,6 +548,9 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
sscreen->b.info.drm_minor < 50);
case PIPE_CAP_SPARSE_BUFFER_PAGE_SIZE:
+ /* TODO: GFX9 hangs. */
+ if (sscreen->b.chip_class >= GFX9)
+ return 0;
/* Disable on SI due to VM faults in CP DMA. Enable once these
* faults are mitigated in software.
*/
More information about the mesa-commit
mailing list