diff options
author | Wenjing Liu <wenjing.liu@amd.com> | 2022-10-20 11:46:33 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-10-24 14:35:34 -0400 |
commit | c859181cfeacf87336fc385c5665444f0e59eafe (patch) | |
tree | ee56834c8af6e5cd3d04d0b5bbf5c4affb269e25 /drivers/gpu/drm/amd/display/dc/inc/link_hwss.h | |
parent | 14e2739c3695734bb4f5a0deca6fff4e10e5ef5d (diff) | |
download | linux-c859181cfeacf87336fc385c5665444f0e59eafe.tar.gz linux-c859181cfeacf87336fc385c5665444f0e59eafe.tar.bz2 linux-c859181cfeacf87336fc385c5665444f0e59eafe.zip |
drm/amd/display: move stream encoder audio setup to link_hwss
Unify stream encoder audio setup interface.
Tested-by: Mark Broadworth <mark.broadworth@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/link_hwss.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/link_hwss.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/link_hwss.h b/drivers/gpu/drm/amd/display/dc/inc/link_hwss.h index 7a2c8bc280d5..0f69946cce9f 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/link_hwss.h +++ b/drivers/gpu/drm/amd/display/dc/inc/link_hwss.h @@ -38,6 +38,7 @@ struct link_resource; struct pipe_ctx; struct encoder_set_dp_phy_pattern_param; struct link_mst_stream_allocation_table; +struct audio_output; struct link_hwss_ext { /* function pointers below may require to check for NULL if caller @@ -79,6 +80,8 @@ struct link_hwss { void (*disable_link_output)(struct dc_link *link, const struct link_resource *link_res, enum signal_type signal); + void (*setup_audio_output)(struct pipe_ctx *pipe_ctx, + struct audio_output *audio_output, uint32_t audio_inst); void (*enable_audio_packet)(struct pipe_ctx *pipe_ctx); void (*disable_audio_packet)(struct pipe_ctx *pipe_ctx); }; |