]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add condition to set MP1 state on gpu reset
authorLikun Gao <Likun.Gao@amd.com>
Mon, 18 May 2020 10:19:30 +0000 (18:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 May 2020 16:48:42 +0000 (12:48 -0400)
commitbe64836e2318b6c94f936ba34e808680752b4f68
treee8e7601d4438d71d63468db8a2e17275542e760c
parentca92c455d28f85d6fa2ce938e140193b2b6b0028
drm/amdgpu: add condition to set MP1 state on gpu reset

Only ras supportted need to set MP1 state to prepare for unload before
reloading SMU FW.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c