Commit f783160c authored by Evan Quan's avatar Evan Quan Committed by Alex Deucher

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: default avatarEvan Quan <evan.quan@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 2a85e816
...@@ -1464,7 +1464,8 @@ static int sdma_v4_0_early_init(void *handle) ...@@ -1464,7 +1464,8 @@ static int sdma_v4_0_early_init(void *handle)
adev->sdma.has_page_queue = false; adev->sdma.has_page_queue = false;
} else { } else {
adev->sdma.num_instances = 2; 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); sdma_v4_0_set_ring_funcs(adev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment