linux/drivers/gpu/drm/amd/pm/swsmu
Evan Quan 44d6e160f6 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")
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reported-by: Dirk Gouders <dirk@gouders.net>
Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-10-09 14:48:56 -04:00
..
smu11 drm/amdgpu/swsmu: fix ARC build errors 2020-10-07 14:44:47 -04:00
smu12 drm/amdgpu/swsmu/smu12: fix force clock handling for mclk 2020-09-29 16:14:03 -04:00
amdgpu_smu.c drm/amd/pm: setup APU dpm clock table in SMU HW initialization 2020-10-09 14:48:56 -04:00
Makefile
smu_cmn.c drm/amd/pm: postpone SOCCLK/UCLK enablement after DAL initialization(V2) 2020-09-17 17:46:13 -04:00
smu_cmn.h drm/amd/pm: postpone SOCCLK/UCLK enablement after DAL initialization(V2) 2020-09-17 17:46:13 -04:00
smu_internal.h drm/amd/pm: drop unnecessary table existence and dpm enablement check 2020-09-17 17:47:33 -04:00