diff options
author | Slava Grigorev <slava.grigorev@amd.com> | 2014-12-05 21:38:31 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-01-22 18:42:10 +0300 |
commit | a85d682a6578a3bd02c95afb4ef527fa0897bb69 (patch) | |
tree | f701ab1882ec512584f0b7a5b21575394c0f421c /drivers/gpu/drm/radeon/radeon_audio.h | |
parent | 7991d6650117064ae1d2b215b5cbb4112711ed5e (diff) | |
download | linux-a85d682a6578a3bd02c95afb4ef527fa0897bb69.tar.xz |
radeon/audio: consolidate audio_set_dto() functions
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Slava Grigorev <slava.grigorev@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_audio.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_audio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_audio.h b/drivers/gpu/drm/radeon/radeon_audio.h index 5844993a1edb..06b80de7cdbe 100644 --- a/drivers/gpu/drm/radeon/radeon_audio.h +++ b/drivers/gpu/drm/radeon/radeon_audio.h @@ -51,6 +51,8 @@ struct radeon_audio_funcs struct cea_sad *sads, int sad_count); void (*write_speaker_allocation)(struct drm_encoder *encoder, u8 *sadb, int sad_count); + void (*set_dto)(struct radeon_device *rdev, + struct radeon_crtc *crtc, unsigned int clock); }; int radeon_audio_init(struct radeon_device *rdev); @@ -69,5 +71,6 @@ void radeon_audio_select_pin(struct drm_encoder *encoder); void radeon_audio_enable(struct radeon_device *rdev, struct r600_audio_pin *pin, u8 enable_mask); void radeon_audio_fini(struct radeon_device *rdev); +void radeon_audio_set_dto(struct drm_encoder *encoder, unsigned int clock); #endif |