diff options
author | 2020-12-03 16:50:49 -0500 | |
---|---|---|
committer | 2021-02-26 17:19:08 -0500 | |
commit | bc7d6c12054dcd3d652bf3f62eacab3b6e121f06 (patch) | |
tree | 27ec422db4b1e5740b422ab370ba679708b0f288 /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
parent | amdgpu/pm: Powerplay API for smu , changes to clock and profile mode functions (diff) | |
download | wireguard-linux-bc7d6c12054dcd3d652bf3f62eacab3b6e121f06.tar.xz wireguard-linux-bc7d6c12054dcd3d652bf3f62eacab3b6e121f06.zip |
amdgpu/pm: Powerplay API for smu , changed 4 dpm functions to use API
v2: fix errors and warnings flagged by checkpatch
v3: Context mismatch with revision v3 to patch 0003
New Functions
smu_get_mclk - implementation of the Powerplay API function get_mclk
smu_get_sclk - implementation of the Powerplay API function get_sclk
smu_handle_dpm_task - implementation of the Powerplay API function dispatch_tasks
Modified Functions
smu_dpm_set_power_gate - - modifed arg0 to match Powerplay API set_powergating_by_smu
Other Changes
removed special smu handling in dpm functions and called through Powerplay API
call to smu_dpm_set_power_gate via Powerplay API now locks mutex for UVD and VCE
Signed-off-by: Darren Powell <darren.powell@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions