kernel_samsung_a53x/drivers/gpu/drm/amd/pm/powerplay/hwmgr
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
..
ci_baco.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ci_baco.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
common_baco.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
common_baco.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fiji_baco.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fiji_baco.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hardwaremanager.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hwmgr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hwmgr_ppt.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
polaris_baco.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
polaris_baco.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pp_overdriver.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pp_overdriver.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pp_psm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pp_psm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ppatomctrl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ppatomctrl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ppatomfwctrl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ppatomfwctrl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ppevvmath.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pppcielanes.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pppcielanes.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pptable_v1_0.h drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga 2024-11-18 11:43:13 +01:00
process_pptables_v1_0.c drm/amd/powerplay: Fix kzalloc parameter 'ATOM_Tonga_PPM_Table' in 'get_platform_power_management_table()' 2024-11-18 12:13:20 +01:00
process_pptables_v1_0.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
processpptables.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
processpptables.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smu7_baco.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smu7_baco.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smu7_clockpowergating.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smu7_clockpowergating.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smu7_dyn_defaults.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smu7_hwmgr.c drm/amdgpu/pm: Fix the null pointer dereference in apply_state_adjust_rules 2024-11-23 23:20:24 +01:00
smu7_hwmgr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smu7_powertune.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smu7_powertune.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smu7_thermal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smu7_thermal.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smu8_hwmgr.c drm/amd/pm: fix uninitialized variable warning for smu8_hwmgr 2024-11-23 23:20:56 +01:00
smu8_hwmgr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smu9_baco.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smu9_baco.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smu10_hwmgr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smu10_hwmgr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smu10_inc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smu_helper.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smu_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tonga_baco.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tonga_baco.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega10_baco.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega10_baco.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega10_hwmgr.c drm/amd/pm: fix warning using uninitialized value of max_vid_step 2024-11-23 23:20:56 +01:00
vega10_hwmgr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega10_inc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega10_powertune.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega10_powertune.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega10_pptable.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega10_processpptables.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega10_processpptables.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega10_thermal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega10_thermal.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega12_baco.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega12_baco.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega12_hwmgr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega12_hwmgr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega12_inc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega12_pptable.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega12_processpptables.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega12_processpptables.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega12_thermal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega12_thermal.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega20_baco.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega20_baco.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega20_hwmgr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega20_hwmgr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega20_inc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega20_powertune.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega20_powertune.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega20_pptable.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega20_processpptables.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega20_processpptables.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega20_thermal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vega20_thermal.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00