File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -462,3 +462,30 @@ Contact: Sam Ravnborg
462462
463463Outside DRM
464464===========
465+
466+ Convert fbdev drivers to DRM
467+ ----------------------------
468+
469+ There are plenty of fbdev drivers for older hardware. Some hwardware has
470+ become obsolete, but some still provides good(-enough) framebuffers. The
471+ drivers that are still useful should be converted to DRM and afterwards
472+ removed from fbdev.
473+
474+ Very simple fbdev drivers can best be converted by starting with a new
475+ DRM driver. Simple KMS helpers and SHMEM should be able to handle any
476+ existing hardware. The new driver's call-back functions are filled from
477+ existing fbdev code.
478+
479+ More complex fbdev drivers can be refactored step-by-step into a DRM
480+ driver with the help of the DRM fbconv helpers. [1] These helpers provide
481+ the transition layer between the DRM core infrastructure and the fbdev
482+ driver interface. Create a new DRM driver on top of the fbconv helpers,
483+ copy over the fbdev driver, and hook it up to the DRM code. Examples for
484+ several fbdev drivers are available at [1] and a tutorial of this process
485+ available at [2]. The result is a primitive DRM driver that can run X11
486+ and Weston.
487+
488+ - [1] https://gitlab.freedesktop.org/tzimmermann/linux/tree/fbconv
489+ - [2] https://gitlab.freedesktop.org/tzimmermann/linux/blob/fbconv/drivers/gpu/drm/drm_fbconv_helper.c
490+
491+ Contact: Thomas Zimmermann <tzimmermann@suse.de>
You can’t perform that action at this time.
0 commit comments