diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index e314d6cd..ca2f7b33 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -700,6 +700,8 @@ void gk20a_remove_support(struct device *dev) | |||
700 | #ifdef CONFIG_TEGRA_COMMON | 700 | #ifdef CONFIG_TEGRA_COMMON |
701 | tegra_unregister_idle_unidle(); | 701 | tegra_unregister_idle_unidle(); |
702 | #endif | 702 | #endif |
703 | if (g->dbg_regops_tmp_buf) | ||
704 | kfree(g->dbg_regops_tmp_buf); | ||
703 | 705 | ||
704 | if (g->pmu.remove_support) | 706 | if (g->pmu.remove_support) |
705 | g->pmu.remove_support(&g->pmu); | 707 | g->pmu.remove_support(&g->pmu); |
@@ -2170,6 +2172,8 @@ int gk20a_init_gpu_characteristics(struct gk20a *g) | |||
2170 | gpu->pci_class = g->pci_class; | 2172 | gpu->pci_class = g->pci_class; |
2171 | gpu->pci_revision = g->pci_revision; | 2173 | gpu->pci_revision = g->pci_revision; |
2172 | 2174 | ||
2175 | gpu->reg_ops_limit = 1024; | ||
2176 | |||
2173 | return 0; | 2177 | return 0; |
2174 | } | 2178 | } |
2175 | 2179 | ||