Skip to content

drm/armada: Convert fbdev to DRM client

Thomas Zimmermann dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/armada: Include <linux/of.h>drivers/gpu/drm/armada/armada_drv.c+1 -01 reply
2/4drm/armada: Hide fbdev support behind config optiondrivers/gpu/drm/armada/Makefile drivers/gpu/drm/armada/armada_drm.h+14 -31 reply
3/4drm/armada: Initialize fbdev DRM clientdrivers/gpu/drm/armada/armada_fbdev.c+39 -41 reply
4/4drm/armada: Implement fbdev emulation as in-kernel clientdrivers/gpu/drm/armada/armada_drm.h drivers/gpu/drm/armada/armada_drv.c drivers/gpu/drm/armada/armada_fb.c +1 more+73 -691 reply

Reviews trailers per patch

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

PatchSui JingfengJavier Martinez Canillas
1/4R-b
2/4R-b
3/4R-b
4/4R-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/4] drm/armada: Convert fbdev to DRM client

Convert armada's fbdev code to struct drm_client. Replaces the current ad-hoc integration. The conversion includes a number of cleanups. As with most other driver's fbdev emulation, fbdev in armada 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 (4):
drm/armada: Include <linux/of.h>
drm/armada: Hide fbdev support behind config option drm/armada: Initialize fbdev DRM client drm/armada: Implement fbdev emulation as in-kernel client

 drivers/gpu/drm/armada/Makefile       |   3 +-
 drivers/gpu/drm/armada/armada_drm.h   |  10 ++-
 drivers/gpu/drm/armada/armada_drv.c   |  12 +--
 drivers/gpu/drm/armada/armada_fb.c    |   1 -
 drivers/gpu/drm/armada/armada_fbdev.c | 119 +++++++++++++++++++-------
 5 files changed, 98 insertions(+), 47 deletions(-)
Signature · 1 line
2.40.0