]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: panel inst for monitors
authorPeichen Huang <PeiChen.Huang@amd.com>
Wed, 24 Dec 2025 06:39:52 +0000 (14:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Jan 2026 22:19:16 +0000 (17:19 -0500)
commit942782883955b52f399b99ec6f0e6af2c7e8d440
treebd73fa16c973e7143979c5d7a21591a74db1d0bb
parent1417281ca89c7f39eb91a8cd77e2fd9c25f3bb77
drm/amd/display: panel inst for monitors

[WHY]
To find proper panel replay panel inst for external monitors.

[HOW]
Use otg index as panel replay panel inst.
Both Replay features use the same logic to get panel inst.
Correct the bug that would overwrite panel inst in cmd

Reviewed-by: Robin Chen <robin.chen@amd.com>
Signed-off-by: Peichen Huang <PeiChen.Huang@amd.com>
Signed-off-by: Matthew Stewart <matthew.stewart2@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_panel_replay.c
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c