drm/amdgpu: disable gpu reset on Vangogh for now
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Jan 2021 02:57:00 +0000 (21:57 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Jan 2021 19:58:10 +0000 (14:58 -0500)
Until the issues in the SMU firmware are fixed.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Huang Rui <ray.huang@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/nv.c

index 9ae0f2d..51bea40 100644 (file)
@@ -4211,7 +4211,6 @@ bool amdgpu_device_should_recover_gpu(struct amdgpu_device *adev)
                case CHIP_NAVI12:
                case CHIP_SIENNA_CICHLID:
                case CHIP_NAVY_FLOUNDER:
-               case CHIP_VANGOGH:
                        break;
                default:
                        goto disabled;
index b972228..66279f0 100644 (file)
@@ -411,6 +411,10 @@ static int nv_asic_reset(struct amdgpu_device *adev)
        int ret = 0;
        struct smu_context *smu = &adev->smu;
 
+       /* skip reset on vangogh for now */
+       if (adev->asic_type == CHIP_VANGOGH)
+               return 0;
+
        switch (nv_asic_reset_method(adev)) {
        case AMD_RESET_METHOD_BACO:
                dev_info(adev->dev, "BACO reset\n");