From 0bc513fc4618feb5262079b4ef8842ba419d8111 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Fri, 12 Dec 2014 13:52:28 +0200 Subject: 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 Reviewed-on: http://git-master/r/663294 --- drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h') 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 { /* Either a *page or a *mem_handle */ void *ref; /* track mapping cnt on this page table */ - u32 ref_cnt; struct sg_table *sgt; size_t size; }; @@ -308,10 +307,6 @@ struct vm_gk20a { struct list_head reserved_va_list; - dma_addr_t zero_page_iova; - void *zero_page_cpuva; - struct sg_table *zero_page_sgt; - #ifdef CONFIG_TEGRA_GR_VIRTUALIZATION u64 handle; #endif -- cgit v1.2.2