From d788d86e01b44262b10f7b4d96e0cc8aaf478f74 Mon Sep 17 00:00:00 2001 From: Seshendra Gadagottu Date: Tue, 24 Mar 2015 13:24:11 -0700 Subject: tegra: gpu: disable touch boost for gpu Gpu boosting with input events is causing more gpu power consumption than required. To avoid this, touch boot for gpu is disabled by not registering gpu device for cfboost frame work. Current rail gate entry/exit latencies are fast enough to give smooth user experience. Bug 200087243 Change-Id: I18673d9c95a44ce9bee87e860b4edb29212dc766 Signed-off-by: Seshendra Gadagottu Reviewed-on: http://git-master/r/721989 Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/gk20a.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c') diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 27fce8e0..a6f56763 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c @@ -41,7 +41,6 @@ #include #include -#include #ifdef CONFIG_TEGRA_GK20A #include @@ -884,13 +883,6 @@ static int gk20a_pm_finalize_poweron(struct device *dev) enable_irq(g->irq_stall); enable_irq(g->irq_nonstall); -#ifdef CONFIG_INPUT_CFBOOST - if (!g->boost_added) { - gk20a_dbg_info("add touch boost"); - cfb_add_device(dev); - g->boost_added = true; - } -#endif done: return err; } @@ -1527,11 +1519,6 @@ static int __exit gk20a_remove(struct platform_device *dev) if (platform->has_cde) gk20a_cde_destroy(g); -#ifdef CONFIG_INPUT_CFBOOST - if (g->boost_added) - cfb_remove_device(&dev->dev); -#endif - if (IS_ENABLED(CONFIG_GK20A_DEVFREQ)) gk20a_scale_exit(dev); -- cgit v1.2.2