summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/host/nvhost_intr.h
diff options
context:
space:
mode:
authorArto Merilainen <amerilainen@nvidia.com>2012-09-26 16:05:18 +0300
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:04:11 -0700
commit8e2a4e9c836c56652965d6950b830809f0eda89f (patch)
tree96f771d3a75aeea76070e04f17d861031de2acf5 /drivers/video/tegra/host/nvhost_intr.h
parentbb0b53207c647152d278895e909d19da30267411 (diff)
video: tegra: host: "SP wait more extended" ioctl
This patch adds WAITMEX ioctl for querying extended information about syncpoint completion (i.e. accurate time of ISR). Bug 1051737 Change-Id: I434e04c3b0fd37fe84ff8788458dd75e86fe691d Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-on: http://git-master/r/138969 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/host/nvhost_intr.h')
-rw-r--r--drivers/video/tegra/host/nvhost_intr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/tegra/host/nvhost_intr.h b/drivers/video/tegra/host/nvhost_intr.h
index d86bdd3b19bf..2221e28eaaec 100644
--- a/drivers/video/tegra/host/nvhost_intr.h
+++ b/drivers/video/tegra/host/nvhost_intr.h
@@ -65,6 +65,7 @@ struct nvhost_intr_syncpt {
struct list_head wait_head;
char thresh_irq_name[12];
struct work_struct work;
+ struct timespec isr_recv;
};
struct nvhost_intr {
@@ -116,6 +117,7 @@ int nvhost_intr_init(struct nvhost_intr *intr, u32 irq_gen, u32 irq_sync);
void nvhost_intr_deinit(struct nvhost_intr *intr);
void nvhost_intr_start(struct nvhost_intr *intr, u32 hz);
void nvhost_intr_stop(struct nvhost_intr *intr);
+int nvhost_intr_release_time(void *ref, struct timespec *ts);
irqreturn_t nvhost_syncpt_thresh_fn(void *dev_id);
irqreturn_t nvhost_intr_irq_fn(int irq, void *dev_id);