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)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 08:23:25 +0000 (01:23 -0700)
commitc410bf20f2748b505c33e2e6dbd5439583df49b4
tree5013d01663fa8165da115459830f1c3ddb1b734d
parentbbccbead6532a2426ae1db9837a1f75e8ad47b5e
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

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