Skip to content

drm/tegra: fbdev: Use client buffers

Thomas Zimmermann dri-devel linux-tegra stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/tegra: fbdev: Do not assign to struct drm_fb_helper.infodrivers/gpu/drm/tegra/fbdev.c+0 -10 replies
2/5drm/tegra: fbdev: Remove offset into framebuffer memorydrivers/gpu/drm/tegra/fbdev.c+2 -60 replies
3/5drm/tegra: fbdev: Calculate buffer geometry with format helpersdrivers/gpu/drm/tegra/fbdev.c+16 -180 replies
4/5drm/tegra: fbdev: Use a DRM client bufferdrivers/gpu/drm/tegra/fbdev.c+36 -250 replies
5/5drm/tegra: Make tegra_fb_alloc() an internal interfacedrivers/gpu/drm/tegra/drm.h drivers/gpu/drm/tegra/fb.c+1 -50 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/5] drm/tegra: fbdev: Use client buffers

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

Convert tegra's fbdev emulation to use client buffers. Replacing the existing code with a client buffer allows for stream-lining tegra 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.

Patches 1 and 2 fix problems in the fbdev-emulation code.

Patches 3 and 4 convert fbdev emulation to shared DRM interfaces and client buffers.

Patch 5 cleans up.

Thomas Zimmermann (5):
drm/tegra: fbdev: Do not assign to struct drm_fb_helper.info drm/tegra: fbdev: Remove offset into framebuffer memory drm/tegra: fbdev: Calculate buffer geometry with format helpers drm/tegra: fbdev: Use a DRM client buffer
drm/tegra: Make tegra_fb_alloc() an internal interface

 drivers/gpu/drm/tegra/drm.h   |  5 --
 drivers/gpu/drm/tegra/fb.c    |  1 +
 drivers/gpu/drm/tegra/fbdev.c | 88 ++++++++++++++++++-----------------
 3 files changed, 47 insertions(+), 47 deletions(-)
Signature · 1 line
2.53.0