drm/tegra: Move subdevice infrastructure to host1x
authorThierry Reding <treding@nvidia.com>
Mon, 14 Oct 2013 12:43:22 +0000 (14:43 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 31 Oct 2013 08:55:33 +0000 (09:55 +0100)
commit776dc38403676f499a73d32e2e7c61eb5b42f736
tree5c9f8d670b51d743c5bbab45ec401e30f22579c1
parent35d747a81d7eb824bd0c3476cd0c564b52ad5353
drm/tegra: Move subdevice infrastructure to host1x

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>
14 files changed:
drivers/gpu/host1x/Makefile
drivers/gpu/host1x/bus.c [new file with mode: 0644]
drivers/gpu/host1x/bus.h [new file with mode: 0644]
drivers/gpu/host1x/dev.c
drivers/gpu/host1x/dev.h
drivers/gpu/host1x/drm/bus.c [new file with mode: 0644]
drivers/gpu/host1x/drm/dc.c
drivers/gpu/host1x/drm/drm.c
drivers/gpu/host1x/drm/drm.h
drivers/gpu/host1x/drm/gr2d.c
drivers/gpu/host1x/drm/hdmi.c
drivers/gpu/host1x/host1x_client.h [deleted file]
include/drm/drmP.h
include/linux/host1x.h