drm-kmod icon indicating copy to clipboard operation
drm-kmod copied to clipboard

Add sysfb drm drivers (SimpleDRM, EFIDRM, OFDRM, VESADRM)

Open Conan-Kudo opened this issue 4 months ago • 7 comments

For cases where no driver is available, we need a DRM alternative to the X11 drivers used for vesa and efi framebuffers. This is needed for Wayland environments that rely on this facility to function (e.g. Plasma Wayland).

This is the driver: https://github.com/torvalds/linux/tree/master/drivers/gpu/drm/sysfb

Conan-Kudo avatar Nov 08 '25 19:11 Conan-Kudo

FYI @adriaandegroot @davidedmundson

Conan-Kudo avatar Nov 08 '25 19:11 Conan-Kudo

Duplicate of https://github.com/freebsd/drm-kmod/issues/269 ? sysfb and simpledrm are GPLv2-only unlike i915 and amdgpu but drm-kmod tries to reimplement GPLv2 bits in order to merge back into base system (like in FreeBSD < 13).

jbeich avatar Dec 03 '25 18:12 jbeich

Is there a ticket tracking the effort to introduce this in the base system?

Conan-Kudo avatar Dec 03 '25 19:12 Conan-Kudo

Probably not. In the past there was a patch, a subtree and a recurring goal for major releases (15.0 example).

Nowadays, graphics updates are driven by LDWG (wiki, issues) but it doesn't seem to track merging drm-kmod into base or running under VM experience.

jbeich avatar Dec 03 '25 21:12 jbeich

@tdz is it possible to dual-license sysfb drm drivers like the other ones?

Conan-Kudo avatar Dec 03 '25 21:12 Conan-Kudo

I'm likely not the only author of that code, but I would not want to relicense my contributions.

tdz avatar Dec 05 '25 16:12 tdz

Other than @tdz there are 6 authors in sysfb/ with one commit each, all relatively straightforward. But git-blame shows @tdz for 95% of sysfb so dual-licensing is a nonstarter.

emaste avatar Dec 17 '25 16:12 emaste