linux/drivers/gpu/drm/amd
Colin Ian King 467e00b30d drm/amd/amdgpu: Fix missing error return on kzalloc failure
Currently the kzalloc failure check just sets reports the failure
and sets the variable ret to -ENOMEM, which is not checked later
for this specific error. Fix this by just returning -ENOMEM rather
than setting ret.

Fixes: 4fb9307154 ("drm/amd/amdgpu: remove redundant host to psp cmd buf allocations")
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 1ee9d1a096)
2025-09-03 16:27:56 -04:00
..
acp
amdgpu drm/amd/amdgpu: Fix missing error return on kzalloc failure 2025-09-03 16:27:56 -04:00
amdkfd drm/amdkfd: Destroy KFD debugfs after destroy KFD wq 2025-08-06 16:52:08 -04:00
amdxcp drm/amd: Include <linux/export.h> when needed 2025-06-30 11:53:51 -04:00
display drm/amd/display: Clear the CUR_ENABLE register on DCN314 w/out DPP PG 2025-08-29 11:15:08 -04:00
include drm/amd/pm: Add support to set min ISP clocks 2025-06-24 10:02:44 -04:00
pm drm/amd/amdgpu: disable hwmon power1_cap* for gfx 11.0.3 on vf mode 2025-08-27 14:01:08 -04:00