summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorEvan Quan2018-10-22 04:33:10 +0200
committerAlex Deucher2018-11-05 20:20:58 +0100
commitf783160c273485af492874b227f60e4e189106f7 (patch)
tree6d65f72b0c0ea533a93590dc2f88a2cfb306293f /drivers/gpu/drm
parentdrm/amdgpu/sdma4: APUs do not have a page queue (diff)
downloadkernel-qcow2-linux-f783160c273485af492874b227f60e4e189106f7.tar.gz
kernel-qcow2-linux-f783160c273485af492874b227f60e4e189106f7.tar.xz
kernel-qcow2-linux-f783160c273485af492874b227f60e4e189106f7.zip
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>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
index 96857571fc62..6367a8133168 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
@@ -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);