summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSrikar Srimath Tirumala <srikars@nvidia.com>2018-06-01 00:05:50 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-06-15 04:17:23 -0400
commitce3925c2da53d1e6024780727f0d62b587e89c75 (patch)
tree2eb4ec6c9141f7a4c5b34a42b58644d89fd9ad51 /include/linux
parent518191e7718d8141b1136a1fc994d4ace0293895 (diff)
video: tegra: host: eventlib support for falcons
* Replace the VIC method for timestamp logging with generic falcon timestamping method. * Expose the new falcon timestamping method to other falcon cores. * Enable task timestamping for nvenc. Bug 200312229 JIRA HOSTX-336 JIRA HOSTX-337 Change-Id: I6724f47db0cfca2fc962a7a479a1c370f37c2e31 Signed-off-by: Srikar Srimath Tirumala <srikars@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1736581 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nvhost.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h
index 43aaa32cd..9421f36f2 100644
--- a/include/linux/nvhost.h
+++ b/include/linux/nvhost.h
@@ -270,8 +270,7 @@ struct nvhost_device_data {
270 270
271 /* Called each time we enter the class */ 271 /* Called each time we enter the class */
272 int (*init_class_context)(struct platform_device *dev, 272 int (*init_class_context)(struct platform_device *dev,
273 struct nvhost_cdma *cdma, 273 struct nvhost_cdma *cdma);
274 dma_addr_t timestamp_addr);
275 274
276 /* 275 /*
277 * Reset the unit. Used for timeout recovery, resetting the unit on 276 * Reset the unit. Used for timeout recovery, resetting the unit on
@@ -373,8 +372,9 @@ struct nvhost_device_data {
373 /* eventlib id for the device */ 372 /* eventlib id for the device */
374 int eventlib_id; 373 int eventlib_id;
375 374
376 /* supports delivering task timestamps (falcon) */ 375 /* deliver task timestamps for falcon */
377 bool supports_task_timestamps; 376 void (*enable_timestamps)(struct platform_device *pdev,
377 struct nvhost_cdma *cdma, dma_addr_t timestamp_addr);
378}; 378};
379 379
380 380