]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Find link encoder for flexible DIG mapping cases
authorOvidiu Bunea <ovidiu.bunea@amd.com>
Fri, 17 Apr 2026 19:11:12 +0000 (15:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 May 2026 13:56:52 +0000 (09:56 -0400)
commit74ef54e656e7006cfc215e960b0cf2720a7a3d48
tree5447e079679bbb39463ddddc4a25e3ea5237a4ad
parent64b4c4cdfddd31d3a0ec468afccb7ff7cd926682
drm/amd/display: Find link encoder for flexible DIG mapping cases

[why & how]
link->link_enc can only be used to identify the link's link encoder
when the link is not permitted to use flexible link encoder
assignments.

Use the correct function for identifying link encoder and add
function pointer guards before calling them.

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Ovidiu Bunea <ovidiu.bunea@amd.com>
Signed-off-by: James Lin <pinglei.lin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c