diff options
| author | Jiang Liu <gerry@linux.alibaba.com> | 2025-02-07 14:28:51 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 14:01:21 +0100 |
| commit | d1d10bd595539ed82ab59b60249f9bdf0994f678 (patch) | |
| tree | a4d034676a09e2f21e016a9c02d71de87f8e50ce /include | |
| parent | ae5ab1c1ae504f622cc1ff48830a9ed48428146d (diff) | |
| download | linux-d1d10bd595539ed82ab59b60249f9bdf0994f678.tar.gz linux-d1d10bd595539ed82ab59b60249f9bdf0994f678.tar.bz2 linux-d1d10bd595539ed82ab59b60249f9bdf0994f678.zip | |
drm/amdgpu: bail out when failed to load fw in psp_init_cap_microcode()
[ Upstream commit a0a455b4bc7483ad60e8b8a50330c1e05bb7bfcf ]
In function psp_init_cap_microcode(), it should bail out when failed to
load firmware, otherwise it may cause invalid memory access.
Fixes: 07dbfc6b102e ("drm/amd: Use `amdgpu_ucode_*` helpers for PSP")
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
