mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
drm/amd/display: Allow for sharing of some link and audio link functions
[Why&How] Allow for sharing of some link and audio link functions by removing static keyword from function definitions. Expose those functions in the HWSEQ header. Reviewed-by: Alvin Lee <alvin.lee2@amd.com> Signed-off-by: Relja Vojvodic <rvojvodi@amd.com> Signed-off-by: Ivan Lipski <ivan.lipski@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
9571dbaf98
commit
7af124772f
|
|
@ -1270,7 +1270,7 @@ void dce110_set_avmute(struct pipe_ctx *pipe_ctx, bool enable)
|
|||
pipe_ctx->stream_res.stream_enc->funcs->set_avmute(pipe_ctx->stream_res.stream_enc, enable);
|
||||
}
|
||||
|
||||
static enum audio_dto_source translate_to_dto_source(enum controller_id crtc_id)
|
||||
enum audio_dto_source translate_to_dto_source(enum controller_id crtc_id)
|
||||
{
|
||||
switch (crtc_id) {
|
||||
case CONTROLLER_ID_D0:
|
||||
|
|
@ -1290,7 +1290,7 @@ static enum audio_dto_source translate_to_dto_source(enum controller_id crtc_id)
|
|||
}
|
||||
}
|
||||
|
||||
static void populate_audio_dp_link_info(
|
||||
void populate_audio_dp_link_info(
|
||||
const struct pipe_ctx *pipe_ctx,
|
||||
struct audio_dp_link_info *dp_link_info)
|
||||
{
|
||||
|
|
@ -2253,7 +2253,7 @@ static bool should_enable_fbc(struct dc *dc,
|
|||
/*
|
||||
* Enable FBC
|
||||
*/
|
||||
static void enable_fbc(
|
||||
void enable_fbc(
|
||||
struct dc *dc,
|
||||
struct dc_state *context)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -114,5 +114,12 @@ void build_audio_output(
|
|||
struct dc_state *state,
|
||||
const struct pipe_ctx *pipe_ctx,
|
||||
struct audio_output *audio_output);
|
||||
enum audio_dto_source translate_to_dto_source(enum controller_id crtc_id);
|
||||
void populate_audio_dp_link_info(
|
||||
const struct pipe_ctx *pipe_ctx,
|
||||
struct audio_dp_link_info *dp_link_info);
|
||||
void enable_fbc(
|
||||
struct dc *dc,
|
||||
struct dc_state *context);
|
||||
#endif /* __DC_HWSS_DCE110_H__ */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user