]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Pass proper DAC encoder ID to VBIOS
authorTimur Kristóf <timur.kristof@gmail.com>
Sat, 6 Dec 2025 02:31:02 +0000 (03:31 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Jan 2026 22:00:00 +0000 (17:00 -0500)
commit436d0d22aa7035a9f9b24fb14cd0e84d6571ea87
tree41c59127d358453bf3f64479cee342e2dde48f52
parent5ab75f98fb6314709a2eae5f8c8450276c94425f
drm/amd/display: Pass proper DAC encoder ID to VBIOS

Similarly to the analog_engine field, add a new analog_id field
which contains the encoder ID of the analog encoder that
corresponds to the link encoder.

Previously, the default encoder ID of the link encoder was used,
which meant that we passed the wrong ID in case of DVI-I.

Fixes: 5834c33fd3f6 ("drm/amd/display: Add concept of analog encoders (v2)")
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c
drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h
drivers/gpu/drm/amd/display/dc/link/link_factory.c
drivers/gpu/drm/amd/display/dc/resource/dce110/dce110_resource.c