]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Refactor DAC load detection, move to HWSS
authorTimur Kristóf <timur.kristof@gmail.com>
Mon, 26 Jan 2026 21:08:28 +0000 (22:08 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Feb 2026 19:28:32 +0000 (14:28 -0500)
commitf7d1c50aecdaafcefc6e83e0b627297b6c633076
tree6fed6c002a7de9f2783b9ed9ae97780f55272b47
parent2e26056f36ebe69608197d6a26a2abb7d11e2aad
drm/amd/display: Refactor DAC load detection, move to HWSS

Slightly refactor and simplify DAC load detection.
This prepares the code to be used for also executing DAC
load detection on external DP bridge encoders.

DAC load detection belongs better in the hardware sequencer
code because the implementation is HW dependent and not all
chips support the functionality. The code is cleaner when
link detection probably doesn't call the VBIOS directly.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/bios/bios_parser.c
drivers/gpu/drm/amd/display/dc/dc_bios_types.h
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/hw_sequencer.h
drivers/gpu/drm/amd/display/dc/link/link_detection.c