summaryrefslogtreecommitdiffstats
path: root/include/linux/nvhost.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nvhost.h')
-rw-r--r--include/linux/nvhost.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h
index c274df92e..78c95e5fc 100644
--- a/include/linux/nvhost.h
+++ b/include/linux/nvhost.h
@@ -49,6 +49,7 @@ struct nvhost_as_moduleops;
49struct nvhost_ctrl_sync_fence_info; 49struct nvhost_ctrl_sync_fence_info;
50struct nvhost_sync_timeline; 50struct nvhost_sync_timeline;
51struct nvhost_sync_pt; 51struct nvhost_sync_pt;
52struct nvdev_fence;
52struct sync_pt; 53struct sync_pt;
53 54
54#define NVHOST_MODULE_MAX_CLOCKS 8 55#define NVHOST_MODULE_MAX_CLOCKS 8
@@ -653,6 +654,12 @@ static inline void nvhost_eventlib_log_submit(struct platform_device *pdev,
653 u64 timestamp) 654 u64 timestamp)
654{ 655{
655} 656}
657static inline void nvhost_eventlib_log_fence(struct platform_device *pdev,
658 u32 kind,
659 struct nvdev_fence *fence,
660 u64 timestamp)
661{
662}
656#else 663#else
657 664
658#ifdef CONFIG_DEBUG_FS 665#ifdef CONFIG_DEBUG_FS
@@ -765,6 +772,11 @@ void nvhost_eventlib_log_submit(struct platform_device *pdev,
765 u32 syncpt_thresh, 772 u32 syncpt_thresh,
766 u64 timestamp); 773 u64 timestamp);
767 774
775void nvhost_eventlib_log_fence(struct platform_device *pdev,
776 u32 kind,
777 struct nvdev_fence *fence,
778 u64 timestamp);
779
768/* public host1x interrupt management APIs */ 780/* public host1x interrupt management APIs */
769int nvhost_intr_register_notifier(struct platform_device *pdev, 781int nvhost_intr_register_notifier(struct platform_device *pdev,
770 u32 id, u32 thresh, 782 u32 id, u32 thresh,