Skip to contentSkip to conversation

host1x: export host1x_syncpt_incr_max function

PATCH Applied Bryan Wu 2 participants 2 messages Feb 19, 2014 – Feb 20, 2014 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

Bryan Wu

author
#0 lore raw

PATCH v2 1/1 host1x: export host1x_syncpt_incr_max function

From: Bryan Wu <[email protected]>

Tegra V4L2 camera driver needs this function to do frame capture.

---
 drivers/gpu/host1x/syncpt.c | 1 +
 include/linux/host1x.h      | 1 +
 2 files changed, 2 insertions(+)
drivers/gpu/host1x/syncpt.c +1 -0
index bfb09d8..b10550e 100644
@@ -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.
include/linux/host1x.h +1 -0
index 3af8472..d2b5299 100644
@@ -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,
Signature · 1 line
1.8.3.2

A message that is not in the archive (sent off-list or not yet received): 1392850116-2086-1-git-send-email-cooloney-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#2 lore raw
Quoted 9 lines · Bryan Wu

From: Bryan Wu <[email protected]>

Tegra V4L2 camera driver needs this function to do frame capture.

---
 drivers/gpu/host1x/syncpt.c | 1 +
 include/linux/host1x.h      | 1 +
 2 files changed, 2 insertions(+)

Applied, thanks!

Thierry