aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/0031-drm-amd-display-fix-REG_SET_5-macro.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0031-drm-amd-display-fix-REG_SET_5-macro.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/0031-drm-amd-display-fix-REG_SET_5-macro.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0031-drm-amd-display-fix-REG_SET_5-macro.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0031-drm-amd-display-fix-REG_SET_5-macro.patch
new file mode 100644
index 00000000..202c5809
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0031-drm-amd-display-fix-REG_SET_5-macro.patch
@@ -0,0 +1,30 @@
+From 2bae03a3faaf4aa286a8acedf316773d22d82d9d Mon Sep 17 00:00:00 2001
+From: Roman Li <Roman.Li@amd.com>
+Date: Wed, 30 Nov 2016 16:23:16 -0500
+Subject: [PATCH 0031/4131] drm/amd/display: fix REG_SET_5 macro
+
+Signed-off-by: Roman Li <Roman.Li@amd.com>
+Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
+Reviewed-by: Roman Li <Roman.Li@amd.com>
+Acked-by: Harry Wentland <Harry.Wentland@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/inc/reg_helper.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+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 159b2c5..dbc8424 100644
+--- a/drivers/gpu/drm/amd/display/dc/inc/reg_helper.h
++++ b/drivers/gpu/drm/amd/display/dc/inc/reg_helper.h
+@@ -84,7 +84,7 @@
+
+ #define REG_SET_5(reg, init_value, f1, v1, f2, v2, f3, v3, f4, v4, \
+ f5, v5) \
+- REG_SET_N(reg, 6, init_value, \
++ REG_SET_N(reg, 5, init_value, \
+ FN(reg, f1), v1,\
+ FN(reg, f2), v2,\
+ FN(reg, f3), v3,\
+--
+2.7.4
+