Skip to content
Snippets Groups Projects
Commit a5a5929b authored by Jiang Liu's avatar Jiang Liu Committed by Linux Infrastructure
Browse files

drm/amdgpu: bail out when failed to load fw in psp_init_cap_microcode()


In function psp_init_cap_microcode(), it should bail out when failed to
load firmware, otherwise it may cause invalid memory access.

Fixes: 07dbfc6b ("drm/amd: Use `amdgpu_ucode_*` helpers for PSP")
Reviewed-by: default avatarLijo Lazar <lijo.lazar@amd.com>
Signed-off-by: default avatarJiang Liu <gerry@linux.alibaba.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 1c18a21e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment