]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix detection of 4 lane for DPALT
authorHansen <Hansen.Dsouza@amd.com>
Fri, 1 Oct 2021 14:36:15 +0000 (22:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Oct 2021 20:14:17 +0000 (16:14 -0400)
commita7dd50c658f5c5bbc7048322c4049262e72dce91
tree76a7b07ba34488f0b73c9a2384668010d6b18900
parent55fdd8471f10f35630dfd32d780fc143f0e91a9c
drm/amd/display: Fix detection of 4 lane for DPALT

[Why]
DPALT detection for B0 PHY has its own set of RDPCSPIPE registers

[How]
Use RDPCSPIPE registers to detect if DPALT lane is 4 lane

Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Hansen <Hansen.Dsouza@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dio_link_encoder.c
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dio_link_encoder.h