]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: correct RLC firmwares loading sequence
authorEvan Quan <evan.quan@amd.com>
Mon, 23 Dec 2019 08:13:48 +0000 (16:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2020 16:56:52 +0000 (11:56 -0500)
commit011f87405f0fa53ed7fe2b524fe3df8c4e68b43c
tree0c34d58c20975ced6971a110ba924a4c97fe67e0
parentaadec599490333d8b79770fb77c2b26c264d4ea7
drm/amdgpu: correct RLC firmwares loading sequence

Per confirmation with RLC firmware team, the RLC should
be unhalted after all RLC related firmwares uploaded.
However, in fact the RLC is unhalted immediately after
RLCG firmware uploaded. And that may causes unexpected
PSP hang on loading the succeeding RLC save restore
list related firmwares.
So, we correct the firmware loading sequence to load
RLC save restore list related firmwares before RLCG
ucode. That will help to get around this issue.

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