diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2011-11-03 10:05:08 +0200 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-11-10 10:21:39 -0800 |
commit | 3ba1a4e17b6839bf0485b6db542ab1d5fd1edbc0 (patch) | |
tree | 828d2229271168553d9d7f16c15bbd4767f23fb1 /drivers/video/tegra/host | |
parent | d8616f2488967a12ec895aec8224ef121d1aeda9 (diff) |
video: tegra: host: Enable powergating for MPE and 3D
Enable power gating for MPE and 3D in T30.
Bug 857044
Reviewed-on: http://git-master/r/62101
(cherry picked from commit 4fd4d2a948450f04181179f5f1e4da7b6c9e3060)
Change-Id: Ia9506fd188e31770d447faa25cf7b00adaca894a
Reviewed-on: http://git-master/r/63217
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/host')
-rw-r--r-- | drivers/video/tegra/host/t30/channel_t30.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/tegra/host/t30/channel_t30.c b/drivers/video/tegra/host/t30/channel_t30.c index b7047503cff3..985ecf29fc43 100644 --- a/drivers/video/tegra/host/t30/channel_t30.c +++ b/drivers/video/tegra/host/t30/channel_t30.c @@ -82,6 +82,8 @@ const struct nvhost_channeldesc nvhost_t30_channelmap[] = { .powergate_ids = {TEGRA_POWERGATE_3D, TEGRA_POWERGATE_3D1}, NVHOST_DEFAULT_CLOCKGATE_DELAY, + .can_powergate = true, + .powergate_delay = 100, }, }, { @@ -135,6 +137,8 @@ const struct nvhost_channeldesc nvhost_t30_channelmap[] = { .clocks = {{"mpe", UINT_MAX}, {"emc", UINT_MAX}, {} }, .powergate_ids = {TEGRA_POWERGATE_MPE, -1}, NVHOST_DEFAULT_CLOCKGATE_DELAY, + .can_powergate = true, + .powergate_delay = 100, }, }, { |