summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2014-12-12 06:52:28 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:12:32 -0400
commit0bc513fc4618feb5262079b4ef8842ba419d8111 (patch)
treef1741f426400c9cdaadb46113a62b0a064e38811 /drivers/gpu/nvgpu/gk20a/mm_gk20a.h
parente462c6a7ad0ce05775bc15c58963df4a1a5606e8 (diff)
gpu: nvgpu: Remove gk20a sparse texture & PTE freeing
Remove support for gk20a sparse textures. We're using implementation from user space, so gk20a code is never invoked. Also removes ref_cnt for PTEs, so we never free PTEs when unmapping pages, but only at VM delete time. Change-Id: I04d7d43d9bff23ee46fd0570ad189faece35dd14 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/663294
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
index 4dbde580..b3564409 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
@@ -193,7 +193,6 @@ struct page_table_gk20a {
193 /* Either a *page or a *mem_handle */ 193 /* Either a *page or a *mem_handle */
194 void *ref; 194 void *ref;
195 /* track mapping cnt on this page table */ 195 /* track mapping cnt on this page table */
196 u32 ref_cnt;
197 struct sg_table *sgt; 196 struct sg_table *sgt;
198 size_t size; 197 size_t size;
199}; 198};
@@ -308,10 +307,6 @@ struct vm_gk20a {
308 307
309 struct list_head reserved_va_list; 308 struct list_head reserved_va_list;
310 309
311 dma_addr_t zero_page_iova;
312 void *zero_page_cpuva;
313 struct sg_table *zero_page_sgt;
314
315#ifdef CONFIG_TEGRA_GR_VIRTUALIZATION 310#ifdef CONFIG_TEGRA_GR_VIRTUALIZATION
316 u64 handle; 311 u64 handle;
317#endif 312#endif