Hi, This is a new attempt at simplifying fbdev setup/teardown in drivers.
Only doc changes in this version based on feedback from Daniel. Noralf. Changes since version 1: - Document a case where drm_fb_helper_fbdev_setup() can't be used: connector hotplugging (e.g. dp mst). - Document where drm_fb_helper_defio_init() should be called from. - Move drm_fb_helper_defio_init() recommendation to DOC framebuffer flushing section. 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 | 188 +++++++++++++++++++++++++++++++++--- include/drm/drm_fb_helper.h | 38 ++++++++ 5 files changed, 247 insertions(+), 113 deletions(-) -- 2.14.2 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel