Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH 0/6] drm/msm: Convert fbdev to DRM client
@ 2023-03-30  7:41 Thomas Zimmermann
  2023-03-30  7:41 ` [PATCH 1/6] drm/msm: Clear aperture ownership outside of fbdev code Thomas Zimmermann
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Thomas Zimmermann @ 2023-03-30  7:41 UTC (permalink / raw)
  To: robdclark, quic_abhinavk, dmitry.baryshkov, sean, javierm,
	airlied, daniel
  Cc: linux-arm-msm, dri-devel, freedreno, Thomas Zimmermann

Convert msm' 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 msm 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 (6):
  drm/msm: Clear aperture ownership outside of fbdev code
  drm/msm: Remove fb from struct msm_fbdev
  drm/msm: Remove struct msm_fbdev
  drm/msm: Remove fbdev from struct msm_drm_private
  drm/msm: Initialize fbdev DRM client
  drm/msm: Implement fbdev emulation as in-kernel client

 drivers/gpu/drm/msm/msm_debugfs.c |   6 +-
 drivers/gpu/drm/msm/msm_drv.c     |  21 ++--
 drivers/gpu/drm/msm/msm_drv.h     |  12 ++-
 drivers/gpu/drm/msm/msm_fbdev.c   | 168 ++++++++++++++++++------------
 4 files changed, 118 insertions(+), 89 deletions(-)

-- 
2.40.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-04-03 11:19 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-30  7:41 [PATCH 0/6] drm/msm: Convert fbdev to DRM client Thomas Zimmermann
2023-03-30  7:41 ` [PATCH 1/6] drm/msm: Clear aperture ownership outside of fbdev code Thomas Zimmermann
2023-03-30  9:51   ` Dmitry Baryshkov
2023-04-03 11:19     ` Thomas Zimmermann
2023-03-30  7:41 ` [PATCH 2/6] drm/msm: Remove fb from struct msm_fbdev Thomas Zimmermann
2023-03-30  9:56   ` Dmitry Baryshkov
2023-03-30  7:41 ` [PATCH 3/6] drm/msm: Remove " Thomas Zimmermann
2023-03-30  9:57   ` Dmitry Baryshkov
2023-03-30  7:41 ` [PATCH 4/6] drm/msm: Remove fbdev from struct msm_drm_private Thomas Zimmermann
2023-03-30 10:01   ` Dmitry Baryshkov
2023-03-30  7:41 ` [PATCH 5/6] drm/msm: Initialize fbdev DRM client Thomas Zimmermann
2023-03-30 10:05   ` Dmitry Baryshkov
2023-03-30  7:41 ` [PATCH 6/6] drm/msm: Implement fbdev emulation as in-kernel client Thomas Zimmermann
2023-03-30 10:22   ` kernel test robot
2023-03-30 10:33   ` kernel test robot
2023-03-30  9:46 ` [PATCH 0/6] drm/msm: Convert fbdev to DRM client Dmitry Baryshkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox