OSDN Git Service

drm/amdgpu: Move amdgpu_ras_recovery_init to after SMU ready.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Fri, 18 Oct 2019 20:15:04 +0000 (16:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Oct 2019 20:50:10 +0000 (16:50 -0400)
commit121a2bc6ae786f59c7327a2b54c8bed5779e67e6
tree47f87ece952cff5fa53a09158da9ccba9ec81739
parentcf52ecc8b677c665807e900316e6a4f28b70fab8
drm/amdgpu: Move amdgpu_ras_recovery_init to after SMU ready.

For Arcturus the I2C traffic is done through SMU tables and so
we must postpone RAS recovery init to after they are ready
which is in amdgpu_device_ip_hw_init_phase2.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c