diff options
author | Slava Grigorev <slava.grigorev@amd.com> | 2014-12-03 23:29:53 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-01-22 18:42:08 +0300 |
commit | 8bf598207efb35ea17075b11bf116043c18aca40 (patch) | |
tree | 22f33e3df794f6117eda5053ddc420963475d46a /drivers/gpu/drm/radeon/radeon_audio.h | |
parent | 88252d7728f414a838f6a7cfbe895ba708e8d26d (diff) | |
download | linux-8bf598207efb35ea17075b11bf116043c18aca40.tar.xz |
radeon/audio: consolidate audio_enable() 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 36d329a413c1..2bd845de8d4d 100644 --- a/drivers/gpu/drm/radeon/radeon_audio.h +++ b/drivers/gpu/drm/radeon/radeon_audio.h @@ -37,6 +37,8 @@ struct radeon_audio_basic_funcs u32 (*endpoint_rreg)(struct radeon_device *rdev, u32 offset, u32 reg); void (*endpoint_wreg)(struct radeon_device *rdev, u32 offset, u32 reg, u32 v); + void (*enable)(struct radeon_device *rdev, + struct r600_audio_pin *pin, u8 enable_mask); }; struct radeon_audio_funcs @@ -64,5 +66,7 @@ void radeon_audio_write_latency_fields(struct drm_encoder *encoder, struct drm_display_mode *mode); struct r600_audio_pin *radeon_audio_get_pin(struct drm_encoder *encoder); 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); #endif |