Skip to content

drm/armada: fbdev: Use client buffers

Thomas Zimmermann dri-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/armada: fbdev: Calculate buffer geometry with format helpersdrivers/gpu/drm/armada/armada_fbdev.c+29 -260 replies
2/3drm/armada: fbdev: Use a DRM client bufferdrivers/gpu/drm/armada/armada_fbdev.c+24 -170 replies
3/3drm/armada: Make armada_framebuffer_create() an internal interfacedrivers/gpu/drm/armada/armada_fb.c drivers/gpu/drm/armada/armada_fb.h+5 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] drm/armada: fbdev: Use client buffers

A client buffer holds the DRM framebuffer for an in-kernel DRM client. Until now, armada created an internal ad-hoc framebuffer for its fbdev emulation, while by-passing the regular interfaces used by user-space compositors.

Convert armada's fbdev emulation to use client buffers. Replacing the existing code with a client buffer allows for stream-lining armada code and later also the fbdev helpers. The new framebuffer will be registered against the client's file and will support handles for GEM objects. It is then just another framebuffer within the DRM ecosystem.

If all driver's fbdev-emulation helpers can be converted to use client buffers, the emulation's framebuffer handling as a whole can possibly be moved into shared helpers.

Patches 1 and 2 convert armada's fbdev emulation to client buffers. It still allocates a GEM object buffer tailored towards fbdev emulation, but size calculations now use common DRM helpers.

Patch 3 cleans up symbol visibility in armada's fb code.

Thomas Zimmermann (3):
drm/armada: fbdev: Calculate buffer geometry with format helpers drm/armada: fbdev: Use a DRM client buffer
drm/armada: Make armada_framebuffer_create() an internal interface

 drivers/gpu/drm/armada/armada_fb.c    |  9 ++--
 drivers/gpu/drm/armada/armada_fb.h    |  3 --
 drivers/gpu/drm/armada/armada_fbdev.c | 76 +++++++++++++++------------
 3 files changed, 48 insertions(+), 40 deletions(-)
Signature · 1 line
2.53.0