summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Jan <s-jan@ti.com>2012-01-02 18:32:59 +0800
committerAndy Green <andy.green@linaro.org>2012-01-02 18:32:59 +0800
commitec81d9f0948a12218bbff00a80d117cf86757c4e (patch)
tree816289c5b1c31cd4e03bdf97cc88a49689aa4c9c
parent488d749ed636b767e95a52e3bd2b2a9c05e1fdd3 (diff)
hwspinlocks: disable runtime PM
On 3.1 kernel, rpm_idle takes 2.7ms when usage_count=0 (this function runs under a spinlock with irqs disabled). The root cause is not known yet, but this is clearly not expected and is much shorter on 3.0 based kernel. This causes x2 cpu-load and performances drop on a video decode use-case using IVAHD (and syslink) on OMAP4. Disabling rpm brings back load and performance figures in line with k3.0. While the root-cause is not identified and fixed, keep runtime-pm disabled for hwspinlocks. Signed-off-by: Sebastien Jan <s-jan@ti.com>
-rw-r--r--arch/arm/plat-omap/hwspinlock.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/hwspinlock.c b/arch/arm/plat-omap/hwspinlock.c
index 7cfe8774750..a33478f6735 100644
--- a/arch/arm/plat-omap/hwspinlock.c
+++ b/arch/arm/plat-omap/hwspinlock.c
@@ -288,7 +288,6 @@ static int __devinit hwspinlock_probe(struct platform_device *pdev)
hwspinlocks[id].lock_reg = io_base + pdata->
lock_base_offset + sizeof(u32) * id;
}
- pm_runtime_enable(&pdev->dev);
return 0;
}