|
Patrik Jakobsson |
8d5c42 |
From bcacf9574e2f063eb3a85296153f6c957a3911ab Mon Sep 17 00:00:00 2001
|
|
Patrik Jakobsson |
8d5c42 |
From: Lee Jones <lee@kernel.org>
|
|
Patrik Jakobsson |
8d5c42 |
Date: Fri, 25 Nov 2022 12:07:49 +0000
|
|
Patrik Jakobsson |
8d5c42 |
Subject: drm/amdgpu: temporarily disable broken Clang builds due to blown
|
|
Patrik Jakobsson |
8d5c42 |
stack-frame
|
|
Patrik Jakobsson |
8d5c42 |
MIME-Version: 1.0
|
|
Patrik Jakobsson |
8d5c42 |
Content-Type: text/plain; charset=UTF-8
|
|
Patrik Jakobsson |
8d5c42 |
Content-Transfer-Encoding: 8bit
|
|
Patrik Jakobsson |
8d5c42 |
Git-commit: 6f6cb1714365a07dbc66851879538df9f6969288
|
|
Patrik Jakobsson |
8d5c42 |
Patch-mainline: v6.1-rc8
|
|
Patrik Jakobsson |
8d5c42 |
References: jsc#PED-1166 jsc#PED-1168 jsc#PED-1170 jsc#PED-1218 jsc#PED-1220 jsc#PED-1222 jsc#PED-1223 jsc#PED-1225 jsc#PED-2849
|
|
Patrik Jakobsson |
8d5c42 |
|
|
Patrik Jakobsson |
8d5c42 |
Patch series "Fix a bunch of allmodconfig errors", v2.
|
|
Patrik Jakobsson |
8d5c42 |
|
|
Patrik Jakobsson |
8d5c42 |
Since b339ec9c229aa ("kbuild: Only default to -Werror if COMPILE_TEST")
|
|
Patrik Jakobsson |
8d5c42 |
WERROR now defaults to COMPILE_TEST meaning that it's enabled for
|
|
Patrik Jakobsson |
8d5c42 |
allmodconfig builds. This leads to some interesting build failures when
|
|
Patrik Jakobsson |
8d5c42 |
using Clang, each resolved in this set.
|
|
Patrik Jakobsson |
8d5c42 |
|
|
Patrik Jakobsson |
8d5c42 |
With this set applied, I am able to obtain a successful allmodconfig Arm
|
|
Patrik Jakobsson |
8d5c42 |
build.
|
|
Patrik Jakobsson |
8d5c42 |
|
|
Patrik Jakobsson |
8d5c42 |
|
|
Patrik Jakobsson |
8d5c42 |
This patch (of 2):
|
|
Patrik Jakobsson |
8d5c42 |
|
|
Patrik Jakobsson |
8d5c42 |
calculate_bandwidth() is presently broken on all !(X86_64 || SPARC64 ||
|
|
Patrik Jakobsson |
8d5c42 |
ARM64) architectures built with Clang (all released versions), whereby the
|
|
Patrik Jakobsson |
8d5c42 |
stack frame gets blown up to well over 5k. This would cause an immediate
|
|
Patrik Jakobsson |
8d5c42 |
kernel panic on most architectures. We'll revert this when the following
|
|
Patrik Jakobsson |
8d5c42 |
bug report has been resolved:
|
|
Patrik Jakobsson |
8d5c42 |
https://github.com/llvm/llvm-project/issues/41896.
|
|
Patrik Jakobsson |
8d5c42 |
|
|
Patrik Jakobsson |
8d5c42 |
Link: https://lkml.kernel.org/r/20221125120750.3537134-1-lee@kernel.org
|
|
Patrik Jakobsson |
8d5c42 |
Link: https://lkml.kernel.org/r/20221125120750.3537134-2-lee@kernel.org
|
|
Patrik Jakobsson |
8d5c42 |
Signed-off-by: Lee Jones <lee@kernel.org>
|
|
Patrik Jakobsson |
8d5c42 |
Suggested-by: Arnd Bergmann <arnd@arndb.de>
|
|
Patrik Jakobsson |
8d5c42 |
Acked-by: Arnd Bergmann <arnd@arndb.de>
|
|
Patrik Jakobsson |
8d5c42 |
Cc: Alex Deucher <alexander.deucher@amd.com>
|
|
Patrik Jakobsson |
8d5c42 |
Cc: "Christian König" <christian.koenig@amd.com>
|
|
Patrik Jakobsson |
8d5c42 |
Cc: Daniel Vetter <daniel@ffwll.ch>
|
|
Patrik Jakobsson |
8d5c42 |
Cc: David Airlie <airlied@gmail.com>
|
|
Patrik Jakobsson |
8d5c42 |
Cc: Harry Wentland <harry.wentland@amd.com>
|
|
Patrik Jakobsson |
8d5c42 |
Cc: Lee Jones <lee@kernel.org>
|
|
Patrik Jakobsson |
8d5c42 |
Cc: Leo Li <sunpeng.li@amd.com>
|
|
Patrik Jakobsson |
8d5c42 |
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
|
|
Patrik Jakobsson |
8d5c42 |
Cc: Maxime Ripard <mripard@kernel.org>
|
|
Patrik Jakobsson |
8d5c42 |
Cc: Nathan Chancellor <nathan@kernel.org>
|
|
Patrik Jakobsson |
8d5c42 |
Cc: Nick Desaulniers <ndesaulniers@google.com>
|
|
Patrik Jakobsson |
8d5c42 |
Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
|
|
Patrik Jakobsson |
8d5c42 |
Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
|
|
Patrik Jakobsson |
8d5c42 |
Cc: Thomas Zimmermann <tzimmermann@suse.de>
|
|
Patrik Jakobsson |
8d5c42 |
Cc: Tom Rix <trix@redhat.com>
|
|
Patrik Jakobsson |
8d5c42 |
Cc: <stable@vger.kernel.org>
|
|
Patrik Jakobsson |
8d5c42 |
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
|
|
Patrik Jakobsson |
8d5c42 |
Acked-by: Patrik Jakobsson <pjakobsson@suse.de>
|
|
Patrik Jakobsson |
8d5c42 |
---
|
|
Patrik Jakobsson |
8d5c42 |
drivers/gpu/drm/amd/display/Kconfig | 7 +++++++
|
|
Patrik Jakobsson |
8d5c42 |
1 file changed, 7 insertions(+)
|
|
Patrik Jakobsson |
8d5c42 |
|
|
Patrik Jakobsson |
8d5c42 |
diff --git a/drivers/gpu/drm/amd/display/Kconfig b/drivers/gpu/drm/amd/display/Kconfig
|
|
Patrik Jakobsson |
8d5c42 |
index 6925e0280dbe..f4f3d2665a6b 100644
|
|
Patrik Jakobsson |
8d5c42 |
--- a/drivers/gpu/drm/amd/display/Kconfig
|
|
Patrik Jakobsson |
8d5c42 |
+++ b/drivers/gpu/drm/amd/display/Kconfig
|
|
Patrik Jakobsson |
8d5c42 |
@@ -5,6 +5,7 @@ menu "Display Engine Configuration"
|
|
Patrik Jakobsson |
8d5c42 |
config DRM_AMD_DC
|
|
Patrik Jakobsson |
8d5c42 |
bool "AMD DC - Enable new display engine"
|
|
Patrik Jakobsson |
8d5c42 |
default y
|
|
Patrik Jakobsson |
8d5c42 |
+ depends on BROKEN || !CC_IS_CLANG || X86_64 || SPARC64 || ARM64
|
|
Patrik Jakobsson |
8d5c42 |
select SND_HDA_COMPONENT if SND_HDA_CORE
|
|
Patrik Jakobsson |
8d5c42 |
select DRM_AMD_DC_DCN if (X86 || PPC_LONG_DOUBLE_128)
|
|
Patrik Jakobsson |
8d5c42 |
help
|
|
Patrik Jakobsson |
8d5c42 |
@@ -12,6 +13,12 @@ config DRM_AMD_DC
|
|
Patrik Jakobsson |
8d5c42 |
support for AMDGPU. This adds required support for Vega and
|
|
Patrik Jakobsson |
8d5c42 |
Raven ASICs.
|
|
Patrik Jakobsson |
8d5c42 |
|
|
Patrik Jakobsson |
8d5c42 |
+ calculate_bandwidth() is presently broken on all !(X86_64 || SPARC64 || ARM64)
|
|
Patrik Jakobsson |
8d5c42 |
+ architectures built with Clang (all released versions), whereby the stack
|
|
Patrik Jakobsson |
8d5c42 |
+ frame gets blown up to well over 5k. This would cause an immediate kernel
|
|
Patrik Jakobsson |
8d5c42 |
+ panic on most architectures. We'll revert this when the following bug report
|
|
Patrik Jakobsson |
8d5c42 |
+ has been resolved: https://github.com/llvm/llvm-project/issues/41896.
|
|
Patrik Jakobsson |
8d5c42 |
+
|
|
Patrik Jakobsson |
8d5c42 |
config DRM_AMD_DC_DCN
|
|
Patrik Jakobsson |
8d5c42 |
def_bool n
|
|
Patrik Jakobsson |
8d5c42 |
help
|
|
Patrik Jakobsson |
8d5c42 |
--
|
|
Patrik Jakobsson |
8d5c42 |
2.38.1
|
|
Patrik Jakobsson |
8d5c42 |
|