From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Cc: Michael Tremer <michael.tremer@ipfire.org>
Subject: [RFC PATCH 1/3] linux: Don't blacklist the DRM modules any more
Date: Sun, 27 Apr 2025 17:15:22 +0000 [thread overview]
Message-ID: <20250427171524.324778-1-michael.tremer@ipfire.org> (raw)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
config/rootfiles/common/aarch64/linux | 1 -
config/rootfiles/common/riscv64/linux | 1 -
config/rootfiles/common/x86_64/linux | 1 -
lfs/linux | 13 -------------
4 files changed, 16 deletions(-)
diff --git a/config/rootfiles/common/aarch64/linux b/config/rootfiles/common/aarch64/linux
index 88c528557..ffd22d7a8 100644
--- a/config/rootfiles/common/aarch64/linux
+++ b/config/rootfiles/common/aarch64/linux
@@ -573,7 +573,6 @@ boot/dtb-KVER
#boot/dtb-KVER/synaptics/berlin4ct-stb.dtb
boot/vmlinuz-KVER
#etc/cpufreq-bench.conf
-etc/modprobe.d/framebuffer.conf
etc/modprobe.d/ipv6.conf
#lib/modules
#lib/modules/KVER
diff --git a/config/rootfiles/common/riscv64/linux b/config/rootfiles/common/riscv64/linux
index e1b6c071c..7681cf09a 100644
--- a/config/rootfiles/common/riscv64/linux
+++ b/config/rootfiles/common/riscv64/linux
@@ -13,7 +13,6 @@ boot/dtb-KVER
#boot/dtb-KVER/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb
boot/vmlinuz-KVER
#etc/cpufreq-bench.conf
-etc/modprobe.d/framebuffer.conf
etc/modprobe.d/ipv6.conf
#lib/modules
#lib/modules/KVER
diff --git a/config/rootfiles/common/x86_64/linux b/config/rootfiles/common/x86_64/linux
index aeb8ce71b..7ae6bbaae 100644
--- a/config/rootfiles/common/x86_64/linux
+++ b/config/rootfiles/common/x86_64/linux
@@ -2,7 +2,6 @@ boot/System.map-KVER
boot/config-KVER
boot/vmlinuz-KVER
#etc/cpufreq-bench.conf
-etc/modprobe.d/framebuffer.conf
etc/modprobe.d/ipv6.conf
#lib/modules
#lib/modules/KVER
diff --git a/lfs/linux b/lfs/linux
index f1a436c03..15e279ca9 100644
--- a/lfs/linux
+++ b/lfs/linux
@@ -225,19 +225,6 @@ endif
# Only do this once
cd $(DIR_APP) && install -m 755 usr/gen_init_cpio /sbin/
- # disable drm by install drm to /bin/false because i915 ignore blacklisting
- echo install drm /bin/false > /etc/modprobe.d/framebuffer.conf
-
- # Blacklist old framebuffer modules
- for f in $$(find /lib/modules/$(KVER)/kernel/drivers/video/fbdev/ -name *.ko.xz); do \
- echo "blacklist $$(basename $$f)" >> /etc/modprobe.d/framebuffer.conf ; \
- done
- # Blacklist new drm framebuffer modules
- for f in $$(find /lib/modules/$(KVER)/kernel/drivers/gpu/drm -name *.ko.xz); do \
- echo "blacklist $$(basename $$f)" >> /etc/modprobe.d/framebuffer.conf ; \
- done
- sed -i -e "s|.ko.xz||g" /etc/modprobe.d/framebuffer.conf
-
# Disable ipv6 at runtime
echo "options ipv6 disable_ipv6=1" > /etc/modprobe.d/ipv6.conf
--
2.39.5
next reply other threads:[~2025-04-27 17:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-27 17:15 Michael Tremer [this message]
2025-04-27 17:15 ` [RFC PATCH 2/3] kernel: Enable DRM and disable Framebuffer support Michael Tremer
2025-04-27 17:15 ` [RFC PATCH 3/3] cdrom: Disable modesetting in text mode Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250427171524.324778-1-michael.tremer@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox