[OS-BUILD PATCHv4] redhat/configs: Disable fbdev drivers and use simpledrm everywhere

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Javier Martinez Canillas <javierm@xxxxxxxxxx>

redhat/configs: Disable fbdev drivers and use simpledrm everywhere

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1986223

Replace the fbdev drivers with the latest simpledrm driver and the DRM
fbdev emulation layer.

This change has been in Fedora for some time but it is something that's
also desirable for ARK. Change the config options in common so they are
shared across all flavors.

The only exception is s390x since the arch is headless and doesn't have
a firmware that's able to setup a framebuffer for the kernel to scanout.

Signed-off-by: Javier Martinez Canillas <javierm@xxxxxxxxxx>

diff --git a/redhat/configs/ark/generic/CONFIG_FB_NVIDIA_BACKLIGHT b/redhat/configs/ark/generic/CONFIG_FB_NVIDIA_BACKLIGHT
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/ark/generic/CONFIG_FB_NVIDIA_BACKLIGHT
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_FB_NVIDIA_BACKLIGHT=y
diff --git a/redhat/configs/ark/generic/CONFIG_FB_NVIDIA_DEBUG b/redhat/configs/ark/generic/CONFIG_FB_NVIDIA_DEBUG
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/ark/generic/CONFIG_FB_NVIDIA_DEBUG
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_FB_NVIDIA_DEBUG is not set
diff --git a/redhat/configs/ark/generic/CONFIG_FB_NVIDIA_I2C b/redhat/configs/ark/generic/CONFIG_FB_NVIDIA_I2C
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/ark/generic/CONFIG_FB_NVIDIA_I2C
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_FB_NVIDIA_I2C is not set
diff --git a/redhat/configs/ark/generic/CONFIG_FB_RADEON_BACKLIGHT b/redhat/configs/ark/generic/CONFIG_FB_RADEON_BACKLIGHT
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/ark/generic/CONFIG_FB_RADEON_BACKLIGHT
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_FB_RADEON_BACKLIGHT=y
diff --git a/redhat/configs/ark/generic/CONFIG_FB_RADEON_DEBUG b/redhat/configs/ark/generic/CONFIG_FB_RADEON_DEBUG
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/ark/generic/CONFIG_FB_RADEON_DEBUG
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_FB_RADEON_DEBUG is not set
diff --git a/redhat/configs/ark/generic/CONFIG_FB_RADEON_I2C b/redhat/configs/ark/generic/CONFIG_FB_RADEON_I2C
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/ark/generic/CONFIG_FB_RADEON_I2C
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_FB_RADEON_I2C is not set
diff --git a/redhat/configs/ark/generic/arm/aarch64/CONFIG_FB_SIMPLE b/redhat/configs/ark/generic/arm/aarch64/CONFIG_FB_SIMPLE
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/ark/generic/arm/aarch64/CONFIG_FB_SIMPLE
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_FB_SIMPLE=y
diff --git a/redhat/configs/ark/generic/arm/aarch64/CONFIG_FB_SSD1307 b/redhat/configs/ark/generic/arm/aarch64/CONFIG_FB_SSD1307
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/ark/generic/arm/aarch64/CONFIG_FB_SSD1307
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_FB_SSD1307=m
diff --git a/redhat/configs/ark/generic/powerpc/CONFIG_FB_NVIDIA b/redhat/configs/ark/generic/powerpc/CONFIG_FB_NVIDIA
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/ark/generic/powerpc/CONFIG_FB_NVIDIA
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_FB_NVIDIA=m
diff --git a/redhat/configs/ark/generic/powerpc/CONFIG_FB_RADEON b/redhat/configs/ark/generic/powerpc/CONFIG_FB_RADEON
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/ark/generic/powerpc/CONFIG_FB_RADEON
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_FB_RADEON=m
diff --git a/redhat/configs/ark/generic/powerpc/CONFIG_FB_VGA16 b/redhat/configs/ark/generic/powerpc/CONFIG_FB_VGA16
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/ark/generic/powerpc/CONFIG_FB_VGA16
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_FB_VGA16=m
diff --git a/redhat/configs/ark/generic/s390x/CONFIG_DRM b/redhat/configs/ark/generic/s390x/CONFIG_DRM
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/s390x/CONFIG_DRM
@@ -0,0 +1 @@
+CONFIG_DRM=m
diff --git a/redhat/configs/ark/generic/s390x/CONFIG_DRM_SIMPLEDRM b/redhat/configs/ark/generic/s390x/CONFIG_DRM_SIMPLEDRM
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/s390x/CONFIG_DRM_SIMPLEDRM
@@ -0,0 +1 @@
+# CONFIG_DRM_SIMPLEDRM is not set
diff --git a/redhat/configs/ark/generic/s390x/CONFIG_I2C_ALGOBIT b/redhat/configs/ark/generic/s390x/CONFIG_I2C_ALGOBIT
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/s390x/CONFIG_I2C_ALGOBIT
@@ -0,0 +1 @@
+CONFIG_I2C_ALGOBIT=m
diff --git a/redhat/configs/common/generic/CONFIG_DRM b/redhat/configs/common/generic/CONFIG_DRM
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_DRM
+++ b/redhat/configs/common/generic/CONFIG_DRM
@@ -1 +1 @@
-CONFIG_DRM=m
+CONFIG_DRM=y
diff --git a/redhat/configs/fedora/generic/CONFIG_DRM_DEBUG_MM b/redhat/configs/common/generic/CONFIG_DRM_DEBUG_MM
rename from redhat/configs/fedora/generic/CONFIG_DRM_DEBUG_MM
rename to redhat/configs/common/generic/CONFIG_DRM_DEBUG_MM
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_DRM_DEBUG_MM
+++ b/redhat/configs/common/generic/CONFIG_DRM_DEBUG_MM
diff --git a/redhat/configs/common/generic/CONFIG_DRM_SIMPLEDRM b/redhat/configs/common/generic/CONFIG_DRM_SIMPLEDRM
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_DRM_SIMPLEDRM
+++ b/redhat/configs/common/generic/CONFIG_DRM_SIMPLEDRM
@@ -1 +1 @@
-# CONFIG_DRM_SIMPLEDRM is not set
+CONFIG_DRM_SIMPLEDRM=y
diff --git a/redhat/configs/ark/generic/CONFIG_FB_ARC b/redhat/configs/common/generic/CONFIG_FB_ARC
rename from redhat/configs/ark/generic/CONFIG_FB_ARC
rename to redhat/configs/common/generic/CONFIG_FB_ARC
index blahblah..blahblah 100644
--- a/redhat/configs/ark/generic/CONFIG_FB_ARC
+++ b/redhat/configs/common/generic/CONFIG_FB_ARC
diff --git a/redhat/configs/fedora/generic/arm/CONFIG_FB_DA8XX b/redhat/configs/common/generic/CONFIG_FB_DA8XX
rename from redhat/configs/fedora/generic/arm/CONFIG_FB_DA8XX
rename to redhat/configs/common/generic/CONFIG_FB_DA8XX
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/arm/CONFIG_FB_DA8XX
+++ b/redhat/configs/common/generic/CONFIG_FB_DA8XX
diff --git a/redhat/configs/common/generic/CONFIG_FB_EFI b/redhat/configs/common/generic/CONFIG_FB_EFI
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_FB_EFI
+++ b/redhat/configs/common/generic/CONFIG_FB_EFI
@@ -1 +1 @@
-CONFIG_FB_EFI=y
+# CONFIG_FB_EFI is not set

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1533
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux