diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-10-15 08:24:49 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-05-05 03:23:53 +0300 |
commit | 541cd55557a669b8cebcfd4e1393adde645b5890 (patch) | |
tree | 4f4ccf3334633078167d7a3d178baa52303c4237 /drivers/gpu/drm/amd/amdgpu/atombios_crtc.h | |
parent | 6e14e92b3d419a00be6cafa53b0939c7b347c46a (diff) | |
download | linux-541cd55557a669b8cebcfd4e1393adde645b5890.tar.xz |
drm/amdgpu/atom: add SetDCEClock helper
New cmd table for ELM/BAF for setting the dispclock or
dprefclock.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atombios_crtc.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/atombios_crtc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/atombios_crtc.h b/drivers/gpu/drm/amd/amdgpu/atombios_crtc.h index c67083335b13..0eeda8e3bf5c 100644 --- a/drivers/gpu/drm/amd/amdgpu/atombios_crtc.h +++ b/drivers/gpu/drm/amd/amdgpu/atombios_crtc.h @@ -37,6 +37,8 @@ void amdgpu_atombios_crtc_set_dtd_timing(struct drm_crtc *crtc, struct drm_display_mode *mode); void amdgpu_atombios_crtc_set_disp_eng_pll(struct amdgpu_device *adev, u32 dispclk); +u32 amdgpu_atombios_crtc_set_dce_clock(struct amdgpu_device *adev, + u32 freq, u8 clk_type, u8 clk_src); void amdgpu_atombios_crtc_program_pll(struct drm_crtc *crtc, u32 crtc_id, int pll_id, |