diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/module.c | 7 |
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 | ||
503 | void gk20a_remove_support(struct gk20a *g) | 503 | void 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)) { |