mirror_ubuntu-kernels/drivers/gpu/drm/amd/pm
Darren Powell 9ab5001a99 amdgpu/pm: Powerplay API for smu , changed 5 dpm powergating & sensor functions to use API
v2: add comment to highlight assignment that changes uint32_t value to int
    fix errors flagged by checkpatch.pl

New Functions
  smu_get_baco_capability() - Implement Powerplay API get_asic_baco_capability
  smu_baco_set_state()      - Implement Powerplay API set_asic_baco_state

Modified Functions
  smu_read_sensor() - modifed signature to match Powerplay API read_sensor

Other Changes
  added 3 above smu Powerplay functions to swsmu_dpm_funcs
  removed special smu handling in 5 dpm functions and called through Powerplay API

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>
2021-02-26 17:18:01 -05:00
..
inc amdgpu/pm: Powerplay API for smu , changed 5 dpm powergating & sensor functions to use API 2021-02-26 17:18:01 -05:00
powerplay drm/amd/pm: do not issue message while write "r" into pp_od_clk_voltage 2021-02-18 16:43:11 -05:00
swsmu amdgpu/pm: Powerplay API for smu , changed 5 dpm powergating & sensor functions to use API 2021-02-26 17:18:01 -05:00
amdgpu_dpm.c amdgpu/pm: Powerplay API for smu , changed 5 dpm powergating & sensor functions to use API 2021-02-26 17:18:01 -05:00
amdgpu_pm.c amdgpu/pm: Powerplay API for smu , changed 9 pm power functions to use API 2021-02-26 17:17:15 -05:00
Makefile