]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix regresstion on SR-IOV gpu reset failed
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 18 Oct 2017 09:19:42 +0000 (17:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Oct 2017 19:27:16 +0000 (15:27 -0400)
commit8cf06653227a90ee6db36251f50c51fe8bcb8cc2
tree6e4b7e06efc6b5cda96866fb0b0cf157e6f60654
parent34218926b5159cf98a47d70cb92bbf0e9d43d22e
drm/amdgpu: fix regresstion on SR-IOV gpu reset failed

fw ucode is corrupted after vf flr by PSP so ucode_init() is
a must in psp_hw_init othewise KIQ/KCQ enabling will fail

Revert "drm/amdgpu: refine code delete duplicated error handling"
This reverts commit e57b87ff828f95efe992468e6d18c2c059b27aa9.
Revert "drm/amdgpu: move amdgpu_ucode_init_bo to amdgpu_device.c"
This reverts commit 815b8f8595148d06a64d2ce4282e8e80dfcb02f1.

Reviewed-by: Monk Liu <monk.liu@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@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_powerplay.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c