aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3857-drm-amd-dc-Add-dc-display-driver-v3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3857-drm-amd-dc-Add-dc-display-driver-v3.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3857-drm-amd-dc-Add-dc-display-driver-v3.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3857-drm-amd-dc-Add-dc-display-driver-v3.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3857-drm-amd-dc-Add-dc-display-driver-v3.patch
new file mode 100644
index 00000000..0f49bc26
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3857-drm-amd-dc-Add-dc-display-driver-v3.patch
@@ -0,0 +1,36 @@
+From fbd51b727114bed92174a59408fa029da27febd7 Mon Sep 17 00:00:00 2001
+From: Harry Wentland <harry.wentland@amd.com>
+Date: Tue, 12 Sep 2017 15:58:20 -0400
+Subject: [PATCH 3857/4131] drm/amd/dc: Add dc display driver (v3)
+
+Signed-off-by: Harry Wentland <harry.wentland@amd.com>
+Acked-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c b/drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c
+index faa7979..80038e0 100644
+--- a/drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c
++++ b/drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c
+@@ -483,14 +483,14 @@ enum gpio_result dal_ddc_open(
+
+ result = dal_gpio_open_ex(ddc->pin_data, mode);
+
+- if (result != GPIO_RESULT_OK && result != GPIO_RESULT_ALREADY_OPENED) {
++ if (result != GPIO_RESULT_OK) {
+ BREAK_TO_DEBUGGER();
+ return result;
+ }
+
+ result = dal_gpio_open_ex(ddc->pin_clock, mode);
+
+- if (result != GPIO_RESULT_OK && result != GPIO_RESULT_ALREADY_OPENED) {
++ if (result != GPIO_RESULT_OK) {
+ BREAK_TO_DEBUGGER();
+ goto failure;
+ }
+--
+2.7.4
+