[PATCH v3 0/7] drm/tinydrm: Remove tinydrm_device

Noralf Trønnes noralf at tronnes.org
Mon Feb 25 14:42:25 UTC 2019


This patchset is part of the effort to remove tinydrm.ko. It removes
struct tinydrm_device and tinydrm.h.

Only one change in this version and that is expanding the driver
example.

The drm_dev_unplug() dependency series has been applied together with
some patches from the previous version.

I've cc'ed intel-gfx so the Intel CI can verify the parent device ref
patch.

Noralf.

Noralf Trønnes (7):
  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/tinydrm/repaper: Drop using tinydrm_device
  drm/tinydrm: Drop using tinydrm_device
  drm/tinydrm: Remove tinydrm_device
  drm/tinydrm: Use drm_dev_enter/exit()

 Documentation/driver-model/devres.txt         |   3 +
 Documentation/gpu/tinydrm.rst                 |  32 +---
 Documentation/gpu/todo.rst                    |   4 -
 drivers/gpu/drm/drm_drv.c                     | 176 +++++++++++++++++-
 drivers/gpu/drm/tinydrm/core/Makefile         |   2 +-
 drivers/gpu/drm/tinydrm/core/tinydrm-core.c   | 169 -----------------
 .../gpu/drm/tinydrm/core/tinydrm-helpers.c    |   2 +
 drivers/gpu/drm/tinydrm/hx8357d.c             |  49 ++++-
 drivers/gpu/drm/tinydrm/ili9225.c             |  63 ++++++-
 drivers/gpu/drm/tinydrm/ili9341.c             |  49 ++++-
 drivers/gpu/drm/tinydrm/mi0283qt.c            |  49 ++++-
 drivers/gpu/drm/tinydrm/mipi-dbi.c            | 109 ++++++++---
 drivers/gpu/drm/tinydrm/repaper.c             | 130 +++++++++----
 drivers/gpu/drm/tinydrm/st7586.c              | 129 ++++++++-----
 drivers/gpu/drm/tinydrm/st7735r.c             |  49 ++++-
 include/drm/drm_drv.h                         |   3 +
 include/drm/tinydrm/mipi-dbi.h                |  26 ++-
 include/drm/tinydrm/tinydrm.h                 |  42 -----
 18 files changed, 688 insertions(+), 398 deletions(-)
 delete mode 100644 drivers/gpu/drm/tinydrm/core/tinydrm-core.c
 delete mode 100644 include/drm/tinydrm/tinydrm.h

-- 
2.20.1



More information about the dri-devel mailing list