drm/amdgpu: disable SDMA page queue on Vega20
authorEvan Quan <evan.quan@amd.com>
Mon, 22 Oct 2018 02:33:10 +0000 (10:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:20:58 +0000 (14:20 -0500)
Since we see driver loading failure on Vega20. Keep it
disabled until it's ready.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c

index 96857571fc62885704cd9a7834695e66810dda0e..6367a813316866a966c2020812162898d04fb5f8 100644 (file)
@@ -1464,7 +1464,8 @@ static int sdma_v4_0_early_init(void *handle)
                adev->sdma.has_page_queue = false;
        } else {
                adev->sdma.num_instances = 2;
-               adev->sdma.has_page_queue = true;
+               if (adev->asic_type != CHIP_VEGA20)
+                       adev->sdma.has_page_queue = true;
        }
 
        sdma_v4_0_set_ring_funcs(adev);