video: tegra: host: move resources to devices
authorMayuresh Kulkarni <mkulkarni@nvidia.com>
Wed, 18 Apr 2012 05:04:34 +0000 (10:04 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 05:04:34 +0000 (10:04 +0530)
commitf6cb5c7789036fffa026690c975851886d06b678
treea529ab839a78715488daac71be3e854406965459
parent044364eca24457ec12630ea15b0c89db5cc3976b
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>

Conflicts:

drivers/video/tegra/host/isp/isp.c
drivers/video/tegra/host/mpe/mpe.c
drivers/video/tegra/host/vi/vi.c

Signed-off-by: Varun Wadekar <vwadekar@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