radeonsi/gfx9: disable sparse buffers

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
Marek Olšák 2017-06-16 21:07:49 +02:00
parent 064f07fef3
commit 353b60cab5
1 changed files with 3 additions and 0 deletions

View File

@ -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.
*/