kernel_samsung_a53x/drivers/gpu/drm/amd/pm/powerplay/hwmgr
Tim Huang b8738df176 drm/amd/pm: ensure the fw_info is not null before using it
[ Upstream commit 186fb12e7a7b038c2710ceb2fb74068f1b5d55a4 ]

This resolves the dereference null return value warning
reported by Coverity.

Signed-off-by: Tim Huang <tim.huang@amd.com>
Reviewed-by: Jesse Zhang <jesse.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:21:41 +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 drm/amd/pm: check negtive return for table entries 2024-11-23 23:20:58 +01: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 drm/amd/pm: ensure the fw_info is not null before using it 2024-11-23 23:21:41 +01: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/amd/pm: Fix the null pointer dereference for vega10_hwmgr 2024-11-23 23:20:59 +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