Commit d8a8258e authored by Eric Bernstein's avatar Eric Bernstein Committed by Alex Deucher

drm/amd/display: Update virtual stream encoder

Signed-off-by: default avatarEric Bernstein <eric.bernstein@amd.com>
Reviewed-by: default avatarDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: default avatarAurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 734e4c97
...@@ -87,6 +87,17 @@ static void virtual_enc_dp_set_odm_combine( ...@@ -87,6 +87,17 @@ static void virtual_enc_dp_set_odm_combine(
bool odm_combine) bool odm_combine)
{} {}
static void virtual_dig_connect_to_otg(
struct stream_encoder *enc,
int tg_inst)
{}
static void virtual_setup_stereo_sync(
struct stream_encoder *enc,
int tg_inst,
bool enable)
{}
static const struct stream_encoder_funcs virtual_str_enc_funcs = { static const struct stream_encoder_funcs virtual_str_enc_funcs = {
.dp_set_odm_combine = .dp_set_odm_combine =
virtual_enc_dp_set_odm_combine, virtual_enc_dp_set_odm_combine,
...@@ -114,6 +125,8 @@ static const struct stream_encoder_funcs virtual_str_enc_funcs = { ...@@ -114,6 +125,8 @@ static const struct stream_encoder_funcs virtual_str_enc_funcs = {
.audio_mute_control = virtual_audio_mute_control, .audio_mute_control = virtual_audio_mute_control,
.set_avmute = virtual_stream_encoder_set_avmute, .set_avmute = virtual_stream_encoder_set_avmute,
.hdmi_reset_stream_attribute = virtual_stream_encoder_reset_hdmi_stream_attribute, .hdmi_reset_stream_attribute = virtual_stream_encoder_reset_hdmi_stream_attribute,
.dig_connect_to_otg = virtual_dig_connect_to_otg,
.setup_stereo_sync = virtual_setup_stereo_sync,
}; };
bool virtual_stream_encoder_construct( bool virtual_stream_encoder_construct(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment