diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 13 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 3 |
2 files changed, 0 insertions, 16 deletions
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 @@ | |||
41 | #include <linux/kthread.h> | 41 | #include <linux/kthread.h> |
42 | 42 | ||
43 | #include <linux/sched.h> | 43 | #include <linux/sched.h> |
44 | #include <linux/input-cfboost.h> | ||
45 | 44 | ||
46 | #ifdef CONFIG_TEGRA_GK20A | 45 | #ifdef CONFIG_TEGRA_GK20A |
47 | #include <linux/nvhost.h> | 46 | #include <linux/nvhost.h> |
@@ -884,13 +883,6 @@ static int gk20a_pm_finalize_poweron(struct device *dev) | |||
884 | enable_irq(g->irq_stall); | 883 | enable_irq(g->irq_stall); |
885 | enable_irq(g->irq_nonstall); | 884 | enable_irq(g->irq_nonstall); |
886 | 885 | ||
887 | #ifdef CONFIG_INPUT_CFBOOST | ||
888 | if (!g->boost_added) { | ||
889 | gk20a_dbg_info("add touch boost"); | ||
890 | cfb_add_device(dev); | ||
891 | g->boost_added = true; | ||
892 | } | ||
893 | #endif | ||
894 | done: | 886 | done: |
895 | return err; | 887 | return err; |
896 | } | 888 | } |
@@ -1527,11 +1519,6 @@ static int __exit gk20a_remove(struct platform_device *dev) | |||
1527 | if (platform->has_cde) | 1519 | if (platform->has_cde) |
1528 | gk20a_cde_destroy(g); | 1520 | gk20a_cde_destroy(g); |
1529 | 1521 | ||
1530 | #ifdef CONFIG_INPUT_CFBOOST | ||
1531 | if (g->boost_added) | ||
1532 | cfb_remove_device(&dev->dev); | ||
1533 | #endif | ||
1534 | |||
1535 | if (IS_ENABLED(CONFIG_GK20A_DEVFREQ)) | 1522 | if (IS_ENABLED(CONFIG_GK20A_DEVFREQ)) |
1536 | gk20a_scale_exit(dev); | 1523 | gk20a_scale_exit(dev); |
1537 | 1524 | ||
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 0436c466..015c8274 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -412,9 +412,6 @@ struct gk20a { | |||
412 | void __iomem *bar1_saved; | 412 | void __iomem *bar1_saved; |
413 | 413 | ||
414 | bool power_on; | 414 | bool power_on; |
415 | #ifdef CONFIG_INPUT_CFBOOST | ||
416 | bool boost_added; | ||
417 | #endif | ||
418 | 415 | ||
419 | struct rw_semaphore busy_lock; | 416 | struct rw_semaphore busy_lock; |
420 | 417 | ||