From 011b68641ea3664c01ccc295fd27b806acc03fb0 Mon Sep 17 00:00:00 2001 From: Yao Zi Date: Sun, 12 Oct 2025 14:35:28 +0000 Subject: [PATCH] Revert "Enable simpledrm support" This reverts commit 16ebb3196a62804c351ce3dc25b09df7a98bd716. Simpledrm could only function with a simplefb, which conflicts with traditional framebuffer support (exported as /dev/fbX). However, the commit turns SIMPLEDRM to m, which means a system without a dedicated DRM device won't show anything on the display even if a firmware- initialized framebuffer is available until simpledrm is loaded. Unluckily, simpledrm carries no MODULE_DEVICE_TABLE for simplefb, which acts as a platform device. This makes systems without a dedicated DRM device impossible to react when booting eweOS. It's known that simpledrm sometimes causes strange performance degradation when used together with a dedicated DRM device, so building it into the kernel isn't an option, either. Let's revert the change until coming up with a better solution to have KMS available on framebuffer-only systems. Signed-off-by: Yao Zi --- fbcon.config | 1 - gpu.config | 1 - 2 files changed, 2 deletions(-) diff --git a/fbcon.config b/fbcon.config index 30e736b..d28e1e9 100644 --- a/fbcon.config +++ b/fbcon.config @@ -4,7 +4,6 @@ CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER=y CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y CONFIG_FB_DEVICE=y -CONFIG_SYSFB_SIMPLEFB=y # driver CONFIG_FB_SIMPLE=y diff --git a/gpu.config b/gpu.config index 67071bf..c1095a6 100644 --- a/gpu.config +++ b/gpu.config @@ -4,4 +4,3 @@ CONFIG_DRM_AMDGPU=m CONFIG_DRM_AMD_ACP=y CONFIG_DRM_NOUVEAU=m CONFIG_DRM_VIRTIO_GPU=m -CONFIG_DRM_SIMPLEDRM=m