Hi, 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. 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(-) -- 2.14.2 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel