Skip to content

drm/tegra: Remove host1x drm_bus implementation

Thierry Reding dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest4 patches 3 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm: Introduce drm_dev_set_unique()drivers/gpu/drm/drm_ioctl.c drivers/gpu/drm/drm_stub.c include/drm/drmP.h+46 -61 reply
2/4drm: Add device registration documentationDocumentation/DocBook/drm.tmpl drivers/gpu/drm/drm_pci.c drivers/gpu/drm/drm_platform.c +2 more+85 -621 reply
3/4drm: Document how to register devices without struct drm_busDocumentation/DocBook/drm.tmpl+26 -01 reply
4/4drm/tegra: Remove host1x drm_bus implementationdrivers/gpu/drm/tegra/Makefile drivers/gpu/drm/tegra/bus.c drivers/gpu/drm/tegra/drm.c +1 more+30 -740 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchDaniel VetterDavid Herrmann
1/4R-b R-b
2/4A-b
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] drm/tegra: Remove host1x drm_bus implementation

From: Thierry Reding <[email protected]>

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
Signature · 1 line
1.9.2