dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] drm/tegra: Remove host1x drm_bus implementation
@ 2014-05-22 10:21 Thierry Reding
  2014-05-22 10:21 ` [PATCH v3 1/4] drm: Introduce drm_dev_set_unique() Thierry Reding
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Thierry Reding @ 2014-05-22 10:21 UTC (permalink / raw)
  To: dri-devel

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

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

end of thread, other threads:[~2014-05-22 22:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-22 10:21 [PATCH v3 0/4] drm/tegra: Remove host1x drm_bus implementation Thierry Reding
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

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