Skip to content

Commit 5e51d94

Browse files
committed
Revert "Enable simpledrm support"
This reverts commit 16ebb31. 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 <ziyao@disroot.org>
1 parent 3fe960c commit 5e51d94

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

fbcon.config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
44
CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER=y
55
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
66
CONFIG_FB_DEVICE=y
7-
CONFIG_SYSFB_SIMPLEFB=y
87

98
# driver
109
CONFIG_FB_SIMPLE=y

gpu.config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ CONFIG_DRM_AMDGPU=m
44
CONFIG_DRM_AMD_ACP=y
55
CONFIG_DRM_NOUVEAU=m
66
CONFIG_DRM_VIRTIO_GPU=m
7-
CONFIG_DRM_SIMPLEDRM=m

0 commit comments

Comments
 (0)