video: tegra: host: Optimize the accuracy of actmon average load
authorNicolin Chen <nicolinc@nvidia.com>
Thu, 3 Nov 2016 20:03:29 +0000 (13:03 -0700)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 15 Nov 2016 12:01:45 +0000 (04:01 -0800)
commitd638279c10e69e7df68728b6d0c41fa75e004023
tree91ba531bcb830c701e90cdb3e7fc97c03d7ed3ab
parent7d76a3897870cd3640bd1242c3ec0ba811427807
video: tegra: host: Optimize the accuracy of actmon average load

According to Bug 1381833, we can enlarge the k value and sample period
to increase the accuracy of the average load value from the activity
monitor. (The range of k is [1, 6] while the sample period should not
exceed 22us.)

Based on the experiments mentioned in the Bug 1828143, we found that
setting k=5 and sample period=20us could be relatively benifit to the
accuracy of the average load.

So this patch just modifies these two values.

Bug 1828143

Change-Id: I6fbd4d6a832248e121f177cc5e30640d3702e84c
Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
Reviewed-on: http://git-master/r/1248444
GVS: Gerrit_Virtual_Submit
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
drivers/video/tegra/host/host1x/host1x_actmon_t124.c