]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amdgpu: disable page queue on SDMA for Vega12
authorJunwei Zhang <Jerry.Zhang@amd.com>
Wed, 24 Oct 2018 08:19:09 +0000 (16:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:21:46 +0000 (14:21 -0500)
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>
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c

index 2b944db8695037175dff65d50aa32e8a9519cf3e..ec1b2f3ec01ee2eeec091b11f1c8ec2ad58d002d 100644 (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;
        }