[PATCH 0/7] Add drm_fb_helper_fbdev_setup/teardown()

Noralf Trønnes noralf at tronnes.org
Thu Dec 14 19:10:01 UTC 2017


This is a new attempt at simplifying fbdev setup/teardown in drivers.
Hopefully this one is better than my previous attempt. The previous
version allocated the drm_fb_helper struct as well, this time I leave it
to the driver.

I've included an fbdev deferred I/O setup helper as well since it's part
of the teardown.

As always I struggle with documentation so I welcome all help in getting
the words right.


Noralf Trønnes (7):
  drm/fb-helper: Set/clear dev->fb_helper in dummy init/fini
  drm/fb-helper: Add drm_fb_helper_fbdev_setup/teardown()
  drm/docs: Add todo entry for drm_fb_helper_fbdev_setup()
  drm/fb-helper: Update DOC with new helpers
  drm/fb-helper: Add drm_fb_helper_defio_init()
  drm/fb-cma-helper: Use drm_fb_helper_fbdev_setup/teardown()
  drm/fb-cma-helper: Honour DRM_FBDEV_EMULATION

 Documentation/gpu/todo.rst          |  18 ++++
 drivers/gpu/drm/Kconfig             |   5 +-
 drivers/gpu/drm/drm_fb_cma_helper.c | 111 +++-------------------
 drivers/gpu/drm/drm_fb_helper.c     | 181 +++++++++++++++++++++++++++++++++---
 include/drm/drm_fb_helper.h         |  38 ++++++++
 5 files changed, 241 insertions(+), 112 deletions(-)


More information about the dri-devel mailing list