aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/0371-drm-amd-display-clarify-delay-param-for-REG_WAIT.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0371-drm-amd-display-clarify-delay-param-for-REG_WAIT.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/0371-drm-amd-display-clarify-delay-param-for-REG_WAIT.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0371-drm-amd-display-clarify-delay-param-for-REG_WAIT.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0371-drm-amd-display-clarify-delay-param-for-REG_WAIT.patch
new file mode 100644
index 00000000..55135ad2
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0371-drm-amd-display-clarify-delay-param-for-REG_WAIT.patch
@@ -0,0 +1,33 @@
+From f1cdcffd1fbe1b99fe8518185a743bd96c13e098 Mon Sep 17 00:00:00 2001
+From: Tony Cheng <tony.cheng@amd.com>
+Date: Sun, 23 Apr 2017 23:33:26 -0400
+Subject: [PATCH 0371/4131] drm/amd/display: clarify delay param for REG_WAIT
+
+Signed-off-by: Tony Cheng <tony.cheng@amd.com>
+Acked-by: Harry Wentland <Harry.Wentland@amd.com>
+Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/inc/reg_helper.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/inc/reg_helper.h b/drivers/gpu/drm/amd/display/dc/inc/reg_helper.h
+index b595b94..96fba1f 100644
+--- a/drivers/gpu/drm/amd/display/dc/inc/reg_helper.h
++++ b/drivers/gpu/drm/amd/display/dc/inc/reg_helper.h
+@@ -185,10 +185,10 @@
+
+ /* macro to poll and wait for a register field to read back given value */
+
+-#define REG_WAIT(reg_name, field, val, delay, max_try) \
++#define REG_WAIT(reg_name, field, val, delay_between_poll_us, max_try) \
+ generic_reg_wait(CTX, \
+ REG(reg_name), FN(reg_name, field), val,\
+- delay, max_try, __func__)
++ delay_between_poll_us, max_try, __func__)
+
+ /* macro to update (read, modify, write) register fields
+ */
+--
+2.7.4
+