This patchset is part of the effort to remove tinydrm.ko. It removes struct tinydrm_device and tinydrm.h.
Main changes in this version: Take a ref on the parent device for the drm_device lifetime. Drop devm_drm_dev_register() and add driver remove callbacks. The reason is that drm_atomic_helper_shutdown() must be called after unregister and it's not allowed to touch hardware in a devm release action. Drop drm_simple_connector. I couldn't do rotation the proposed way so I need more time to sort it out. I've also started on a driver example for the documentation. Note: The series depends on this: drm/drv: Rework drm_dev_unplug() https://patchwork.freedesktop.org/series/56406/ Noralf. Noralf Trønnes (12): drm/drv: Hold ref on parent device during drm_device lifetime drm: Add devm_drm_dev_init() drm/drv: DOC: Add driver example code drm/modes: Add DRM_SIMPLE_MODE() drm/tinydrm: tinydrm_display_pipe_init() don't use tinydrm_device drm/tinydrm: Remove tinydrm_shutdown() drm/tinydrm/mipi-dbi: Add drm_to_mipi_dbi() drm/tinydrm/repaper: Drop using tinydrm_device drm/tinydrm: Drop using tinydrm_device drm/tinydrm: Remove tinydrm_device drm/tinydrm: Use drm_dev_enter/exit() drm/fb-helper: generic: Don't take module ref for fbcon Documentation/driver-model/devres.txt | 3 + Documentation/gpu/tinydrm.rst | 32 +-- Documentation/gpu/todo.rst | 4 - drivers/gpu/drm/drm_drv.c | 162 +++++++++++++++- drivers/gpu/drm/drm_fb_helper.c | 6 +- drivers/gpu/drm/tinydrm/core/Makefile | 2 +- drivers/gpu/drm/tinydrm/core/tinydrm-core.c | 183 ------------------ .../gpu/drm/tinydrm/core/tinydrm-helpers.c | 2 + drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c | 24 +-- drivers/gpu/drm/tinydrm/hx8357d.c | 59 ++++-- drivers/gpu/drm/tinydrm/ili9225.c | 81 ++++++-- drivers/gpu/drm/tinydrm/ili9341.c | 59 ++++-- drivers/gpu/drm/tinydrm/mi0283qt.c | 67 +++++-- drivers/gpu/drm/tinydrm/mipi-dbi.c | 118 +++++++---- drivers/gpu/drm/tinydrm/repaper.c | 144 ++++++++++---- drivers/gpu/drm/tinydrm/st7586.c | 145 ++++++++------ drivers/gpu/drm/tinydrm/st7735r.c | 59 ++++-- include/drm/drm_drv.h | 3 + include/drm/drm_modes.h | 17 ++ include/drm/tinydrm/mipi-dbi.h | 27 ++- include/drm/tinydrm/tinydrm-helpers.h | 13 ++ include/drm/tinydrm/tinydrm.h | 75 ------- 22 files changed, 762 insertions(+), 523 deletions(-) delete mode 100644 drivers/gpu/drm/tinydrm/core/tinydrm-core.c delete mode 100644 include/drm/tinydrm/tinydrm.h -- 2.20.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel