]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Determine early if a link has supported encoders (v2)
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 26 Sep 2025 18:01:49 +0000 (20:01 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Oct 2025 14:08:58 +0000 (10:08 -0400)
commitc2192872d99b8bc7d1ac2494e850fb6fb6c915eb
treea29acf7e226da508d50c9208adae46309def4df6
parente3ea56e995a425a44870dfa357b8608101a67034
drm/amd/display: Determine early if a link has supported encoders (v2)

Avoid initializing DDC, HPD, etc. when we know that the link is
not going to be constructed because it has no supported encoders.

This is mainly useful for old GPUs which may have encoders such
as TRAVIS and NUTMEG that are not yet supported by DC.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/link_factory.c