aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0678-drm-amd-dal-disable-hpd-filtering-on-DP-connectors.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0678-drm-amd-dal-disable-hpd-filtering-on-DP-connectors.patch')
-rw-r--r--common/recipes-kernel/linux/files/0678-drm-amd-dal-disable-hpd-filtering-on-DP-connectors.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0678-drm-amd-dal-disable-hpd-filtering-on-DP-connectors.patch b/common/recipes-kernel/linux/files/0678-drm-amd-dal-disable-hpd-filtering-on-DP-connectors.patch
new file mode 100644
index 00000000..66b26fb5
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0678-drm-amd-dal-disable-hpd-filtering-on-DP-connectors.patch
@@ -0,0 +1,44 @@
+From 6284910be3b672cccb130746c82bb32d531dd707 Mon Sep 17 00:00:00 2001
+From: Mykola Lysenko <Mykola.Lysenko@amd.com>
+Date: Thu, 7 Jan 2016 16:18:57 +0800
+Subject: [PATCH 0678/1110] drm/amd/dal: disable hpd filtering on DP connectors
+
+Also, decrease disconnect filter time to default value
+
+Signed-off-by: Mykola Lysenko <Mykola.Lysenko@amd.com>
+Acked-by: Jordan Lazare <Jordan.Lazare@amd.com>
+---
+ drivers/gpu/drm/amd/dal/dc/core/dc_link.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+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 5f24ef1..ac6785a 100644
+--- a/drivers/gpu/drm/amd/dal/dc/core/dc_link.c
++++ b/drivers/gpu/drm/amd/dal/dc/core/dc_link.c
+@@ -46,7 +46,7 @@
+ __VA_ARGS__)
+
+ #define DELAY_ON_CONNECT_IN_MS 500
+-#define DELAY_ON_DISCONNECT_IN_MS 500
++#define DELAY_ON_DISCONNECT_IN_MS 100
+
+
+ /*******************************************************************************
+@@ -95,12 +95,12 @@ static bool program_hpd_filter(
+ case SIGNAL_TYPE_DVI_SINGLE_LINK:
+ case SIGNAL_TYPE_DVI_DUAL_LINK:
+ case SIGNAL_TYPE_HDMI_TYPE_A:
++ /* program hpd filter */
++ break;
+ case SIGNAL_TYPE_LVDS:
+ case SIGNAL_TYPE_DISPLAY_PORT:
+ case SIGNAL_TYPE_DISPLAY_PORT_MST:
+ case SIGNAL_TYPE_EDP:
+- /* program hpd filter */
+- break;
+ default:
+ /* don't program hpd filter */
+ return false;
+--
+2.7.4
+