summaryrefslogtreecommitdiff
path: root/drivers/gpu/host1x
diff options
context:
space:
mode:
authorBryan Wu <pengw@nvidia.com>2014-02-20 02:48:36 +0400
committerThierry Reding <treding@nvidia.com>2014-04-04 11:12:49 +0400
commit64400c3791d9fcebf23318a289f9da964547a6f3 (patch)
treef08c8a638ece175432931e4ef713e4f9f8460b0b /drivers/gpu/host1x
parentd40326f4b9f9617cdfd30f83a2db57d47e9c5bac (diff)
downloadlinux-64400c3791d9fcebf23318a289f9da964547a6f3.tar.xz
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 'drivers/gpu/host1x')
-rw-r--r--drivers/gpu/host1x/syncpt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/syncpt.c b/drivers/gpu/host1x/syncpt.c
index bfb09d802abd..b10550ee1d89 100644
--- a/drivers/gpu/host1x/syncpt.c
+++ b/drivers/gpu/host1x/syncpt.c
@@ -102,6 +102,7 @@ u32 host1x_syncpt_incr_max(struct host1x_syncpt *sp, u32 incrs)
{
return (u32)atomic_add_return(incrs, &sp->max_val);
}
+EXPORT_SYMBOL(host1x_syncpt_incr_max);
/*
* Write cached syncpoint and waitbase values to hardware.