summaryrefslogtreecommitdiffstats
path: root/include/linux/nvhost.h
diff options
context:
space:
mode:
authorArun Kannan <akannan@nvidia.com>2017-01-04 16:26:41 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-23 15:55:32 -0500
commit1799e8e29a0f4590c77e57381ff408cf38b65e45 (patch)
tree267e88f3ce84b952122492cf3a9de6b8153073fd /include/linux/nvhost.h
parentd06a77832eb0843e6fb7e1ef906e3a5331f05a95 (diff)
video: tegra: host: add set min_val api
Function to set min_val and update hardware reg. Bug 1854001 Change-Id: I48b25f6767b881e98fb6031dfab547d80acc0b1a Signed-off-by: Arun Kannan <akannan@nvidia.com> Reviewed-on: http://git-master/r/1280376 Reviewed-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Mitch Luban <mluban@nvidia.com>
Diffstat (limited to 'include/linux/nvhost.h')
-rw-r--r--include/linux/nvhost.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h
index 5723dc314..9807c3b21 100644
--- a/include/linux/nvhost.h
+++ b/include/linux/nvhost.h
@@ -3,7 +3,7 @@
3 * 3 *
4 * Tegra graphics host driver 4 * Tegra graphics host driver
5 * 5 *
6 * Copyright (c) 2009-2016, NVIDIA Corporation. All rights reserved. 6 * Copyright (c) 2009-2017, NVIDIA Corporation. All rights reserved.
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify 8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by 9 * it under the terms of the GNU General Public License as published by
@@ -723,6 +723,10 @@ int nvhost_syncpt_is_expired_ext(struct platform_device *dev,
723void nvhost_syncpt_set_min_eq_max_ext(struct platform_device *dev, u32 id); 723void nvhost_syncpt_set_min_eq_max_ext(struct platform_device *dev, u32 id);
724int nvhost_syncpt_nb_pts_ext(struct platform_device *dev); 724int nvhost_syncpt_nb_pts_ext(struct platform_device *dev);
725bool nvhost_syncpt_is_valid_pt_ext(struct platform_device *dev, u32 id); 725bool nvhost_syncpt_is_valid_pt_ext(struct platform_device *dev, u32 id);
726u32 nvhost_syncpt_read_minval(struct platform_device *dev, u32 id);
727u32 nvhost_syncpt_read_maxval(struct platform_device *dev, u32 id);
728void nvhost_syncpt_set_minval(struct platform_device *dev, u32 id, u32 val);
729void nvhost_syncpt_set_maxval(struct platform_device *dev, u32 id, u32 val);
726 730
727/* public host1x interrupt management APIs */ 731/* public host1x interrupt management APIs */
728int nvhost_intr_register_notifier(struct platform_device *pdev, 732int nvhost_intr_register_notifier(struct platform_device *pdev,