Skip to content

drm/omapdrm: Convert fbdev to DRM client

Thomas Zimmermann dri-devel llvm oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/omapdrm: Include <linux/of.h>drivers/gpu/drm/omapdrm/omap_drv.c+1 -01 reply
2/6drm/omapdrm: Remove fb from struct omap_fbdevdrivers/gpu/drm/omapdrm/omap_fbdev.c+6 -51 reply
3/6drm/omapdrm: Remove bo from struct omap_fbdevdrivers/gpu/drm/omapdrm/omap_fbdev.c+19 -131 reply
4/6drm/omapdrm: Remove fbdev from struct omap_drm_privatedrivers/gpu/drm/omapdrm/omap_debugfs.c drivers/gpu/drm/omapdrm/omap_drv.c drivers/gpu/drm/omapdrm/omap_drv.h +1 more+6 -112 replies
5/6drm/omapdrm: Initialize fbdev DRM clientdrivers/gpu/drm/omapdrm/omap_fbdev.c+32 -12 replies
6/6drm/omapdrm: Implement fbdev emulation as in-kernel clientdrivers/gpu/drm/omapdrm/omap_drv.c drivers/gpu/drm/omapdrm/omap_fbdev.c drivers/gpu/drm/omapdrm/omap_fbdev.h+77 -793 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchTomi Valkeinen
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] drm/omapdrm: Convert fbdev to DRM client

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.

Thomas Zimmermann (6):
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: Initialize fbdev DRM client 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   | 165 ++++++++++++++++---------
 drivers/gpu/drm/omapdrm/omap_fbdev.h   |   9 +-
 5 files changed, 114 insertions(+), 82 deletions(-)
Signature · 1 line
2.40.0