aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0476-drm-amd-display-Don-t-guard-x86-in-Makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0476-drm-amd-display-Don-t-guard-x86-in-Makefile.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0476-drm-amd-display-Don-t-guard-x86-in-Makefile.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0476-drm-amd-display-Don-t-guard-x86-in-Makefile.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0476-drm-amd-display-Don-t-guard-x86-in-Makefile.patch
new file mode 100644
index 00000000..33236961
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0476-drm-amd-display-Don-t-guard-x86-in-Makefile.patch
@@ -0,0 +1,34 @@
+From 77f04e5f5e79e01790e89e2e5a2a454be3a60b13 Mon Sep 17 00:00:00 2001
+From: Harry Wentland <harry.wentland@amd.com>
+Date: Thu, 25 May 2017 11:44:53 -0400
+Subject: [PATCH 0476/4131] drm/amd/display: Don't guard x86 in Makefile
+
+make-kpkg doesn't seem to like it
+
+Signed-off-by: Harry Wentland <harry.wentland@amd.com>
+Reviewed-by: Andrey Grodzovsky <Andrey.Grodzovsky@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/calcs/Makefile | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/calcs/Makefile b/drivers/gpu/drm/amd/display/dc/calcs/Makefile
+index 2e4ce09..a095472 100644
+--- a/drivers/gpu/drm/amd/display/dc/calcs/Makefile
++++ b/drivers/gpu/drm/amd/display/dc/calcs/Makefile
+@@ -3,11 +3,9 @@
+ # It calculates Bandwidth and Watermarks values for HW programming
+ #
+
+-ifeq ($(ARCH),x86)
+ CFLAGS_dcn_calcs.o := -mhard-float -msse -mpreferred-stack-boundary=4
+ CFLAGS_dcn_calc_auto.o := -mhard-float -msse -mpreferred-stack-boundary=4
+ CFLAGS_dcn_calc_math.o := -mhard-float -msse -mpreferred-stack-boundary=4
+-endif
+
+ BW_CALCS = dce_calcs.o bw_fixed.o custom_float.o
+
+--
+2.7.4
+