summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/stream_encoder.h
diff options
context:
space:
mode:
authorhersen wu <hersenxs.wu@amd.com>2019-01-11 12:43:20 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-01-25 16:15:37 -0500
commitd2c460e7537f003e5bfb1a94c9201bcbeca6949f (patch)
treee32d7c299296d349c0fc2e7edc43b78b19a6d257 /drivers/gpu/drm/amd/display/dc/inc/hw/stream_encoder.h
parent0f74e4849126266b797186a7433701df777af962 (diff)
downloadlinux-stable-d2c460e7537f003e5bfb1a94c9201bcbeca6949f.tar.gz
linux-stable-d2c460e7537f003e5bfb1a94c9201bcbeca6949f.tar.bz2
linux-stable-d2c460e7537f003e5bfb1a94c9201bcbeca6949f.zip
drm/amd/display: Connect dig_fe to otg directly instead of calling bios
[Why] After call bios table crtc_source_select, dal will program fmt again. The bios table program dig_source_select and other fmt register for bios usage which is redundancy and uncessary. [How] Program dig_soruce_select register directly Signed-off-by: hersen wu <hersenxs.wu@amd.com> Reviewed-by: Charlene Liu <Charlene.Liu@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.h4
1 files changed, 4 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 53a9b64df11a..4051493557bc 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
@@ -161,6 +161,10 @@ struct stream_encoder_funcs {
void (*set_avmute)(
struct stream_encoder *enc, bool enable);
+ void (*dig_connect_to_otg)(
+ struct stream_encoder *enc,
+ int tg_inst);
+
};
#endif /* STREAM_ENCODER_H_ */