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>
This commit is contained in:
Junwei Zhang 2018-10-24 16:19:09 +08:00 committed by Alex Deucher
parent 965632adc8
commit 1cf03c54b3
1 changed files with 2 additions and 1 deletions

View File

@ -1453,7 +1453,8 @@ static int sdma_v4_0_early_init(void *handle)
adev->sdma.has_page_queue = false;
} else {
adev->sdma.num_instances = 2;
if (adev->asic_type != CHIP_VEGA20)
if (adev->asic_type != CHIP_VEGA20 &&
adev->asic_type != CHIP_VEGA12)
adev->sdma.has_page_queue = true;
}