[PATCH v3 1/1] drm: Add TODO item for fbdev driver conversion
daniel at ffwll.ch
Thu Oct 17 08:21:06 UTC 2019
On Thu, Oct 17, 2019 at 09:47:05AM +0200, Thomas Zimmermann wrote:
> The DRM TODO list now contains an entry for converting fbdev
> drivers over to DRM.
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> Documentation/gpu/todo.rst | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
> diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst
> index 79785559d711..23b3a67794ba 100644
> --- a/Documentation/gpu/todo.rst
> +++ b/Documentation/gpu/todo.rst
> @@ -462,3 +462,30 @@ Contact: Sam Ravnborg
> Outside DRM
> +Convert fbdev drivers to DRM
> +There are plenty of fbdev drivers for older hardware. Some hwardware has
> +become obsolete, but some still provides good(-enough) framebuffers. The
> +drivers that are still useful should be converted to DRM and afterwards
> +removed from fbdev.
> +Very simple fbdev drivers can best be converted by starting with a new
> +DRM driver. Simple KMS helpers and SHMEM should be able to handle any
> +existing hardware. The new driver's call-back functions are filled from
> +existing fbdev code.
> +More complex fbdev drivers can be refactored step-by-step into a DRM
> +driver with the help of the DRM fbconv helpers.  These helpers provide
> +the transition layer between the DRM core infrastructure and the fbdev
> +driver interface. Create a new DRM driver on top of the fbconv helpers,
> +copy over the fbdev driver, and hook it up to the DRM code. Examples for
> +several fbdev drivers are available at  and a tutorial of this process
> +available at . The result is a primitive DRM driver that can run X11
> +and Weston.
> + -  https://gitlab.freedesktop.org/tzimmermann/linux/tree/fbconv
> + -  https://gitlab.freedesktop.org/tzimmermann/linux/blob/fbconv/drivers/gpu/drm/drm_fbconv_helper.c
btw if you want to push a patch to get this built and published:
The "pages" job is the one which gets published to
With that you could point at the pretty hmtl even.
> +Contact: Thomas Zimmermann <tzimmermann at suse.de>
Software Engineer, Intel Corporation
More information about the dri-devel