]> 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)
commitdd9309b1bc24dc7a2655534f55574fa9e6c80a82
tree5c9f8d670b51d743c5bbab45ec401e30f22579c1
parent99d5e0e71355709dae6a84c290ae21de79edbdda
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