diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2018-09-29 13:54:33 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-10-09 17:05:53 -0500 |
commit | 5e161e5442a8a209404542c91eb889487b1239f4 (patch) | |
tree | 0e694ba58ffc685cb5c879106d1b85f16c3e80ca /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
parent | 0a821579a2ed44855d63d9a2d2acb61b38ce6354 (diff) |
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 <evan.quan@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions