kernel_samsung_a53x/drivers/gpu/drm/amd
Jesse Zhang 0c2d2f70f5 drm/amd/pm: fix warning using uninitialized value of max_vid_step
[ Upstream commit 17e3bea65cdc453695b2fe4ff26d25d17f5339e9 ]

Check the return of pp_atomfwctrl_get_Voltage_table_v4
as it may fail to initialize max_vid_step
V2: change the check condition (Tim Huang)

Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Reviewed-by: Tim Huang <Tim.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:20:56 +01:00
..
acp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amdgpu drm/amdgpu: fix overflowed array index read warning 2024-11-23 23:20:56 +01:00
amdkfd drm/amdkfd: don't allow mapping the MMIO HDP page with large pages 2024-11-23 23:20:53 +01:00
display Revert "drm/amd/display: Validate hw_points_num before using it" 2024-11-23 23:20:50 +01:00
include drm/amdgpu/atomfirmware: silence UBSAN warning 2024-11-19 14:19:42 +01:00
pm drm/amd/pm: fix warning using uninitialized value of max_vid_step 2024-11-23 23:20:56 +01:00