diff options
| author | Monk Liu <[email protected]> | 2019-07-31 08:47:56 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-08-02 15:17:34 +0000 |
| commit | 482f0e5385805ebbca25a1967da3538773bcdbea (patch) | |
| tree | 84f0c5febfb7a4fac4e7b17404a871b57749f33e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
| parent | drm/amdgpu: fix incorrect judge on sos fw version (diff) | |
| download | kernel-482f0e5385805ebbca25a1967da3538773bcdbea.tar.gz kernel-482f0e5385805ebbca25a1967da3538773bcdbea.zip | |
drm/amdgpu: fix double ucode load by PSP(v3)
previously the ucode loading of PSP was repreated, one executed in
phase_1 init/re-init/resume and the other in fw_loading routine
Avoid this double loading by clearing ip_blocks.status.hw in suspend or reset
prior to the FW loading and any block's hw_init/resume
v2:
still do the smu fw loading since it is needed by bare-metal
v3:
drop the change in reinit_early_sriov, just clear all block's status.hw
in the head place and set the status.hw after hw_init done is enough
Signed-off-by: Monk Liu <[email protected]>
Reviewed-by: Emily Deng <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions
