diff options
author | Evan Quan <evan.quan@amd.com> | 2020-09-30 11:54:01 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-10-09 15:14:36 -0400 |
commit | 3cb9d2416ccdea14c5f1b05b5fdb15d5ebfa386b (patch) | |
tree | d27e0f28c66b0c523c4ac5daa18a66ca45ff1181 /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | 9142c4131a701bbb7de6262eccca1a48ace835c4 (diff) | |
download | linux-3cb9d2416ccdea14c5f1b05b5fdb15d5ebfa386b.tar.bz2 |
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: 02cf91c113ea ("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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions