diff options
author | Rex Zhu | 2018-08-24 10:17:54 +0200 |
---|---|---|
committer | Alex Deucher | 2018-08-27 22:11:09 +0200 |
commit | 3442516d14816b862bf7d1150c84ef1d0bfdd915 (patch) | |
tree | 4fe0b943e4bfa934cb0030b79034430a52a98496 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
parent | drm/amdgpu: Fix vce initialize failed on Kaveri/Mullins (diff) | |
download | kernel-qcow2-linux-3442516d14816b862bf7d1150c84ef1d0bfdd915.tar.gz kernel-qcow2-linux-3442516d14816b862bf7d1150c84ef1d0bfdd915.tar.xz kernel-qcow2-linux-3442516d14816b862bf7d1150c84ef1d0bfdd915.zip |
drm/amdgpu: Update power state at the end of smu hw_init.
For SI/Kv, the power state is managed by function
amdgpu_pm_compute_clocks.
when dpm enabled, we should call amdgpu_pm_compute_clocks
to update current power state instand of set boot state.
this change can fix the oops when kfd driver was enabled on Kv.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions