]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: writing stereo polarity register if swapped
authorMartin Leung <martin.leung@amd.com>
Thu, 27 Feb 2020 19:41:39 +0000 (14:41 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Mar 2020 17:50:15 +0000 (13:50 -0400)
commit7da96356cce3ecc7fe0574148c26b9f9b5e26f00
tree0a1a166d040704458fa37afa4e89cf6a92dfcbe7
parent074bd477ce6f42a02476c66d5831efa344f6fb27
drm/amd/display: writing stereo polarity register if swapped

[why]
on some displays that prefer swapped polarity we were seeing L/R images
swapped because OTG_STEREO_SYNC_OUTPUT_POLARITY would always be mapped
to 0

[how]
fix initial dal3 implementation to properly update the polarity field
according to the crtc_stereo_flags (same as
OTG_STEREO_EYE_FLAG_POLARITY)

Signed-off-by: Martin Leung <martin.leung@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c