kernel_samsung_a53x/drivers/gpu/drm/amd/pm/powerplay/hwmgr
Ma Jun 28a6075e5b drm/amdgpu/pm: Check input value for CUSTOM profile mode setting on legacy SOCs
[ Upstream commit df0a9bd92fbbd3fcafcb2bce6463c9228a3e6868 ]

Check the input value for CUSTOM profile mode setting on legacy
SOCs. Otherwise we may use uninitalized value of input[]

Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:20:58 +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 drm/amd/pm: fix the Out-of-bounds read warning 2024-11-23 23:20:56 +01: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: Check input value for CUSTOM profile mode setting on legacy SOCs 2024-11-23 23:20:58 +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/amdgpu/pm: Fix uninitialized variable agc_btc_response 2024-11-23 23:20:57 +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 drm/amdgpu/pm: Check input value for CUSTOM profile mode setting on legacy SOCs 2024-11-23 23:20:58 +01: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