diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0535-drm-amd-dal-Reset-DPCD-sink-count-on-disconnect.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0535-drm-amd-dal-Reset-DPCD-sink-count-on-disconnect.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0535-drm-amd-dal-Reset-DPCD-sink-count-on-disconnect.patch b/common/recipes-kernel/linux/files/0535-drm-amd-dal-Reset-DPCD-sink-count-on-disconnect.patch new file mode 100644 index 00000000..8ac9c230 --- /dev/null +++ b/common/recipes-kernel/linux/files/0535-drm-amd-dal-Reset-DPCD-sink-count-on-disconnect.patch @@ -0,0 +1,30 @@ +From 9990c805161886a9afccff039e99ffbaf9cd3fc9 Mon Sep 17 00:00:00 2001 +From: Eric Yang <eric.yang2@amd.com> +Date: Fri, 27 Nov 2015 12:22:36 -0500 +Subject: [PATCH 0535/1110] drm/amd/dal: Reset DPCD sink count on disconnect + +This fixes active dongle downstream hotplug + +Signed-off-by: Eric Yang <eric.yang2@amd.com> +Signed-off-by: Harry Wentland <harry.wentland@amd.com> +Acked-by: Harry Wentland <harry.wentland@amd.com> +--- + drivers/gpu/drm/amd/dal/dc/core/dc_link.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc_link.c b/drivers/gpu/drm/amd/dal/dc/core/dc_link.c +index 3484db5..647d141 100644 +--- a/drivers/gpu/drm/amd/dal/dc/core/dc_link.c ++++ b/drivers/gpu/drm/amd/dal/dc/core/dc_link.c +@@ -363,6 +363,8 @@ static void link_unplug(struct core_link *link) + + for (i = 0; i < link->public.sink_count; i++) + dc_link_remove_sink(&link->public, link->public.sink[i]); ++ ++ link->dpcd_sink_count = 0; + } + + static enum dc_edid_status read_edid(struct core_link *link) +-- +2.7.4 + |