summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_audio.h
diff options
context:
space:
mode:
authorSlava Grigorev <slava.grigorev@amd.com>2014-12-01 18:02:57 -0500
committerAlex Deucher <alexander.deucher@amd.com>2015-01-22 10:42:05 -0500
commit00a9d4bcf8983a5aefcabf5de26b3cb7f805121c (patch)
tree00d20a224a32d4c2ae27816bbfbbfc9b60b480e7 /drivers/gpu/drm/radeon/radeon_audio.h
parent070a2e63f6ed77d6e8fa533acd5417068274a972 (diff)
downloadlwn-00a9d4bcf8983a5aefcabf5de26b3cb7f805121c.tar.gz
lwn-00a9d4bcf8983a5aefcabf5de26b3cb7f805121c.zip
radeon/audio: consolidate write_speaker_allocation() 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.h3
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 ea3594e3e03c..cc0596f24d9a 100644
--- a/drivers/gpu/drm/radeon/radeon_audio.h
+++ b/drivers/gpu/drm/radeon/radeon_audio.h
@@ -43,6 +43,8 @@ struct radeon_audio_funcs
{
void (*write_sad_regs)(struct drm_encoder *encoder,
struct cea_sad *sads, int sad_count);
+ void (*write_speaker_allocation)(struct drm_encoder *encoder,
+ u8 *sadb, int sad_count);
};
int radeon_audio_init(struct radeon_device *rdev);
@@ -53,5 +55,6 @@ u32 radeon_audio_endpoint_rreg(struct radeon_device *rdev,
void radeon_audio_endpoint_wreg(struct radeon_device *rdev,
u32 offset, u32 reg, u32 v);
void radeon_audio_write_sad_regs(struct drm_encoder *encoder);
+void radeon_audio_write_speaker_allocation(struct drm_encoder *encoder);
#endif