diff options
author | Charlene Liu <charlene.liu@amd.com> | 2018-10-19 16:03:57 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-11-05 14:21:43 -0500 |
commit | 5e2b2fbc4d99bee493f171ca73e80c6006b35f80 (patch) | |
tree | 68e7ea79b19ce4a8ad6d70553a54ee0ac89fb663 /drivers/gpu | |
parent | ba45df4cb7193570e9fa4979b198ec313899417c (diff) |
drm/amd/display: remove CRTC_3D_STRUCTURE_V_UPDATE_MODE bit programming.
[Description]
This is based on HW programming guide update.
Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c index 47f80e0e8be8..7d1f66797cb3 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c | |||
@@ -87,9 +87,8 @@ static void optc1_disable_stereo(struct timing_generator *optc) | |||
87 | REG_SET(OTG_STEREO_CONTROL, 0, | 87 | REG_SET(OTG_STEREO_CONTROL, 0, |
88 | OTG_STEREO_EN, 0); | 88 | OTG_STEREO_EN, 0); |
89 | 89 | ||
90 | REG_SET_3(OTG_3D_STRUCTURE_CONTROL, 0, | 90 | REG_SET_2(OTG_3D_STRUCTURE_CONTROL, 0, |
91 | OTG_3D_STRUCTURE_EN, 0, | 91 | OTG_3D_STRUCTURE_EN, 0, |
92 | OTG_3D_STRUCTURE_V_UPDATE_MODE, 0, | ||
93 | OTG_3D_STRUCTURE_STEREO_SEL_OVR, 0); | 92 | OTG_3D_STRUCTURE_STEREO_SEL_OVR, 0); |
94 | } | 93 | } |
95 | 94 | ||
@@ -1154,9 +1153,8 @@ static void optc1_enable_stereo(struct timing_generator *optc, | |||
1154 | OTG_DISABLE_STEREOSYNC_OUTPUT_FOR_DP, 1); | 1153 | OTG_DISABLE_STEREOSYNC_OUTPUT_FOR_DP, 1); |
1155 | 1154 | ||
1156 | if (flags->PROGRAM_STEREO) | 1155 | if (flags->PROGRAM_STEREO) |
1157 | REG_UPDATE_3(OTG_3D_STRUCTURE_CONTROL, | 1156 | REG_UPDATE_2(OTG_3D_STRUCTURE_CONTROL, |
1158 | OTG_3D_STRUCTURE_EN, flags->FRAME_PACKED, | 1157 | OTG_3D_STRUCTURE_EN, flags->FRAME_PACKED, |
1159 | OTG_3D_STRUCTURE_V_UPDATE_MODE, flags->FRAME_PACKED, | ||
1160 | OTG_3D_STRUCTURE_STEREO_SEL_OVR, flags->FRAME_PACKED); | 1158 | OTG_3D_STRUCTURE_STEREO_SEL_OVR, flags->FRAME_PACKED); |
1161 | 1159 | ||
1162 | } | 1160 | } |