video: tegra: host: move chip_support out of nvhost_master
authorMayuresh Kulkarni <mkulkarni@nvidia.com>
Fri, 13 Apr 2012 14:12:37 +0000 (19:12 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 14 May 2012 12:28:51 +0000 (17:28 +0530)
commit02ec7a72a593080700962b8389fa9a2380201b4d
treeeb4970f5fcacfec3f028fb14d71b29292767dd07
parent5b11999ee9deb9bdfeda19b9942f5c14b8a37b70
video: tegra: host: move chip_support out of nvhost_master

- currently, nvhost_master holds the reference to struct
chip_support
- the struct chip_support hides the chip specific implementation
for channel submit, cdma, push buffer operations etc. so
it exposed all the internal structures through nvhost_master
- move chip_support to be a part of nvhost_bus since it only has
function pointers to chip specific api implementations
- nvhost_master is host1x device specific private data so
ideally it should not hold reference to chip specifics

Bug 871237

Change-Id: I4f3f48ee5fc47a90288d110ea8eef905150275a0
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/94421
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
27 files changed:
drivers/video/tegra/host/Makefile
drivers/video/tegra/host/bus.c
drivers/video/tegra/host/bus.h [new file with mode: 0644]
drivers/video/tegra/host/bus_client.c
drivers/video/tegra/host/chip_support.c [new file with mode: 0644]
drivers/video/tegra/host/chip_support.h
drivers/video/tegra/host/debug.c
drivers/video/tegra/host/dev.c
drivers/video/tegra/host/dev.h
drivers/video/tegra/host/host1x/host1x_cdma.c
drivers/video/tegra/host/host1x/host1x_cdma.h
drivers/video/tegra/host/host1x/host1x_debug.c
drivers/video/tegra/host/host1x/host1x_intr.c
drivers/video/tegra/host/host1x/host1x_syncpt.c
drivers/video/tegra/host/host1x/host1x_syncpt.h
drivers/video/tegra/host/nvhost_cdma.c
drivers/video/tegra/host/nvhost_cdma.h
drivers/video/tegra/host/nvhost_channel.c
drivers/video/tegra/host/nvhost_channel.h
drivers/video/tegra/host/nvhost_intr.c
drivers/video/tegra/host/nvhost_intr.h
drivers/video/tegra/host/nvhost_syncpt.c
drivers/video/tegra/host/nvhost_syncpt.h
drivers/video/tegra/host/t20/t20.c
drivers/video/tegra/host/t20/t20.h
drivers/video/tegra/host/t30/t30.c
drivers/video/tegra/host/t30/t30.h