linux-xiaomi-chiron/drivers/gpu/drm/amd/powerplay
Evan Quan b195152536 drm/amd/pm: setup APU dpm clock table in SMU HW initialization
As the dpm clock table is needed during DC HW initialization.
And that (DC HW initialization) comes before smu_late_init()
where current APU dpm clock table setup is performed. So, NULL
pointer dereference will be triggered. By moving APU dpm clock
table setup to smu_hw_init(), this can be avoided.

Fixes: 02cf91c113 ("drm/amd/powerplay: postpone operations not required for hw setup to late_init")
Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reported-by: Dirk Gouders <dirk@gouders.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-09-30 09:29:00 -04:00
..
hwmgr drm/amd/pm: Removed fixed clock in auto mode DPM 2020-09-29 17:05:02 -04:00
inc drm/amd/powerplay: update swSMU VCN/JPEG PG logics 2020-08-07 17:48:57 -04:00
smumgr drm/amdgpu: Specify get_argument function for ci_smu_funcs 2020-09-03 00:36:37 -04:00
amd_powerplay.c drm/amd/powerplay: perform PG ungate prior to CG ungate 2020-05-06 16:51:15 -04:00
amdgpu_smu.c drm/amd/pm: setup APU dpm clock table in SMU HW initialization 2020-09-30 09:29:00 -04:00
arcturus_ppt.c drm/amd/pm: fix is_dpm_running() run error on 32bit system 2020-09-03 00:33:16 -04:00
arcturus_ppt.h drm/amd/powerplay: update arcturus_ppt.c/h V3 2019-07-30 23:48:33 -05:00
Makefile drm/amd/powerplay: unify swSMU index to asic specific index mapping 2020-07-21 15:37:37 -04:00
navi10_ppt.c drm/amd/pm: fix is_dpm_running() run error on 32bit system 2020-09-03 00:33:16 -04:00
navi10_ppt.h drm/amdgpu/smu: custom pstate profiling clock frequence for navi series asics 2020-01-07 12:01:09 -05:00
renoir_ppt.c drm/amdgpu/swsmu/smu12: fix force clock handling for mclk 2020-09-29 17:09:59 -04:00
renoir_ppt.h drm/amd/powerplay: drop smu_v12_0.c unnecessary wrapper V2 2020-07-15 12:43:38 -04:00
sienna_cichlid_ppt.c drm/amd/pm: enable MP0 DPM for sienna_cichlid 2020-09-03 00:36:02 -04:00
sienna_cichlid_ppt.h drm/amd/powerplay: support to get power index for sienna_cichlid 2020-06-03 13:52:13 -04:00
smu_cmn.c drm/amd/powerplay: off by one bugs in smu_cmn_to_asic_specific_index() 2020-08-06 16:34:56 -04:00
smu_cmn.h drm/amd/powerplay: drop unnecessary message support check(v2) 2020-08-06 16:33:18 -04:00
smu_internal.h drm/amd/powerplay: put VCN/JPEG into PG ungate state before dpm table setup(V3) 2020-08-07 17:50:38 -04:00
smu_v11_0.c drm/amdgpu: enable GFXOFF for navy_flounder 2020-08-06 16:45:46 -04:00
smu_v12_0.c drm/amd/powerplay: tag swSMU code layers 2020-07-21 15:37:38 -04:00