diff options
author | Slava Grigorev <slava.grigorev@amd.com> | 2014-12-09 17:17:35 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-01-22 10:42:15 -0500 |
commit | 3be2e7d0e705621c1bb41eeabb63b122d50ecff3 (patch) | |
tree | 147fe4a869b69221a02d849410c0b456ee82f1da /drivers/gpu/drm/radeon/radeon_audio.h | |
parent | 1852c9a09a25aad40c80b0012ad19379b1fb78be (diff) | |
download | blackbird-obmc-linux-3be2e7d0e705621c1bb41eeabb63b122d50ecff3.tar.gz blackbird-obmc-linux-3be2e7d0e705621c1bb41eeabb63b122d50ecff3.zip |
radeon/audio: moved mute programming to a separate function
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_audio.h b/drivers/gpu/drm/radeon/radeon_audio.h index cefe45716386..5ca5e7edc680 100644 --- a/drivers/gpu/drm/radeon/radeon_audio.h +++ b/drivers/gpu/drm/radeon/radeon_audio.h @@ -60,6 +60,7 @@ struct radeon_audio_funcs void (*set_avi_packet)(struct radeon_device *rdev, u32 offset, unsigned char *buffer, size_t size); void (*set_audio_packet)(struct drm_encoder *encoder, u32 offset); + void (*set_mute)(struct drm_encoder *encoder, u32 offset, bool mute); }; int radeon_audio_init(struct radeon_device *rdev); @@ -85,5 +86,6 @@ void radeon_audio_update_acr(struct drm_encoder *encoder, unsigned int clock); void radeon_audio_set_vbi_packet(struct drm_encoder *encoder); void radeon_hdmi_set_color_depth(struct drm_encoder *encoder); void radeon_audio_set_audio_packet(struct drm_encoder *encoder); +void radeon_audio_set_mute(struct drm_encoder *encoder, bool mute); #endif |