mbox series

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

Message ID 20190225144232.20761-1-noralf@tronnes.org (mailing list archive)
Headers show
Series drm/tinydrm: Remove tinydrm_device | expand

Message

Noralf Trønnes Feb. 25, 2019, 2:42 p.m. UTC
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

Comments

Noralf Trønnes March 4, 2019, 2:40 p.m. UTC | #1
Den 25.02.2019 15.42, skrev Noralf Trønnes:
> 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()
> 

Series is applied to drm-misc-next, thanks for reviewing!

Noralf.

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