drm/amdgpu: disable SDMA page queue on Vega20

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>
This commit is contained in:
Evan Quan 2018-10-22 10:33:10 +08:00 committed by Alex Deucher
parent 2a85e816cc
commit f783160c27

View 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);