]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit15e9124f87d51b5d4996f079c2761d55b56e6805
tree5c9f8d670b51d743c5bbab45ec401e30f22579c1
parent23af29e5383a8860ad3242fd4e49829e7cdf6c8f
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