From 77bfe5441e92e8c418138f7ce3844774b7da518f Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 25 May 2024 18:27:32 +0200 Subject: [PATCH] x86: Activate CONFIG_FB_DEVICE This adds the legacy /dev/fb* device file for kernel 6.6 again. Linux upstream commit 701d2054fa31 ("fbdev: Make support for userspace interfaces configurable") made this configurable and we deactivated this option by default for kernel 6.6. On x86 we are not space constrained and some users need this legacy interface. Fixes: #15222 Signed-off-by: Hauke Mehrtens --- target/linux/x86/64/config-6.6 | 1 + target/linux/x86/generic/config-6.6 | 1 + target/linux/x86/legacy/config-6.6 | 1 + 3 files changed, 3 insertions(+) diff --git a/target/linux/x86/64/config-6.6 b/target/linux/x86/64/config-6.6 index ce4eb644db..8533d57532 100644 --- a/target/linux/x86/64/config-6.6 +++ b/target/linux/x86/64/config-6.6 @@ -214,6 +214,7 @@ CONFIG_FB_CFB_FILLRECT=y CONFIG_FB_CFB_IMAGEBLIT=y CONFIG_FB_CORE=y CONFIG_FB_DEFERRED_IO=y +CONFIG_FB_DEVICE=y CONFIG_FB_EFI=y CONFIG_FB_HYPERV=y CONFIG_FB_IOMEM_HELPERS=y diff --git a/target/linux/x86/generic/config-6.6 b/target/linux/x86/generic/config-6.6 index 698f3bbe4d..c02ec35100 100644 --- a/target/linux/x86/generic/config-6.6 +++ b/target/linux/x86/generic/config-6.6 @@ -148,6 +148,7 @@ CONFIG_FB_CFB_FILLRECT=y CONFIG_FB_CFB_IMAGEBLIT=y CONFIG_FB_CORE=y CONFIG_FB_DEFERRED_IO=y +CONFIG_FB_DEVICE=y CONFIG_FB_EFI=y CONFIG_FB_HYPERV=y # CONFIG_FB_I810 is not set diff --git a/target/linux/x86/legacy/config-6.6 b/target/linux/x86/legacy/config-6.6 index 402ad89472..f71747e433 100644 --- a/target/linux/x86/legacy/config-6.6 +++ b/target/linux/x86/legacy/config-6.6 @@ -109,6 +109,7 @@ CONFIG_FB_CFB_FILLRECT=y CONFIG_FB_CFB_IMAGEBLIT=y CONFIG_FB_CORE=y CONFIG_FB_DEFERRED_IO=y +CONFIG_FB_DEVICE=y # CONFIG_FB_I810 is not set CONFIG_FB_IOMEM_HELPERS=y CONFIG_FB_SYSMEM_HELPERS=y -- 2.30.2