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

Noralf Trønnes noralf at tronnes.org
Wed Dec 20 14:00:01 UTC 2017


Den 15.12.2017 18.51, skrev Noralf Trønnes:
> 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()

Pathes 1-5 applied to drm-misc. Thanks for the review Daniel!
I will do a round up of the remaining cma helper patches when I have
moved tinydrm to the vmalloc BO helper.

Noralf.

>    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(-)
>



More information about the dri-devel mailing list