Revert "video: tegra: host: t30: use max 2d clock"
Wen Yi [Thu, 24 May 2012 00:41:03 +0000 (17:41 -0700)]
This reverts commit 5bdd03b21f625d0a07c66e4894b79e557287a3a1.

The reverted commit kept vcore at 1.2 volts whenever 2D engine is on
and increased power consumption for use cases that utilize 2D but
doesn't require its full speed.

Bug 979545

Change-Id: I4297ab1fb83558501ff620952284c8590dc5f1dd
Signed-off-by: Wen Yi <wyi@nvidia.com>
Reviewed-on: http://git-master/r/104293
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Donghan Ryu <dryu@nvidia.com>
Tested-by: Donghan Ryu <dryu@nvidia.com>
GVS: Gerrit_Virtual_Submit

drivers/video/tegra/host/t30/t30.c

index e6173e8..5899146 100644 (file)
@@ -96,7 +96,7 @@ struct nvhost_device t30_devices[] = {
        .waitbases      = BIT(NVWAITBASE_2D_0) | BIT(NVWAITBASE_2D_1),
        .modulemutexes  = BIT(NVMODMUTEX_2D_FULL) | BIT(NVMODMUTEX_2D_SIMPLE) |
                          BIT(NVMODMUTEX_2D_SB_A) | BIT(NVMODMUTEX_2D_SB_B),
-       .clocks         = { {"gr2d", UINT_MAX},
+       .clocks         = { {"gr2d", 0},
                            {"epp", 0},
                            {"emc", 300000000} },
        NVHOST_MODULE_NO_POWERGATE_IDS,