video: tegra: host: Set 3D pg timeout to 250ms
Terje Bergstrom [Mon, 5 Mar 2012 07:10:47 +0000 (09:10 +0200)]
Power gating timeout for 3D is too short, and causes oscillation
in non-idle use cases. Increase timeout to 250ms to get more benefits
from power gating.

Bug 914785

Change-Id: I4e37fda260ceecc2fe3e21989789105b7c8fcf36
Reviewed-on: http://git-master/r/87659
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

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

index a6fb142..5dc5a31 100644 (file)
@@ -84,7 +84,7 @@ static struct nvhost_device devices[] = {
                        TEGRA_POWERGATE_3D1},
        NVHOST_DEFAULT_CLOCKGATE_DELAY,
        .can_powergate = true,
-       .powergate_delay = 100,
+       .powergate_delay = 250,
        .moduleid      = NVHOST_MODULE_NONE,
 },
 {