drm/amdgpu: enable gpu recovery for dimgrey_cavefish
authorTao Zhou <tao.zhou1@amd.com>
Fri, 5 Feb 2021 06:22:23 +0000 (14:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Feb 2021 20:30:25 +0000 (15:30 -0500)
As dimgrey_cavefish driver is stable enough, set gpu recovery as default
in HW hang for dimgrey_cavefish.

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

index b7ebd424bbc7f66440f942c5606e415aa36a53ee..7052dc35d2780154c8be806be4d9e8ab113eb0cb 100644 (file)
@@ -4221,6 +4221,7 @@ bool amdgpu_device_should_recover_gpu(struct amdgpu_device *adev)
                case CHIP_NAVI12:
                case CHIP_SIENNA_CICHLID:
                case CHIP_NAVY_FLOUNDER:
+               case CHIP_DIMGREY_CAVEFISH:
                        break;
                default:
                        goto disabled;