summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorLi Li <lli5@nvidia.com>2013-02-04 13:46:30 -0800
committerMandar Padmawar <mpadmawar@nvidia.com>2013-02-18 22:12:11 -0800
commit92d5d73e8d9d3db0a6153d1f3a603aeb42445f9c (patch)
treebae8c1397d9970ad44d7726826b62162c0024450 /drivers/media
parent3fad2f0dbe453364968a94dac107b5260aef186b (diff)
tegra11: nvavp: clock: increase sclk boost frequency
25x16 panel requires higher slck frequency than 19x12. So increase the sclk from 40MHz to 80MHz. This reuses the mechanism in existing avp driver. Previous code is to boost sclk when display is turned on to prevent glitch audio. It's general enough so not necessary to introduce another duplicate framework just to boost sclk for similar performance issues. And, this is only for runtime boosting. When system is idle with display off, previous commit 9f82f47 (ARM: tegra11: clock: decrease sclk min limit) has ensured that the sclk is at the lowest possible speed to save power. Bug 1211941 Change-Id: I4a3c7b6ccfbb4681b644c68b829508c3660c800f Signed-off-by: Li Li <lli5@nvidia.com> Reviewed-on: http://git-master/r/197156 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Peter Zu <pzu@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/tegra/nvavp/nvavp_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tegra/nvavp/nvavp_dev.c b/drivers/media/video/tegra/nvavp/nvavp_dev.c
index 2bd3bf0fbc4e..e9672d5098c4 100644
--- a/drivers/media/video/tegra/nvavp/nvavp_dev.c
+++ b/drivers/media/video/tegra/nvavp/nvavp_dev.c
@@ -88,7 +88,7 @@
#define IS_VIDEO_CHANNEL_ID(channel_id) (channel_id == NVAVP_VIDEO_CHANNEL ? 1: 0)
-#define SCLK_BOOST_RATE 40000000
+#define SCLK_BOOST_RATE 80000000
static bool boost_sclk;