diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2494-drm-amd-display-update-link-type-to-mst-before-topol.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2494-drm-amd-display-update-link-type-to-mst-before-topol.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2494-drm-amd-display-update-link-type-to-mst-before-topol.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2494-drm-amd-display-update-link-type-to-mst-before-topol.patch new file mode 100644 index 00000000..d5c93dc4 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2494-drm-amd-display-update-link-type-to-mst-before-topol.patch @@ -0,0 +1,51 @@ +From deee6a1f1380d2a4ecc7ddc190824a6e72b09b47 Mon Sep 17 00:00:00 2001 +From: Wenjing Liu <Wenjing.Liu@amd.com> +Date: Thu, 21 Sep 2017 18:53:40 -0400 +Subject: [PATCH 2494/4131] drm/amd/display: update link type to mst before + topology discovery + +[Description] +link type is not updated before mst topology discovery. +This causes issue when branch device response to link address after before +the start topology discovery event finishes. + +[Solution] +update link type to mst before topology discovery + +Signed-off-by: Wenjing Liu <Wenjing.Liu@amd.com> +Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> +Acked-by: Harry Wentland <Harry.Wentland@amd.com> +--- + drivers/gpu/drm/amd/display/dc/core/dc_link.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c +index 976f0f1..a58e61b 100644 +--- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c ++++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c +@@ -496,6 +496,7 @@ static void detect_dp( + } + if (is_mst_supported(link)) { + sink_caps->signal = SIGNAL_TYPE_DISPLAY_PORT_MST; ++ link->type = dc_connection_mst_branch; + + /* + * This call will initiate MST topology discovery. Which +@@ -524,12 +525,11 @@ static void detect_dp( + if (reason == DETECT_REASON_BOOT) + boot = true; + +- if (dm_helpers_dp_mst_start_top_mgr( ++ if (!dm_helpers_dp_mst_start_top_mgr( + link->ctx, + link, boot)) { +- link->type = dc_connection_mst_branch; +- } else { + /* MST not supported */ ++ link->type = dc_connection_single; + sink_caps->signal = SIGNAL_TYPE_DISPLAY_PORT; + } + } +-- +2.7.4 + |