diff options
| author | Rex Zhu <[email protected]> | 2018-09-29 05:54:33 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-10-09 22:05:53 +0000 |
| commit | 5e161e5442a8a209404542c91eb889487b1239f4 (patch) | |
| tree | 0e694ba58ffc685cb5c879106d1b85f16c3e80ca /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
| parent | drm/amd/pp: Setup SoftRegsStart before request smu load fw (diff) | |
| download | kernel-5e161e5442a8a209404542c91eb889487b1239f4.tar.gz kernel-5e161e5442a8a209404542c91eb889487b1239f4.zip | |
drm/amd/pp: Refine smu7/8 request_smu_load_fw callback function
The request_smu_load_fw of VI is used to load gfx/sdma
ip's firmware.
Check whether the gfx/sdma firmware have been loaded successfully
in this callback function.
if failed, driver can exit to avoid gpu hard hung.
if successful, clean the flag reload_fw to avoid duplicated fw load.
when suspend/resume, driver need to reload fw.
so in suspend, reset the reload_fw flag to true to enable load fw when
resume.
Reviewed-by: Evan Quan <[email protected]>
Signed-off-by: Rex Zhu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions
