aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/0467-drm-amd-display-Limit-DCN-to-x86-arch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0467-drm-amd-display-Limit-DCN-to-x86-arch.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/0467-drm-amd-display-Limit-DCN-to-x86-arch.patch60
1 files changed, 0 insertions, 60 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0467-drm-amd-display-Limit-DCN-to-x86-arch.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0467-drm-amd-display-Limit-DCN-to-x86-arch.patch
deleted file mode 100644
index f9592033..00000000
--- a/common/recipes-kernel/linux/linux-yocto-4.14.71/0467-drm-amd-display-Limit-DCN-to-x86-arch.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From d523b7b94caaa1cd96279c29d187f7ef6faeb1a3 Mon Sep 17 00:00:00 2001
-From: Harry Wentland <harry.wentland@amd.com>
-Date: Thu, 18 May 2017 22:13:19 -0400
-Subject: [PATCH 0467/4131] drm/amd/display: Limit DCN to x86 arch
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-DCN bw calcs currently rely on the following gcc options:
- -mhard-float -msse -mpreferred-stack-boundary=4
-
-We probably shouldn't really try building this on architectures
-other than x86.
-
-CC: Alex Deucher <Alexander.Deucher@amd.com>
-CC: Christian König <christian.koenig@amd.com>
-CC: Michel Dänzer <michel.daenzer@amd.com>
-CC: Tony Cheng <Tony.Cheng@amd.com>
-CC: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
-Signed-off-by: Harry Wentland <harry.wentland@amd.com>
-Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
-Acked-by: Harry Wentland <Harry.Wentland@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/display/Kconfig | 2 +-
- drivers/gpu/drm/amd/display/dc/calcs/Makefile | 2 ++
- 2 files changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/display/Kconfig b/drivers/gpu/drm/amd/display/Kconfig
-index 2b8d77c..62ea9f6 100644
---- a/drivers/gpu/drm/amd/display/Kconfig
-+++ b/drivers/gpu/drm/amd/display/Kconfig
-@@ -11,7 +11,7 @@ config DRM_AMD_DC
-
- config DRM_AMD_DC_DCN1_0
- bool "DCN 1.0 Raven family"
-- depends on DRM_AMD_DC
-+ depends on DRM_AMD_DC && X86
- help
- Choose this option if you want to have
- RV family for display engine
-diff --git a/drivers/gpu/drm/amd/display/dc/calcs/Makefile b/drivers/gpu/drm/amd/display/dc/calcs/Makefile
-index a095472..2e4ce09 100644
---- a/drivers/gpu/drm/amd/display/dc/calcs/Makefile
-+++ b/drivers/gpu/drm/amd/display/dc/calcs/Makefile
-@@ -3,9 +3,11 @@
- # 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
-