diff options
author | Monk Liu <Monk.Liu@amd.com> | 2019-07-31 16:47:56 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-08-02 10:17:34 -0500 |
commit | 482f0e5385805ebbca25a1967da3538773bcdbea (patch) | |
tree | 84f0c5febfb7a4fac4e7b17404a871b57749f33e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 9244d3a6eb45248b07ec2ec084b05b9ef102c588 (diff) |
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 <Monk.Liu@amd.com>
Reviewed-by: Emily Deng <Emily.Deng@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions