summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2017-05-24 07:19:37 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-05-29 18:13:27 -0400
commit351793947ba6db2cc382962818680e9858959b86 (patch)
tree29c5f4804dbca377c0270f4c1be027009b9abd32 /drivers/gpu/nvgpu/common
parent9f86bd1d9c942b1df88df335ff189d851065ca67 (diff)
gpu: nvgpu: drop tegra idle registration calls
The deprecated functions tegra_{register,unregister}_idle_unidle() have not existed in ages, so remove this dead code. Change-Id: I45005844d59282ff9638cce1c61002bddab74ce2 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: http://git-master/r/1488813 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r--drivers/gpu/nvgpu/common/linux/module.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/module.c b/drivers/gpu/nvgpu/common/linux/module.c
index 5e8af065..adf9ff37 100644
--- a/drivers/gpu/nvgpu/common/linux/module.c
+++ b/drivers/gpu/nvgpu/common/linux/module.c
@@ -502,9 +502,6 @@ static irqreturn_t gk20a_intr_thread_stall(int irq, void *dev_id)
502 502
503void gk20a_remove_support(struct gk20a *g) 503void gk20a_remove_support(struct gk20a *g)
504{ 504{
505#ifdef CONFIG_TEGRA_COMMON
506 tegra_unregister_idle_unidle();
507#endif
508 nvgpu_kfree(g, g->dbg_regops_tmp_buf); 505 nvgpu_kfree(g, g->dbg_regops_tmp_buf);
509 506
510 if (g->pmu.remove_support) 507 if (g->pmu.remove_support)
@@ -542,10 +539,6 @@ static int gk20a_init_support(struct platform_device *dev)
542 int err = 0; 539 int err = 0;
543 struct gk20a *g = get_gk20a(&dev->dev); 540 struct gk20a *g = get_gk20a(&dev->dev);
544 541
545#ifdef CONFIG_TEGRA_COMMON
546 tegra_register_idle_unidle(gk20a_do_idle, gk20a_do_unidle);
547#endif
548
549 g->regs = gk20a_ioremap_resource(dev, GK20A_BAR0_IORESOURCE_MEM, 542 g->regs = gk20a_ioremap_resource(dev, GK20A_BAR0_IORESOURCE_MEM,
550 &g->reg_mem); 543 &g->reg_mem);
551 if (IS_ERR(g->regs)) { 544 if (IS_ERR(g->regs)) {