]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: dpia should avoid encoder used by dp2
authorPeichen Huang <PeiChen.Huang@amd.com>
Tue, 4 Feb 2025 08:00:40 +0000 (16:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Feb 2025 20:14:24 +0000 (15:14 -0500)
commit73e686939cb9152751791e518172c37eb31668d6
treed7ce1a0de9abfa31288a62ce7137d93fb912d273
parent72d7a7fa1f2404fd31c84a8f808b1b37021a3a9e
drm/amd/display: dpia should avoid encoder used by dp2

[WHY]
In current HPO DP2 implementation, driver would enable/disable DIG
encoder when configuring HPO DP2. Therefore, usb4 dp tunnelling should
not use the DIG encoder if the corresponded phy is used by a HPO DP2
stream.

[HOW]
A DP2 stream is treated as a dig stream.

Reviewed-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Signed-off-by: Peichen Huang <PeiChen.Huang@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_enc_cfg.c