video: tegra: host: add idle time estimate in 3dfs
authorIlan Aelion <iaelion@nvidia.com>
Tue, 28 Aug 2012 17:05:36 +0000 (11:05 -0600)
committerVarun Colbert <vcolbert@nvidia.com>
Wed, 12 Sep 2012 00:21:03 +0000 (17:21 -0700)
commit8aecb2c96834197427737ea4d06700a9eeda532b
tree5e2c87af71e950ed6b4d5c2a42804d08e7c40edb
parent678708d95daa7d29ad5f49944f1b5385e3f27401
video: tegra: host: add idle time estimate in 3dfs

When a throughput hint is available, still keep track of the idle time
percentage and use both in gpu scaling. Also modifying fallback
scaling code to use same idle estimate used when a throughput hint is
available. Dropping different time frames for scaling up and down.

Bug 1034948
Bug 965517

Change-Id: Ib3945642768e36a6c0c50f4195c89e3bb67f8442
Signed-off-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-on: http://git-master/r/129410
(cherry picked from commit 1e9974097286a78f34367683a3921c9b5bf77d4d)
Reviewed-on: http://git-master/r/131155
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
drivers/misc/tegra-throughput.c
drivers/video/tegra/host/gr3d/scale3d.c