[PATCH v2 0/2] drm: Add support for tiny LCD displays

Noralf Trønnes noralf at tronnes.org
Fri Jan 27 19:56:29 UTC 2017


This is an attempt at providing a DRM version of drivers/staging/fbtft.

The tinydrm library provides a very simplified view of DRM in particular
for tiny displays that has onboard video memory and is connected through
a slow bus like SPI/I2C.

Only core patches this time.


Noralf.


Changes since version 1:
- Add tinydrm.rst
- Set tdev->fbdev_cma=NULL on unregister (lastclose is called after that).
- Remove some DRM_DEBUG*()
- Write-combined memory has uncached reads, so speed up by copying/buffering
  one pixel line before conversion.


Noralf Trønnes (2):
  drm: Add DRM support for tiny LCD displays
  drm/tinydrm: Add helper functions

 Documentation/gpu/index.rst                    |   1 +
 Documentation/gpu/tinydrm.rst                  |  30 ++
 drivers/gpu/drm/Kconfig                        |   2 +
 drivers/gpu/drm/Makefile                       |   1 +
 drivers/gpu/drm/tinydrm/Kconfig                |   8 +
 drivers/gpu/drm/tinydrm/Makefile               |   1 +
 drivers/gpu/drm/tinydrm/core/Makefile          |   3 +
 drivers/gpu/drm/tinydrm/core/tinydrm-core.c    | 377 ++++++++++++++++++++
 drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 462 +++++++++++++++++++++++++
 drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c    | 234 +++++++++++++
 include/drm/tinydrm/tinydrm-helpers.h          | 100 ++++++
 include/drm/tinydrm/tinydrm.h                  | 115 ++++++
 12 files changed, 1334 insertions(+)
 create mode 100644 Documentation/gpu/tinydrm.rst
 create mode 100644 drivers/gpu/drm/tinydrm/Kconfig
 create mode 100644 drivers/gpu/drm/tinydrm/Makefile
 create mode 100644 drivers/gpu/drm/tinydrm/core/Makefile
 create mode 100644 drivers/gpu/drm/tinydrm/core/tinydrm-core.c
 create mode 100644 drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c
 create mode 100644 drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c
 create mode 100644 include/drm/tinydrm/tinydrm-helpers.h
 create mode 100644 include/drm/tinydrm/tinydrm.h

--
2.10.2



More information about the dri-devel mailing list