From 859f9bddcb10fd1fe2890a59181f8388facd1117 Mon Sep 17 00:00:00 2001 From: Ilan Aelion Date: Mon, 16 Jul 2012 17:31:57 -0600 Subject: 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 Reviewed-on: http://git-master/r/116866 Reviewed-by: Lokesh Pathak Tested-by: Lokesh Pathak --- include/linux/nvhost.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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 -- cgit v1.2.3