From 2530b4fe8b89ff195956d30423e829c97f189943 Mon Sep 17 00:00:00 2001 From: Aelin Date: Tue, 7 Jul 2026 23:39:52 +0200 Subject: [PATCH] kconfig-generic: Raise FRAME_WARN limit for x86_64 on 7.2 This works around a regression in 7.2. Part-of: --- kconfig-generic.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kconfig-generic.toml b/kconfig-generic.toml index ff9d44be9..399d3ff00 100644 --- a/kconfig-generic.toml +++ b/kconfig-generic.toml @@ -46,6 +46,12 @@ BACKLIGHT_PWM = "y" BACKLIGHT_CLASS_DEVICE = "y" BACKLIGHT_GPIO = "y" DRM_AMDGPU = "m" +# Linux 7.2+ has an issue where the AMDGPU driver results in too large stack +# frames on x86_64. In order to be able to compile the kernel, we raise the +# limit. +# See https://github.com/ClangBuiltLinux/linux/issues/2161 +["category:graphics".">=7.2_rc1"."x86_64"] +FRAME_WARN = 4096 ["category:graphics".">=0.0.0"."aarch64 armv7"] EXYNOS_IOMMU = "y" NOUVEAU_PLATFORM_DRIVER = "y"