diff options
author | Slava Grigorev <slava.grigorev@amd.com> | 2014-12-06 20:19:16 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-01-22 10:42:11 -0500 |
commit | 64424d6e45aeee311a4231def7e125bcc2de0855 (patch) | |
tree | f7a6692f1f20070df377435c352cd2cd5e60cc48 /drivers/gpu/drm/radeon/radeon_audio.h | |
parent | 96ea7afbc256ce7e2b2446909f52dab357942c3c (diff) | |
download | linux-64424d6e45aeee311a4231def7e125bcc2de0855.tar.bz2 |
radeon/audio: consolidate update_acr() functions (v2)
V2: fix missing dce6 callback
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 dc85d53d1587..a4d055311ab5 100644 --- a/drivers/gpu/drm/radeon/radeon_audio.h +++ b/drivers/gpu/drm/radeon/radeon_audio.h @@ -55,6 +55,8 @@ struct radeon_audio_funcs u8 *sadb, int sad_count); void (*set_dto)(struct radeon_device *rdev, struct radeon_crtc *crtc, unsigned int clock); + void (*update_acr)(struct drm_encoder *encoder, long offset, + const struct radeon_hdmi_acr *acr); }; int radeon_audio_init(struct radeon_device *rdev); @@ -76,5 +78,6 @@ void radeon_audio_fini(struct radeon_device *rdev); void radeon_audio_set_dto(struct drm_encoder *encoder, unsigned int clock); void radeon_update_avi_infoframe(struct drm_encoder *encoder, void *buffer, size_t size); +void radeon_audio_update_acr(struct drm_encoder *encoder, unsigned int clock); #endif |