aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/host1x.h
diff options
context:
space:
mode:
authorBryan Wu <pengw@nvidia.com>2014-02-19 14:48:36 -0800
committerThierry Reding <treding@nvidia.com>2014-04-04 09:12:49 +0200
commit64400c3791d9fcebf23318a289f9da964547a6f3 (patch)
treef08c8a638ece175432931e4ef713e4f9f8460b0b /include/linux/host1x.h
parentdrm/tegra: prime: Add vmap support (diff)
downloadlinux-dev-64400c3791d9fcebf23318a289f9da964547a6f3.tar.xz
linux-dev-64400c3791d9fcebf23318a289f9da964547a6f3.zip
gpu: host1x: export host1x_syncpt_incr_max() function
Tegra V4L2 camera driver needs this function to do frame capture. Signed-off-by: Bryan Wu <pengw@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/linux/host1x.h')
-rw-r--r--include/linux/host1x.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/host1x.h b/include/linux/host1x.h
index 3af847273277..d2b52999e771 100644
--- a/include/linux/host1x.h
+++ b/include/linux/host1x.h
@@ -136,6 +136,7 @@ u32 host1x_syncpt_id(struct host1x_syncpt *sp);
u32 host1x_syncpt_read_min(struct host1x_syncpt *sp);
u32 host1x_syncpt_read_max(struct host1x_syncpt *sp);
int host1x_syncpt_incr(struct host1x_syncpt *sp);
+u32 host1x_syncpt_incr_max(struct host1x_syncpt *sp, u32 incrs);
int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout,
u32 *value);
struct host1x_syncpt *host1x_syncpt_request(struct device *dev,