video: tegra: host: move resources to devices
authorMayuresh Kulkarni <mkulkarni@nvidia.com>
Wed, 18 Apr 2012 05:04:34 +0000 (10:04 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 08:23:14 +0000 (01:23 -0700)
commit317f0e3078edd8e2f612bac0ee9df7cf53d40de7
tree53fdcb1337070286ebe36f6918442cfc9fca8084
parentf1a5d4cb28f823f9e29af899b8c32657e496258e
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>

Rebase-Id: R6409d9819b334064f24036251958a12a10db10d6
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