summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/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/inc/hw/stream_encoder.h
parent38df070135297746804bf8537ac2e8c66bb37bd5 (diff)
downloadlinux-ac42fd639550b386c41d8f3f2dc657d96fde7235.tar.gz
linux-ac42fd639550b386c41d8f3f2dc657d96fde7235.tar.bz2
linux-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/inc/hw/stream_encoder.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/stream_encoder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/stream_encoder.h b/drivers/gpu/drm/amd/display/dc/inc/hw/stream_encoder.h
index ed7d9588b309..38e2c3e7412e 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/stream_encoder.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/stream_encoder.h
@@ -211,6 +211,9 @@ struct stream_encoder_funcs {
struct stream_encoder *enc,
int tg_inst);
+ void (*hdmi_reset_stream_attribute)(
+ struct stream_encoder *enc);
+
#if defined(CONFIG_DRM_AMD_DC_DCN2_0)
#ifdef CONFIG_DRM_AMD_DC_DSC_SUPPORT
void (*dp_set_dsc_config)(