Commit 698d0a6f authored by Jimmy Kizito's avatar Jimmy Kizito Committed by Alex Deucher

drm/amd/display: Set DPIA link endpoint type

[why & how]
We will need a way to distinguish physically connected
links and DPIA endpoints.
Reviewed-by: default avatarJun Lei <Jun.Lei@amd.com>
Acked-by: default avatarWayne Lin <Wayne.Lin@amd.com>
Acked-by: default avatarNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarJimmy Kizito <Jimmy.Kizito@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 892b74a6
...@@ -1732,6 +1732,8 @@ static bool dc_link_construct_dpia(struct dc_link *link, ...@@ -1732,6 +1732,8 @@ static bool dc_link_construct_dpia(struct dc_link *link,
init_params->connector_index, init_params->connector_index,
link->connector_signal); link->connector_signal);
link->ep_type = DISPLAY_ENDPOINT_USB4_DPIA;
/* TODO: Initialize link : funcs->link_init */ /* TODO: Initialize link : funcs->link_init */
ddc_service_init_data.ctx = link->ctx; ddc_service_init_data.ctx = link->ctx;
......
...@@ -955,6 +955,7 @@ enum dc_psr_version { ...@@ -955,6 +955,7 @@ enum dc_psr_version {
/* Possible values of display_endpoint_id.endpoint */ /* Possible values of display_endpoint_id.endpoint */
enum display_endpoint_type { enum display_endpoint_type {
DISPLAY_ENDPOINT_PHY = 0, /* Physical connector. */ DISPLAY_ENDPOINT_PHY = 0, /* Physical connector. */
DISPLAY_ENDPOINT_USB4_DPIA, /* USB4 DisplayPort tunnel. */
DISPLAY_ENDPOINT_UNKNOWN = -1 DISPLAY_ENDPOINT_UNKNOWN = -1
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment