[openwrt/openwrt] x86: Activate CONFIG_FB_DEVICE

LEDE Commits lede-commits at lists.infradead.org
Fri May 31 02:29:27 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/77bfe5441e92e8c418138f7ce3844774b7da518f

commit 77bfe5441e92e8c418138f7ce3844774b7da518f
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat May 25 18:27:32 2024 +0200

    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 <hauke at hauke-m.de>
---
 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




More information about the lede-commits mailing list