video: tegra: host: New submit interface
authorTerje Bergstrom <tbergstrom@nvidia.com>
Thu, 8 Nov 2012 13:21:07 +0000 (15:21 +0200)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 08:27:51 +0000 (01:27 -0700)
commitd194682523d1252d8f6a301a7f6a3170a0c59034
treef104ffbc7664d2287f69a49f60cd08fda32962ce
parent2d43d2972aa5872f1503c1b49577120722c1dd7e
video: tegra: host: New submit interface

Add new interface for submit. Now a single IOCTL will send the whole
job to kernel.

Also removes 32 sync point limit from the interface, and adds
possibility to have variable number of sync point ids and increments.

Because of these changes, nvhost_job has been refactored to remove
dependency to the submit header struct.

Change-Id: Id43b0c916e5ad5cdc7541726ea2d96bfc7497256
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/162888
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
drivers/video/tegra/host/bus_client.c
drivers/video/tegra/host/gr3d/gr3d_t20.c
drivers/video/tegra/host/gr3d/gr3d_t30.c
drivers/video/tegra/host/host1x/host1x_channel.c
drivers/video/tegra/host/nvhost_job.c
drivers/video/tegra/host/nvhost_job.h
include/linux/nvhost_ioctl.h
include/trace/events/nvhost.h