aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
diff options
context:
space:
mode:
authorRex Zhu <[email protected]>2018-09-29 05:54:33 +0000
committerAlex Deucher <[email protected]>2018-10-09 22:05:53 +0000
commit5e161e5442a8a209404542c91eb889487b1239f4 (patch)
tree0e694ba58ffc685cb5c879106d1b85f16c3e80ca /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
parentdrm/amd/pp: Setup SoftRegsStart before request smu load fw (diff)
downloadkernel-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