video: tegra: host: Parametrize host1x
authorTerje Bergstrom <tbergstrom@nvidia.com>
Wed, 30 May 2012 12:28:19 +0000 (15:28 +0300)
committerSimone Willett <swillett@nvidia.com>
Thu, 14 Jun 2012 23:29:58 +0000 (16:29 -0700)
commitf2dd85f69f329f372db29d2e20d71f7e0e0f85bb
tree5c5d9cc279844dc31a5b4346c4f45b9d9c9ac790
parent9774bbe31a0741ad71929156f59afdb2aba4eae5
video: tegra: host: Parametrize host1x

Add parameters in host1x nvhost_device on
* number of sync points
* number of wait bases
* number of channels
* number of mlocks
* client managed bitmask
* naming of sync points

Add automatically generated headers and use symbols from them to
access hardware.

Move host1x device definition from generic host1x to SoC specific
source files t20.c and t30.c.

Bug 982965

Change-Id: Ibec84be22d75b363900d10bcbd59d4d8321d54a1
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/104974
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
26 files changed:
drivers/video/tegra/host/bus_client.c
drivers/video/tegra/host/chip_support.h
drivers/video/tegra/host/debug.c
drivers/video/tegra/host/gr3d/gr3d.c
drivers/video/tegra/host/gr3d/gr3d_t20.c
drivers/video/tegra/host/gr3d/gr3d_t30.c
drivers/video/tegra/host/host1x/host1x.c
drivers/video/tegra/host/host1x/host1x.h
drivers/video/tegra/host/host1x/host1x_cdma.c
drivers/video/tegra/host/host1x/host1x_channel.c
drivers/video/tegra/host/host1x/host1x_debug.c
drivers/video/tegra/host/host1x/host1x_hardware.h
drivers/video/tegra/host/host1x/host1x_intr.c
drivers/video/tegra/host/host1x/host1x_syncpt.c
drivers/video/tegra/host/host1x/hw_host1x_channel.h [new file with mode: 0644]
drivers/video/tegra/host/host1x/hw_host1x_sync.h [new file with mode: 0644]
drivers/video/tegra/host/host1x/hw_host1x_uclass.h [new file with mode: 0644]
drivers/video/tegra/host/mpe/mpe.c
drivers/video/tegra/host/nvhost_cdma.c
drivers/video/tegra/host/nvhost_cdma.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/t30/t30.c