drm/amdgpu: force pa_sc_tile_steering_override to 0 for dimgrey_cavefish
authorTao Zhou <tao.zhou1@amd.com>
Fri, 2 Oct 2020 15:45:39 +0000 (11:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Oct 2020 18:00:47 +0000 (14:00 -0400)
pa_sc_tile_steering_override is only programmable for gfx10.0/10.1/10.2, the same as sienna_cichlid.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c

index 9964a1b..99ce69f 100644 (file)
@@ -4642,6 +4642,7 @@ static u32 gfx_v10_0_init_pa_sc_tile_steering_override(struct amdgpu_device *ade
         * pa_sc_tile_steering_override should be set to 0 */
        if (adev->asic_type == CHIP_SIENNA_CICHLID ||
            adev->asic_type == CHIP_NAVY_FLOUNDER ||
+           adev->asic_type == CHIP_DIMGREY_CAVEFISH ||
            adev->asic_type == CHIP_VANGOGH)
                return 0;