]> 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)
commit5b338a5eb74cfd72bde3f976723e41613546d74a
treed7a1811603cf13735b633f7d6be29b6c93bf718f
parent46895193f6c27cbd14b9d2d3434eace36a59c63f
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