From: Marek Olšák Date: Fri, 16 Jun 2017 19:07:49 +0000 (+0200) Subject: radeonsi/gfx9: disable sparse buffers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=353b60cab53a732cecc978b6f8777f3032ff0fce;p=mesa.git radeonsi/gfx9: disable sparse buffers Reviewed-by: Nicolai Hähnle --- diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index d4e6d42bc21..fda615e30c4 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. */