summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.h
diff options
context:
space:
mode:
authorWenjing Liu <Wenjing.Liu@amd.com>2019-07-10 18:35:18 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-08-15 10:52:59 -0500
commitac42fd639550b386c41d8f3f2dc657d96fde7235 (patch)
tree14f755a6b18b61e03903ae83a67e285d11b52be6 /drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.h
parent38df070135297746804bf8537ac2e8c66bb37bd5 (diff)
downloadlinux-stable-ac42fd639550b386c41d8f3f2dc657d96fde7235.tar.gz
linux-stable-ac42fd639550b386c41d8f3f2dc657d96fde7235.tar.bz2
linux-stable-ac42fd639550b386c41d8f3f2dc657d96fde7235.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.h b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.h
index f585e7b620cc..8b8921e75984 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.h
+++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.h
@@ -615,4 +615,7 @@ void get_audio_clock_info(
uint32_t actual_pixel_clock_100Hz,
struct audio_clock_info *audio_clock_info);
+void enc1_reset_hdmi_stream_attribute(
+ struct stream_encoder *enc);
+
#endif /* __DC_STREAM_ENCODER_DCN10_H__ */