Skip to content

Commit

Permalink
drm/tegra: Move subdevice infrastructure to host1x
Browse files Browse the repository at this point in the history
The Tegra DRM driver currently uses some infrastructure to defer the DRM
core initialization until all required devices have registered. The same
infrastructure can potentially be used by any other driver that requires
more than a single sub-device of the host1x module.

Make the infrastructure more generic and keep only the DRM specific code
in the DRM part of the driver. Eventually this will make it easy to move
the DRM driver part back to the DRM subsystem.

Signed-off-by: Thierry Reding <treding@nvidia.com>
  • Loading branch information
Thierry Reding committed Oct 31, 2013
1 parent 35d747a commit 776dc38
Show file tree
Hide file tree
Showing 13 changed files with 898 additions and 365 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/host1x/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ccflags-y = -Idrivers/gpu/host1x

host1x-y = \
bus.o \
syncpt.o \
dev.o \
intr.o \
Expand All @@ -17,4 +18,5 @@ host1x-$(CONFIG_DRM_TEGRA) += drm/drm.o drm/fb.o drm/dc.o
host1x-$(CONFIG_DRM_TEGRA) += drm/output.o drm/rgb.o drm/hdmi.o
host1x-$(CONFIG_DRM_TEGRA) += drm/gem.o
host1x-$(CONFIG_DRM_TEGRA) += drm/gr2d.o
host1x-$(CONFIG_DRM_TEGRA) += drm/bus.o
obj-$(CONFIG_TEGRA_HOST1X) += host1x.o
Loading

0 comments on commit 776dc38

Please sign in to comment.