diff options
author | Slava Grigorev <slava.grigorev@amd.com> | 2014-12-06 01:59:56 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-01-22 18:42:10 +0300 |
commit | 96ea7afbc256ce7e2b2446909f52dab357942c3c (patch) | |
tree | 5fb9182a64808b71c271d99dfec4a622a8ee2508 /drivers/gpu/drm/radeon/radeon_audio.h | |
parent | a85d682a6578a3bd02c95afb4ef527fa0897bb69 (diff) | |
download | linux-96ea7afbc256ce7e2b2446909f52dab357942c3c.tar.xz |
radeon/audio: consolidate update_avi_infoframe() 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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_audio.h b/drivers/gpu/drm/radeon/radeon_audio.h index 06b80de7cdbe..dc85d53d1587 100644 --- a/drivers/gpu/drm/radeon/radeon_audio.h +++ b/drivers/gpu/drm/radeon/radeon_audio.h @@ -39,6 +39,8 @@ struct radeon_audio_basic_funcs u32 offset, u32 reg, u32 v); void (*enable)(struct radeon_device *rdev, struct r600_audio_pin *pin, u8 enable_mask); + void (*update_avi_infoframe)(struct radeon_device *rdev, u32 offset, + unsigned char *buffer, size_t size); }; struct radeon_audio_funcs @@ -72,5 +74,7 @@ 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); +void radeon_update_avi_infoframe(struct drm_encoder *encoder, void *buffer, + size_t size); #endif |