OSDN Git Service

drm/amdgpu: Enable GPU recovery by default for CI
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Tue, 11 Dec 2018 20:31:35 +0000 (15:31 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Dec 2018 19:26:40 +0000 (14:26 -0500)
I retested Bonaire (gfx7 dGPU) and it works fine.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

index ef36cc5..b60afea 100644 (file)
@@ -3258,6 +3258,8 @@ bool amdgpu_device_should_recover_gpu(struct amdgpu_device *adev)
 
        if (amdgpu_gpu_recovery == -1) {
                switch (adev->asic_type) {
+               case CHIP_BONAIRE:
+               case CHIP_HAWAII:
                case CHIP_TOPAZ:
                case CHIP_TONGA:
                case CHIP_FIJI: