From: Thierry Reding <thierry.reding@gmail.com>
To: dri-devel@lists.freedesktop.org
Subject: [PATCH v3 0/4] drm/tegra: Remove host1x drm_bus implementation
Date: Thu, 22 May 2014 12:21:20 +0200 [thread overview]
Message-ID: <1400754084-25707-1-git-send-email-thierry.reding@gmail.com> (raw)
From: Thierry Reding <treding@nvidia.com>
This series of patches gets rid of the host1x drm_bus implementation in
Tegra DRM. It introduces a drm_dev_set_unique() function that is used to
statically set the unique name of the device, thereby eliminating the
last remaining need for drm_bus.
There are also a couple of patches to update documentation and explain
how other drivers can use the same mechanism to get rid of the drm_bus
midlayer. This should be easy to do for both drm_platform and drm_usb,
but drm_pci is still a special case, though Daniel Vetter has plans on
how to get rid of drm_bus for PCI drivers too.
Compared to v2 I've left out the conversion to the component helpers
because nobody could be bothered to look at the patches. As a result
I've decided to stick with the existing implementation that has proven
to work equally well.
Thierry
Thierry Reding (4):
drm: Introduce drm_dev_set_unique()
drm: Add device registration documentation
drm: Document how to register devices without struct drm_bus
drm/tegra: Remove host1x drm_bus implementation
Documentation/DocBook/drm.tmpl | 36 +++++++++++++++++++
drivers/gpu/drm/drm_ioctl.c | 24 +++++++++----
drivers/gpu/drm/drm_pci.c | 80 ++++++++++++++++++++----------------------
drivers/gpu/drm/drm_platform.c | 15 ++++----
drivers/gpu/drm/drm_stub.c | 48 +++++++++++++++++++------
drivers/gpu/drm/drm_usb.c | 20 ++++++++++-
drivers/gpu/drm/tegra/Makefile | 1 -
drivers/gpu/drm/tegra/bus.c | 64 ---------------------------------
drivers/gpu/drm/tegra/drm.c | 35 +++++++++++++++---
drivers/gpu/drm/tegra/drm.h | 4 ---
include/drm/drmP.h | 2 ++
11 files changed, 187 insertions(+), 142 deletions(-)
delete mode 100644 drivers/gpu/drm/tegra/bus.c
--
1.9.2
next reply other threads:[~2014-05-22 10:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-22 10:21 Thierry Reding [this message]
2014-05-22 10:21 ` [PATCH v3 1/4] drm: Introduce drm_dev_set_unique() Thierry Reding
2014-05-22 11:06 ` David Herrmann
2014-05-22 10:21 ` [PATCH v3 2/4] drm: Add device registration documentation Thierry Reding
2014-05-22 22:47 ` Daniel Vetter
2014-05-22 10:21 ` [PATCH v3 3/4] drm: Document how to register devices without struct drm_bus Thierry Reding
2014-05-22 22:43 ` Daniel Vetter
2014-05-22 10:21 ` [PATCH v3 4/4] drm/tegra: Remove host1x drm_bus implementation Thierry Reding
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=1400754084-25707-1-git-send-email-thierry.reding@gmail.com \
--to=thierry.reding@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
/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