From bdeb2f1104b1e5ee954530305703ce1c6f63d277 Mon Sep 17 00:00:00 2001 From: Arto Merilainen Date: Fri, 1 Dec 2017 15:26:57 +0200 Subject: video: tegra: host: Rework eventlib events This change updates eventlib events to follow the requested format: - An event is generated as part of submission - Rather than using "START" in the event identifier, the code uses "BEGIN" Bug 1996639 Change-Id: I5afc31332b0121a2287eda07f77d86304a0ba6ac Signed-off-by: Arto Merilainen Reviewed-on: https://git-master.nvidia.com/r/1610037 GVS: Gerrit_Virtual_Submit Reviewed-by: Mikko Perttunen --- include/linux/nvhost.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/linux') diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h index 1496aa13a..63bc56fca 100644 --- a/include/linux/nvhost.h +++ b/include/linux/nvhost.h @@ -648,6 +648,12 @@ static inline void nvhost_eventlib_log_task(struct platform_device *pdev, u64 timestamp_end) { } + +static inline void nvhost_eventlib_log_submit(struct platform_device *pdev, + u32 syncpt_id, + u32 syncpt_thresh) +{ +} #else #ifdef CONFIG_DEBUG_FS @@ -756,6 +762,10 @@ void nvhost_eventlib_log_task(struct platform_device *pdev, u64 timestamp_start, u64 timestamp_end); +void nvhost_eventlib_log_submit(struct platform_device *pdev, + u32 syncpt_id, + u32 syncpt_thresh); + /* public host1x interrupt management APIs */ int nvhost_intr_register_notifier(struct platform_device *pdev, u32 id, u32 thresh, -- cgit v1.2.2