drm/armada: fbdev: Use client buffers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | drm/armada: fbdev: Calculate buffer geometry with format helpersdrivers/ | +29 | 0 replies | |
| 2/3 | drm/armada: fbdev: Use a DRM client bufferdrivers/ | +24 | 0 replies | |
| 3/3 | drm/armada: Make armada_framebuffer_create() an internal interfacedrivers/ drivers/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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