From: Eric Anholt <eric@anholt.net>
To: dri-devel@lists.freedesktop.org, tom.cooksey@arm.com,
Russell King <linux@armlinux.org.uk>
Cc: linux-kernel@vger.kernel.org, Eric Anholt <eric@anholt.net>
Subject: [PATCH 0/2] ARM CLCD DRM driver
Date: Fri, 17 Mar 2017 15:47:40 -0700 [thread overview]
Message-ID: <20170317224742.17219-1-eric@anholt.net> (raw)
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
next reply other threads:[~2017-03-18 0:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-17 22:47 Eric Anholt [this message]
2017-03-17 22:47 ` [PATCH 1/2] video: ARM CLCD: Move registers to a separate header Eric Anholt
2017-03-17 22:47 ` [PATCH 2/2] drm/pl111: Initial drm/kms driver for pl111 Eric Anholt
2017-03-17 23:09 ` Russell King - ARM Linux
2017-03-18 0:45 ` Eric Anholt
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-20 8:34 ` Daniel Vetter
2017-03-20 18:23 ` Eric Anholt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170317224742.17219-1-eric@anholt.net \
--to=eric@anholt.net \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=tom.cooksey@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®