All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM CLCD DRM driver
@ 2017-03-17 22:47 ` Eric Anholt
  0 siblings, 0 replies; 18+ messages in thread
From: Eric Anholt @ 2017-03-17 22:47 UTC (permalink / raw)
  To: dri-devel, tom.cooksey, Russell King; +Cc: linux-kernel, Eric Anholt

This is a resurrection of Tom Cooksey's old CLCD DRM driver, which I
needed in order to do dmabuf buffer sharing from VC4 to the CLCD
display on the bcm911360_entphn platform.  With a couple of hacks to
the X Server, I've got it (sometimes) running glxgears on vc4 and
displaying on CLCD.

The panel power sequencing part is not thoroughly tested.  My DRM
panel driver (not included) for this board is still a stub and doesn't
do the power on SPI reset sequence.

There are a few TODO entries left, which are noted in the
documentation.  My primary concern with this driver is that, since it
binds to the same device as fbdev but isn't a complete replacement,
people might turn it on and break their display setup.  I figure until
someone wants to turn DRM CLCD on in a multi-platform defconfig, we
ought to be fine with that, though.

My plan would be for this to go through the drm-misc tree once it's
ready.

For anyone interested in looking through the history of what I changed
from Tom's v1 patch,
https://github.com/anholt/linux/tree/bcm11360-clcd has it (and all the
rest of the platform bits I've needed).

Eric Anholt (1):
  video: ARM CLCD: Move registers to a separate header.

Tom Cooksey (1):
  drm/pl111: Initial drm/kms driver for pl111

 Documentation/gpu/index.rst             |   1 +
 Documentation/gpu/pl111.rst             |   6 +
 drivers/gpu/drm/Kconfig                 |   2 +
 drivers/gpu/drm/Makefile                |   1 +
 drivers/gpu/drm/pl111/Kconfig           |  12 ++
 drivers/gpu/drm/pl111/Makefile          |   8 +
 drivers/gpu/drm/pl111/pl111_connector.c | 127 ++++++++++++++
 drivers/gpu/drm/pl111/pl111_crtc.c      | 239 ++++++++++++++++++++++++++
 drivers/gpu/drm/pl111/pl111_drm.h       |  64 +++++++
 drivers/gpu/drm/pl111/pl111_drv.c       | 292 ++++++++++++++++++++++++++++++++
 drivers/gpu/drm/pl111/pl111_encoder.c   |  50 ++++++
 drivers/gpu/drm/pl111/pl111_gem.c       |  35 ++++
 drivers/gpu/drm/pl111/pl111_plane.c     | 167 ++++++++++++++++++
 include/linux/amba/clcd-regs.h          |  76 +++++++++
 include/linux/amba/clcd.h               |  68 +-------
 15 files changed, 1081 insertions(+), 67 deletions(-)
 create mode 100644 Documentation/gpu/pl111.rst
 create mode 100644 drivers/gpu/drm/pl111/Kconfig
 create mode 100644 drivers/gpu/drm/pl111/Makefile
 create mode 100644 drivers/gpu/drm/pl111/pl111_connector.c
 create mode 100644 drivers/gpu/drm/pl111/pl111_crtc.c
 create mode 100644 drivers/gpu/drm/pl111/pl111_drm.h
 create mode 100644 drivers/gpu/drm/pl111/pl111_drv.c
 create mode 100644 drivers/gpu/drm/pl111/pl111_encoder.c
 create mode 100644 drivers/gpu/drm/pl111/pl111_gem.c
 create mode 100644 drivers/gpu/drm/pl111/pl111_plane.c
 create mode 100644 include/linux/amba/clcd-regs.h

-- 
2.11.0

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

end of thread, other threads:[~2017-03-24  8:19 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-17 22:47 [PATCH 0/2] ARM CLCD DRM driver Eric Anholt
2017-03-17 22:47 ` Eric Anholt
2017-03-17 22:47 ` [PATCH 1/2] video: ARM CLCD: Move registers to a separate header Eric Anholt
2017-03-17 22:47   ` Eric Anholt
2017-03-17 22:47 ` [PATCH 2/2] drm/pl111: Initial drm/kms driver for pl111 Eric Anholt
2017-03-17 22:47   ` Eric Anholt
2017-03-17 23:09   ` Russell King - ARM Linux
2017-03-18  0:45     ` Eric Anholt
2017-03-18  0:45       ` Eric Anholt
2017-03-23 21:54     ` Linus Walleij
2017-03-23 21:54       ` Linus Walleij
2017-03-23 23:31       ` Russell King - ARM Linux
2017-03-24  8:08         ` Linus Walleij
2017-03-24  8:08           ` Linus Walleij
2017-03-20  8:34   ` Daniel Vetter
2017-03-20  8:34     ` Daniel Vetter
2017-03-20 18:23     ` Eric Anholt
2017-03-20 18:23       ` Eric Anholt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.