radeonsi/gfx9: disable sparse buffers
authorMarek Olšák <marek.olsak@amd.com>
Fri, 16 Jun 2017 19:07:49 +0000 (21:07 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 19 Jun 2017 18:15:36 +0000 (20:15 +0200)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_pipe.c

index d4e6d42bc21221c2ec5079b1fce3702a4ddafe01..fda615e30c41d2d10547f2c1611750f2f1ea2808 100644 (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.
                 */