aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorJunwei Zhang <Jerry.Zhang@amd.com>2018-10-24 04:19:09 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-11-05 14:21:46 -0500
commit1cf03c54b3d89ccbaee45abbbf10c098f23801d5 (patch)
treecc527cbe921c48427478f04a7b775f19bf9cd51e /drivers/gpu/drm/amd/amdgpu
parent965632adc8a4205d26b3e91b18041aba2fc28229 (diff)
drm/amdgpu: disable page queue on SDMA for Vega12
It blocks most of sanity tests, so disable it for now. Tested-by: Chen Gong <Curry.Gong@amd.com> Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-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 2b944db86950..ec1b2f3ec01e 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
@@ -1453,7 +1453,8 @@ static int sdma_v4_0_early_init(void *handle)
1453 adev->sdma.has_page_queue = false; 1453 adev->sdma.has_page_queue = false;
1454 } else { 1454 } else {
1455 adev->sdma.num_instances = 2; 1455 adev->sdma.num_instances = 2;
1456 if (adev->asic_type != CHIP_VEGA20) 1456 if (adev->asic_type != CHIP_VEGA20 &&
1457 adev->asic_type != CHIP_VEGA12)
1457 adev->sdma.has_page_queue = true; 1458 adev->sdma.has_page_queue = true;
1458 } 1459 }
1459 1460