Skip to contentSkip to conversation

host1x: export host1x_syncpt_incr_max function

PATCH Superseded Bryan Wu 2 participants 3 messages Feb 19, 2014 1 message not in the archive

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Bryan Wu

author
#0 lore raw

PATCH 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.

---
 include/linux/host1x.h | 1 +
 1 file changed, 1 insertion(+)
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
#1 lore raw
Quoted 1 line · Bryan Wu

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

Does it need to be EXPORT_SYMBOL()d too, in case things are modules?

author
#3 lore raw
In reply to a message not in the archive
Quoted 5 lines · Stephen Warren
Quoted 1 line · Bryan Wu

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

Does it need to be EXPORT_SYMBOL()d too, in case things are modules?

Sure, I will update this patch to export symbol of it. Thanks,
-Bryan