diff options
| author | Evan Quan <[email protected]> | 2021-11-17 02:46:24 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-01-14 22:51:14 +0000 |
| commit | 6ddbd37f10749830e0a6ddf839ca4313a007d3f5 (patch) | |
| tree | 9afa0df93554c0da5a3710eaf0702adcc7df36e3 /drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | |
| parent | drm/amd/pm: move pp_force_state_enabled member to amdgpu_pm structure (diff) | |
| download | kernel-6ddbd37f10749830e0a6ddf839ca4313a007d3f5.tar.gz kernel-6ddbd37f10749830e0a6ddf839ca4313a007d3f5.zip | |
drm/amd/pm: optimize the amdgpu_pm_compute_clocks() implementations
Drop cross callings and multi-function APIs. Also avoid exposing
internal implementations details.
Signed-off-by: Evan Quan <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h')
| -rw-r--r-- | drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h b/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h index 7afff23305a5..63302b3aebe0 100644 --- a/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h +++ b/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h @@ -428,8 +428,6 @@ void amdgpu_pm_acpi_event_handler(struct amdgpu_device *adev); int amdgpu_dpm_read_sensor(struct amdgpu_device *adev, enum amd_pp_sensors sensor, void *data, uint32_t *size); -void amdgpu_dpm_thermal_work_handler(struct work_struct *work); - void amdgpu_dpm_compute_clocks(struct amdgpu_device *adev); void amdgpu_dpm_enable_uvd(struct amdgpu_device *adev, bool enable); void amdgpu_dpm_enable_vce(struct amdgpu_device *adev, bool enable); |
