mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
drm/amd/display: reset hdmi tmds rate and data scramble on pipe reset
[why] hdmi data scramble and tmds rate is not reset during pipe reset. [how] reset hdmi tmds rate and data scramble on pipe reset Signed-off-by: Wenjing Liu <Wenjing.Liu@amd.com> Reviewed-by: Chris Park <Chris.Park@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
38df070135
commit
ac42fd6395
@@ -77,6 +77,10 @@ static void virtual_audio_mute_control(
|
||||
struct stream_encoder *enc,
|
||||
bool mute) {}
|
||||
|
||||
static void virtual_stream_encoder_reset_hdmi_stream_attribute(
|
||||
struct stream_encoder *enc)
|
||||
{}
|
||||
|
||||
#ifdef CONFIG_DRM_AMD_DC_DCN2_0
|
||||
#ifdef CONFIG_DRM_AMD_DC_DSC_SUPPORT
|
||||
static void virtual_enc_dp_set_odm_combine(
|
||||
@@ -116,6 +120,7 @@ static const struct stream_encoder_funcs virtual_str_enc_funcs = {
|
||||
|
||||
.audio_mute_control = virtual_audio_mute_control,
|
||||
.set_avmute = virtual_stream_encoder_set_avmute,
|
||||
.hdmi_reset_stream_attribute = virtual_stream_encoder_reset_hdmi_stream_attribute,
|
||||
};
|
||||
|
||||
bool virtual_stream_encoder_construct(
|
||||
|
||||
Reference in New Issue
Block a user