[PATCH v2 0/5] drm/omapdrm: Convert fbdev to DRM client

Tomi Valkeinen tomi.valkeinen at ideasonboard.com
Thu Apr 6 12:53:56 UTC 2023


Hi Thomas,

On 03/04/2023 13:40, Thomas Zimmermann wrote:
> Convert omapdrm's fbdev code to struct drm_client. Replaces the current
> ad-hoc integration. The conversion includes a number of cleanups. As
> with most other drivers' fbdev emulation, fbdev in omapdrm is now just
> another DRM client that runs after the DRM device has been registered.
> 
> Once all drivers' fbdev emulation has been converted to struct drm_client,
> we can attempt to add additional in-kernel clients. A DRM-based dmesg
> log or a bootsplash are commonly mentioned. DRM can then switch easily
> among the existing clients if/when required.
> 
> I did the conversion from similar experience with other drivers. But I
> don't have the hardware to test this. Any testing is welcome.
> 
> v2:
> 	* squashed patch 6 in to patch 5 (Tomi)
> 	* minor cleanups (Tomi)
> 
> Thomas Zimmermann (5):
>    drm/omapdrm: Include <linux/of.h>
>    drm/omapdrm: Remove fb from struct omap_fbdev
>    drm/omapdrm: Remove bo from struct omap_fbdev
>    drm/omapdrm: Remove fbdev from struct omap_drm_private
>    drm/omapdrm: Implement fbdev emulation as in-kernel client
> 
>   drivers/gpu/drm/omapdrm/omap_debugfs.c |   6 +-
>   drivers/gpu/drm/omapdrm/omap_drv.c     |  13 +-
>   drivers/gpu/drm/omapdrm/omap_drv.h     |   3 -
>   drivers/gpu/drm/omapdrm/omap_fbdev.c   | 163 ++++++++++++++++---------
>   drivers/gpu/drm/omapdrm/omap_fbdev.h   |   9 +-
>   5 files changed, 112 insertions(+), 82 deletions(-)
> 

I have pushed this to drm-misc-next. Thanks!

  Tomi



More information about the dri-devel mailing list