dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/9] drm/tinydrm: Move mipi_dbi
@ 2019-07-22 10:43 Noralf Trønnes
  2019-07-22 10:43 ` [PATCH v2 1/9] drm/tinydrm/mipi-dbi: Move cmdlock mutex init Noralf Trønnes
                   ` (9 more replies)
  0 siblings, 10 replies; 19+ messages in thread
From: Noralf Trønnes @ 2019-07-22 10:43 UTC (permalink / raw)
  To: dri-devel; +Cc: sam, david

This series ticks off the last tinydrm todo entry and moves out mipi_dbi
to be a core helper.

It splits struct mipi_dbi into an interface part and a display pipeline
part (upload framebuffer over SPI). I also took the opportunity to
rename the ambiguous 'mipi' variable name to 'dbi'. This lines up with
the use of the 'dsi' variable name in the MIPI DSI helper.

Changes since v1:
The kbuild test robot alerted me to the fact that I was missing a
dependency on DRM_MIPI_DBI. I also realised that it had a dependency on
the CMA helper as well.

The CMA helper dependency was resolved by open coding a function.

The KMS helper dependency revealed a problem with the BACKLIGHT
dependency. Details in the patch.

I had mistakenly set DRM_MIPI_DBI to bool, this has been changed to
tristate.

Note:
This depends on series: drm/tinydrm: Remove tinydrm.ko

Series is also available here:
https://github.com/notro/linux/tree/move_mipi_dbi

Noralf.

Noralf Trønnes (9):
  drm/tinydrm/mipi-dbi: Move cmdlock mutex init
  drm/tinydrm: Rename variable mipi -> dbi
  drm/tinydrm: Rename remaining variable mipi -> dbidev
  drm/tinydrm: Split struct mipi_dbi in two
  drm/tinydrm/mipi-dbi: Remove CMA helper dependency
  drm/tinydrm/Kconfig: drivers: Select BACKLIGHT_CLASS_DEVICE
  drm/tinydrm/mipi-dbi: Select DRM_KMS_HELPER
  drm/tinydrm: Move mipi-dbi
  MAINTAINERS: Remove tinydrm entry

 Documentation/gpu/drivers.rst                 |   1 -
 Documentation/gpu/drm-kms-helpers.rst         |  12 +
 Documentation/gpu/tinydrm.rst                 |  18 -
 Documentation/gpu/todo.rst                    |  13 -
 MAINTAINERS                                   |  13 +-
 drivers/gpu/drm/Kconfig                       |   4 +
 drivers/gpu/drm/Makefile                      |   1 +
 .../{tinydrm/mipi-dbi.c => drm_mipi_dbi.c}    | 333 +++++++++---------
 drivers/gpu/drm/tinydrm/Kconfig               |  23 +-
 drivers/gpu/drm/tinydrm/Makefile              |   4 -
 drivers/gpu/drm/tinydrm/hx8357d.c             |  61 ++--
 drivers/gpu/drm/tinydrm/ili9225.c             | 171 ++++-----
 drivers/gpu/drm/tinydrm/ili9341.c             |  83 ++---
 drivers/gpu/drm/tinydrm/mi0283qt.c            |  89 ++---
 drivers/gpu/drm/tinydrm/st7586.c              | 104 +++---
 drivers/gpu/drm/tinydrm/st7735r.c             |  77 ++--
 include/drm/drm_mipi_dbi.h                    | 188 ++++++++++
 include/drm/tinydrm/mipi-dbi.h                | 135 -------
 18 files changed, 691 insertions(+), 639 deletions(-)
 delete mode 100644 Documentation/gpu/tinydrm.rst
 rename drivers/gpu/drm/{tinydrm/mipi-dbi.c => drm_mipi_dbi.c} (77%)
 create mode 100644 include/drm/drm_mipi_dbi.h
 delete mode 100644 include/drm/tinydrm/mipi-dbi.h

-- 
2.20.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2019-07-25  8:58 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-22 10:43 [PATCH v2 0/9] drm/tinydrm: Move mipi_dbi Noralf Trønnes
2019-07-22 10:43 ` [PATCH v2 1/9] drm/tinydrm/mipi-dbi: Move cmdlock mutex init Noralf Trønnes
2019-07-22 10:43 ` [PATCH v2 2/9] drm/tinydrm: Rename variable mipi -> dbi Noralf Trønnes
2019-07-22 20:19   ` David Lechner
2019-07-22 10:43 ` [PATCH v2 3/9] drm/tinydrm: Rename remaining variable mipi -> dbidev Noralf Trønnes
2019-07-22 20:19   ` David Lechner
2019-07-22 10:43 ` [PATCH v2 4/9] drm/tinydrm: Split struct mipi_dbi in two Noralf Trønnes
2019-07-22 20:25   ` David Lechner
2019-07-22 10:43 ` [PATCH v2 5/9] drm/tinydrm/mipi-dbi: Remove CMA helper dependency Noralf Trønnes
2019-07-22 20:36   ` David Lechner
2019-07-22 10:43 ` [PATCH v2 6/9] drm/tinydrm/Kconfig: drivers: Select BACKLIGHT_CLASS_DEVICE Noralf Trønnes
2019-07-22 20:36   ` David Lechner
2019-07-22 10:43 ` [PATCH v2 7/9] drm/tinydrm/mipi-dbi: Select DRM_KMS_HELPER Noralf Trønnes
2019-07-22 20:37   ` David Lechner
2019-07-22 10:43 ` [PATCH v2 8/9] drm/tinydrm: Move mipi-dbi Noralf Trønnes
2019-07-22 20:32   ` David Lechner
2019-07-22 10:43 ` [PATCH v2 9/9] MAINTAINERS: Remove tinydrm entry Noralf Trønnes
2019-07-22 20:33   ` David Lechner
2019-07-25  8:58 ` [PATCH v2 0/9] drm/tinydrm: Move mipi_dbi Noralf Trønnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox