tegra: dc: set EMC clock dynamically
authorXin Xie <xxie@nvidia.com>
Sat, 4 Jun 2011 03:47:14 +0000 (20:47 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:47:11 +0000 (21:47 -0800)
commitd21b89daf5e816d00855133f5e31cd40ce104d9b
treef0d6b5ce3ced33c0c7641016bf6edc4142b50ffc
parentaf504e4dbb71172136b2db26b2911da57bffc72e
tegra: dc: set EMC clock dynamically

If the screen is idle (no POST for some time), reduce the DC EMC clock
according the windows size. If external display connected, the EMC clock
will not be reduced.

BUG 828306

Original-Change-Id: I6fb62ce6baf3380737c76b71f16e38ad6465a667
Reviewed-on: http://git-master/r/37106
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: Re2b2c8b1a57c2a04b61c338b0b50e41d8c11ad65
arch/arm/mach-tegra/include/mach/dc.h
drivers/video/tegra/dc/dc.c
drivers/video/tegra/dc/dc_priv.h
drivers/video/tegra/dc/overlay.c
drivers/video/tegra/fb.c