summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIlan Aelion <iaelion@nvidia.com>2012-07-16 17:31:57 -0600
committerLokesh Pathak <lpathak@nvidia.com>2012-07-30 09:39:41 -0700
commit859f9bddcb10fd1fe2890a59181f8388facd1117 (patch)
treedeab6447181d8414ec6e37408c86c913648583c4 /include
parent97f9f654114aad07c828b05d057a11e03b1af803 (diff)
video: tegra: host: adding throughput hint in 3dfs
adding support for using a throughput hint given by the tegra-gfx misc device in the 3d scaling code. If throughput hint usage is enabled and the latest throughput hint is recent enough (less than 1 second old), the throughput hint is used to control 3d frequency scaling. Otherwise the existing idle time percentage estimate is used. Bug 991589 Change-Id: I68893e5ce7ef922b95ce5f5b3664eb8e1fdd4027 Signed-off-by: Ilan Aelion <iaelion@nvidia.com> Reviewed-on: http://git-master/r/116866 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nvhost.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h
index cde63fa6abb7..c89d9b82af14 100644
--- a/include/linux/nvhost.h
+++ b/include/linux/nvhost.h
@@ -209,4 +209,6 @@ u32 nvhost_syncpt_read_ext(struct nvhost_device *dev, u32 id);
int nvhost_syncpt_wait_timeout_ext(struct nvhost_device *dev, u32 id, u32 thresh,
u32 timeout, u32 *value);
+void nvhost_scale3d_set_throughput_hint(int hint);
+
#endif