diff options
| author | Evan Quan <[email protected]> | 2020-09-30 03:54:01 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-10-09 18:48:56 +0000 |
| commit | 44d6e160f60abed717c3ec7d34d49d434f65ef62 (patch) | |
| tree | f15bde7972b020ebac71cb63b45820d474887361 /drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | |
| parent | drm/amdgpu: modify cp_flags to pg_flags in gfx_v10_cntl_power_gating (diff) | |
| download | kernel-44d6e160f60abed717c3ec7d34d49d434f65ef62.tar.gz kernel-44d6e160f60abed717c3ec7d34d49d434f65ef62.zip | |
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 <[email protected]>
Reported-by: Dirk Gouders <[email protected]>
Acked-by: Nirmoy Das <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c')
0 files changed, 0 insertions, 0 deletions
