[PATCH 0/4] drm/armada: Convert fbdev to DRM client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Convert armada's fbdev code to struct drm_client. Replaces the current
ad-hoc integration. The conversion includes a number of cleanups. As
with most other driver's fbdev emulation, fbdev in armada 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 (4):
  drm/armada: Include <linux/of.h>
  drm/armada: Hide fbdev support behind config option
  drm/armada: Initialize fbdev DRM client
  drm/armada: Implement fbdev emulation as in-kernel client

 drivers/gpu/drm/armada/Makefile       |   3 +-
 drivers/gpu/drm/armada/armada_drm.h   |  10 ++-
 drivers/gpu/drm/armada/armada_drv.c   |  12 +--
 drivers/gpu/drm/armada/armada_fb.c    |   1 -
 drivers/gpu/drm/armada/armada_fbdev.c | 119 +++++++++++++++++++-------
 5 files changed, 98 insertions(+), 47 deletions(-)

-- 
2.40.0




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux