summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSridevi Arvindekar <Sridevi.Arvindekar@amd.com>2026-09-25 12:23:37 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-10-07 12:07:18 -0400
commit87a7a99153f5c3636a40a5aef46dde82cd3a9ff4 (patch)
tree6356a94dce7c371fa0528b8b7b4222bf2fcd8202 /drivers
parent3b77aacb15e0e8348f1e702cb930cf0a2b703c15 (diff)
drm/amd/display: Handle virtual link encoder
[Why/How] Fix check for virtual link encoder Reviewed-by: Ilya Bakoulin <ilya.bakoulin@amd.com> Signed-off-by: Sridevi Arvindekar <sridevi.arvindekar@amd.com> Signed-off-by: Roman Li <roman.li@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc_resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
index 7e42790ad575..187486d978da 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
@@ -3019,7 +3019,7 @@ static inline int find_fixed_dio_link_enc(const struct dc_link *link)
{
/* virtual links own their link encoder directly and are never
* registered into pool->link_encoders[]. */
- if (link->connector_signal == SIGNAL_TYPE_VIRTUAL)
+ if (link->link_id.id == CONNECTOR_ID_VIRTUAL)
return -1;
/* the 8b10b dp phy can only use fixed link encoder */