linux_dsm_epyc7002/drivers/gpu/drm/amd/powerplay/hwmgr
Colin Ian King 63408972e4 drm/amd/powerplay: fix various dereferences of a pointer before it is null checked
There are several occurrances of the pointer hwmgr being dereferenced
before it is null checked.  Fix these by performing the dereference
of hwmgr after it has been null checked.

Addresses-Coverity: ("Dereference before null check")
Fixes: c9ffa427db ("drm/amd/powerplay: enable pp one vf mode for vega10")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-12-18 16:09:05 -05:00
..
ci_baco.c drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
ci_baco.h drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
common_baco.c drm/amdgpu/powerplay: add core support for pre-SOC15 baco 2019-10-15 15:55:31 -04:00
common_baco.h drm/amdgpu/powerplay: add core support for pre-SOC15 baco 2019-10-15 15:55:31 -04:00
fiji_baco.c drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
fiji_baco.h drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
hardwaremanager.c drm/amd/powerplay: enable pp one vf mode for vega10 2019-12-11 15:22:07 -05:00
hwmgr_ppt.h
hwmgr.c drm/amd/powerplay: fix various dereferences of a pointer before it is null checked 2019-12-18 16:09:05 -05:00
Makefile drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
polaris_baco.c drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
polaris_baco.h drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
pp_overdriver.c
pp_overdriver.h
pp_psm.c drm/amd/powerplay: enable pp one vf mode for vega10 2019-12-11 15:22:07 -05:00
pp_psm.h
ppatomctrl.c
ppatomctrl.h
ppatomfwctrl.c
ppatomfwctrl.h
ppevvmath.h
pppcielanes.c
pppcielanes.h
pptable_v1_0.h
process_pptables_v1_0.c drm/amdgpu: remove memset after kzalloc 2019-07-16 13:09:05 -05:00
process_pptables_v1_0.h
processpptables.c
processpptables.h
smu7_baco.c drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
smu7_baco.h drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
smu7_clockpowergating.c
smu7_clockpowergating.h
smu7_dyn_defaults.h
smu7_hwmgr.c drm/amd/powerplay: Remove unneeded variable 'ret' in smu7_hwmgr.c 2019-12-02 17:55:08 -05:00
smu7_hwmgr.h
smu7_powertune.c
smu7_powertune.h
smu7_thermal.c
smu7_thermal.h
smu8_hwmgr.c
smu8_hwmgr.h
smu9_baco.c drm/amdgpu/powerplay: split out common smu9 BACO code 2019-03-05 15:09:33 -05:00
smu9_baco.h drm/amdgpu/powerplay: split out common smu9 BACO code 2019-03-05 15:09:33 -05:00
smu10_hwmgr.c drm/amd/powerplay: Remove unneeded variable 'result' in smu10_hwmgr.c 2019-12-02 17:55:08 -05:00
smu10_hwmgr.h
smu10_inc.h
smu_helper.c drm/amd: drop use of drmP.h in atom.h 2019-06-10 23:00:01 +02:00
smu_helper.h
tonga_baco.c drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
tonga_baco.h drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
vega10_baco.c drm/amdgpu/powerplay: split out common smu9 BACO code 2019-03-05 15:09:33 -05:00
vega10_baco.h drm/amdgpu/powerplay: split out common smu9 BACO code 2019-03-05 15:09:33 -05:00
vega10_hwmgr.c drm/amd/powerplay: enable pp one vf mode for vega10 2019-12-11 15:22:07 -05:00
vega10_hwmgr.h
vega10_inc.h
vega10_powertune.c drm/amd/powerplay: enable pp one vf mode for vega10 2019-12-11 15:22:07 -05:00
vega10_powertune.h
vega10_pptable.h
vega10_processpptables.c drm-misc-next for v5.3: 2019-06-14 11:44:24 +02:00
vega10_processpptables.h drm/amdgpu: Need to set the baco cap before baco reset 2019-05-28 14:47:42 -05:00
vega10_thermal.c
vega10_thermal.h
vega12_baco.c drm/amdgpu/powerplay: split out common smu9 BACO code 2019-03-05 15:09:33 -05:00
vega12_baco.h drm/amdgpu/powerplay: split out common smu9 BACO code 2019-03-05 15:09:33 -05:00
vega12_hwmgr.c drm/amd/powerplay: Remove unneeded variable 'result' in vega12_hwmgr.c 2019-12-02 17:55:08 -05:00
vega12_hwmgr.h drm/amd/powerplay: support SMU metrics table on Vega12 2019-05-24 12:20:47 -05:00
vega12_inc.h drm/amdgpu/powerplay: add BACO support for vega12 2019-03-05 15:09:33 -05:00
vega12_pptable.h
vega12_processpptables.c
vega12_processpptables.h
vega12_thermal.c
vega12_thermal.h
vega20_baco.c drm/amd/powerplay: send EnterBaco msg with argument as RAS recovery flag 2019-10-15 15:49:29 -04:00
vega20_baco.h drm/amd/powerplay: apply Vega20 BACO workaround 2019-03-19 15:36:49 -05:00
vega20_hwmgr.c drm/amd/powerplay: support xgmi pstate setting on powerplay routine V2 2019-11-06 16:27:46 -05:00
vega20_hwmgr.h Linux 5.1-rc5 2019-04-15 15:51:49 +10:00
vega20_inc.h
vega20_powertune.c
vega20_powertune.h
vega20_pptable.h
vega20_processpptables.c drm/amd/powerplay: set max fan target temperature as 105C 2019-03-11 14:28:43 -05:00
vega20_processpptables.h
vega20_thermal.c
vega20_thermal.h