]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix DIG_HPD_SELECT for USB4 display endpoints.
authorJimmy Kizito <Jimmy.Kizito@amd.com>
Mon, 23 Aug 2021 21:23:24 +0000 (17:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Oct 2021 19:52:37 +0000 (15:52 -0400)
commitfcbf700943e08dd6520bb392c1b2c30e3401fc43
treed7a1811603cf13735b633f7d6be29b6c93bf718f
parenta6ff20bbdbcfe0de82541ec9e1f707b8b19adbc8
drm/amd/display: Fix DIG_HPD_SELECT for USB4 display endpoints.

[Why]
DIB_BE_CNTL<i>.DIG_HPD_SELECT selects the HPD block being used
by the display endpoint assigned to DIG<i>. In the case of USB4
display endpoints, no physical HPD block is assigned.

[How]
Setting DIB_BE_CNTL<i>.DIG_HPD_SELECT to 5 indicates that no HPD
is assigned to a display endpoint. Firmware decrements the
HPD_SELECT value by 1 before writing it to the register.

Reviewed-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Acked-by: Wayne Lin <Wayne.Lin@amd.com>
Acked-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Jimmy Kizito <Jimmy.Kizito@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dio_link_encoder.c