diff options
author | Dan Willemsen <dwillemsen@nvidia.com> | 2011-02-11 02:17:29 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:44:51 -0800 |
commit | 03e6e69aca66b068c5c9a5e0de1da3873e3146dc (patch) | |
tree | 637d12464fc3d154764116ffdde4e71eb609d15d /drivers/video/tegra/host/nvhost_channel.h | |
parent | 9e9b4e07a9408fb27e9d6aad37341dca8d231eaf (diff) |
nvhost: Reimplement null kickoff functionality.
For each channel submit where null kickoff is requested, we don't
place the user's commands in the pushbuffer. All necessary context
switches, syncpoint increments and waitbase increments do happen
though.
Update: Add NULL_KICKOFF ioctl to use instead of FLIP, this prevents
kernel ABI breakage.
Bug 717235
Previous Id: I51c323729ea57993a5b52fb395ab90cb8608ee6b
Previously Reviewed: http://git-master/r/5091
Original-Change-Id: I4f92db457aff6e1c3a8d454255c4b051c4663360
Reviewed-on: http://git-master/r/15882
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: Rc79842436757d1cb1ae0622cf62e98763420ba6c
Diffstat (limited to 'drivers/video/tegra/host/nvhost_channel.h')
-rw-r--r-- | drivers/video/tegra/host/nvhost_channel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/tegra/host/nvhost_channel.h b/drivers/video/tegra/host/nvhost_channel.h index c62d7397a192..59ba06543a48 100644 --- a/drivers/video/tegra/host/nvhost_channel.h +++ b/drivers/video/tegra/host/nvhost_channel.h @@ -80,7 +80,8 @@ void nvhost_channel_submit(struct nvhost_channel *ch, struct nvhost_op_pair *ops, int num_pairs, struct nvhost_cpuinterrupt *intrs, int num_intrs, struct nvmap_handle **unpins, int num_unpins, - u32 syncpt_id, u32 syncpt_val); + u32 syncpt_id, u32 syncpt_val, + int num_nulled_incrs); struct nvhost_channel *nvhost_getchannel(struct nvhost_channel *ch); void nvhost_putchannel(struct nvhost_channel *ch, struct nvhost_hwctx *ctx); |