video: tegra: host: move resources to devices
authorMayuresh Kulkarni <mkulkarni@nvidia.com>
Tue, 3 Apr 2012 06:32:20 +0000 (11:32 +0530)
committerSimone Willett <swillett@nvidia.com>
Tue, 10 Apr 2012 18:17:30 +0000 (11:17 -0700)
commit321f8f895cc9b5217fdae8f4922b4b8995d2cb12
tree427a1c02f924a9c9e358624abad75cd7161228a7
parent0896b9aaf9f9000440a4a903108e991848c3db72
video: tegra: host: move resources to devices

- as of now the resources needed by all the host1x
modules are part of resource list of host1x device
- now that each module is a nvhost_device of its own,
so it should hold the resources it needs instead of
host1x device holding it for them
- each device that needs its resources gets it in its
_probe() using a helper API in bus_client.c

Bug 871237

Change-Id: Ia7c63fcf40cbc5db76d4d8339294a0e9ce75e352
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/94166
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
drivers/video/tegra/host/bus_client.c
drivers/video/tegra/host/bus_client.h
drivers/video/tegra/host/dev.c
drivers/video/tegra/host/isp/isp.c
drivers/video/tegra/host/mpe/mpe.c
drivers/video/tegra/host/nvhost_channel.c
drivers/video/tegra/host/vi/vi.c