mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
drm/amd/display: RV stereo support
Fix moving directly from frame packed to frame sequential mode: disable OTG_3D_STRUCTURE_EN if the stereo mode is not frame packed. Signed-off-by: Ken Chalmers <ken.chalmers@amd.com> Reviewed-by: Vitaly Prosyak <Vitaly.Prosyak@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
a67297d4c8
commit
061d349945
@ -1082,11 +1082,11 @@ static void dcn10_enable_stereo(struct timing_generator *tg,
|
||||
REG_UPDATE(OTG_STEREO_CONTROL,
|
||||
OTG_DISABLE_STEREOSYNC_OUTPUT_FOR_DP, 1);
|
||||
|
||||
if (flags->PROGRAM_STEREO && flags->FRAME_PACKED)
|
||||
if (flags->PROGRAM_STEREO)
|
||||
REG_UPDATE_3(OTG_3D_STRUCTURE_CONTROL,
|
||||
OTG_3D_STRUCTURE_EN, 1,
|
||||
OTG_3D_STRUCTURE_V_UPDATE_MODE, 1,
|
||||
OTG_3D_STRUCTURE_STEREO_SEL_OVR, 1);
|
||||
OTG_3D_STRUCTURE_EN, flags->FRAME_PACKED,
|
||||
OTG_3D_STRUCTURE_V_UPDATE_MODE, flags->FRAME_PACKED,
|
||||
OTG_3D_STRUCTURE_STEREO_SEL_OVR, flags->FRAME_PACKED);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user