Skip to content

drm/exynos: Convert fbdev to DRM client

Thomas Zimmermann dri-devel linux-arm-kernel linux-samsung-soc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/exynos: Remove exynos_gem from struct exynos_drm_fbdevdrivers/gpu/drm/exynos/exynos_drm_fbdev.c+4 -90 replies
2/5drm/exynos: Remove struct exynos_drm_fbdevdrivers/gpu/drm/exynos/exynos_drm_fbdev.c+5 -160 replies
3/5drm/exynos: Remove fb_helper from struct exynos_drm_privatedrivers/gpu/drm/exynos/exynos_drm_drv.h drivers/gpu/drm/exynos/exynos_drm_fbdev.c+5 -120 replies
4/5drm/exynos: Initialize fbdev DRM clientdrivers/gpu/drm/exynos/exynos_drm_fbdev.c+33 -20 replies
5/5drm/exynos: Implement fbdev emulation as in-kernel clientdrivers/gpu/drm/exynos/exynos_drm_drv.c drivers/gpu/drm/exynos/exynos_drm_fb.c drivers/gpu/drm/exynos/exynos_drm_fbdev.c +1 more+77 -1080 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchMarek Szyprowski
SeriesT-b
1/5
2/5
3/5
4/5
5/5

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/5] drm/exynos: Convert fbdev to DRM client

Convert exynos' 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 exynos 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 (5):
drm/exynos: Remove exynos_gem from struct exynos_drm_fbdev drm/exynos: Remove struct exynos_drm_fbdev drm/exynos: Remove fb_helper from struct exynos_drm_private drm/exynos: Initialize fbdev DRM client drm/exynos: Implement fbdev emulation as in-kernel client

 drivers/gpu/drm/exynos/exynos_drm_drv.c   |  13 +-
 drivers/gpu/drm/exynos/exynos_drm_drv.h   |   2 -
 drivers/gpu/drm/exynos/exynos_drm_fb.c    |   2 -
 drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 174 +++++++++++-----------
 drivers/gpu/drm/exynos/exynos_drm_fbdev.h |  20 +--
 5 files changed, 94 insertions(+), 117 deletions(-)
Signature · 1 line
2.40.0