diff options
author | Slava Grigorev <slava.grigorev@amd.com> | 2016-01-26 22:56:25 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-01-27 18:48:32 +0100 |
commit | a64c9dab1c4d05c87ec8a1cb9b48915816462143 (patch) | |
tree | 374bfa1bb2f03adba7d22642c0dc8b550ad8933c /drivers/gpu/drm/radeon/radeon_audio.h | |
parent | drm/radeon: cleaned up VCO output settings for DP audio (diff) | |
download | linux-a64c9dab1c4d05c87ec8a1cb9b48915816462143.tar.xz linux-a64c9dab1c4d05c87ec8a1cb9b48915816462143.zip |
drm/radeon: Add a common function for DFS handling
Move encoding of DFS (digital frequency synthesizer) divider into a
separate function and improve calculation precision.
Signed-off-by: Slava Grigorev <slava.grigorev@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_audio.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_audio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_audio.h b/drivers/gpu/drm/radeon/radeon_audio.h index 059cc3012062..5c70cceaa4a6 100644 --- a/drivers/gpu/drm/radeon/radeon_audio.h +++ b/drivers/gpu/drm/radeon/radeon_audio.h @@ -79,5 +79,6 @@ void radeon_audio_fini(struct radeon_device *rdev); void radeon_audio_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode); void radeon_audio_dpms(struct drm_encoder *encoder, int mode); +unsigned int radeon_audio_decode_dfs_div(unsigned int div); #endif |