summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/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/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/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 4333cd20..4ddea431 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -292,10 +292,6 @@ struct gpu_ops {
292 struct { 292 struct {
293 int (*set_sparse)(struct vm_gk20a *vm, u64 vaddr, 293 int (*set_sparse)(struct vm_gk20a *vm, u64 vaddr,
294 u32 num_pages, u32 pgsz_idx, bool refplus); 294 u32 num_pages, u32 pgsz_idx, bool refplus);
295 int (*put_empty)(struct vm_gk20a *vm, u64 vaddr,
296 u32 num_pages, u32 pgsz_idx);
297 void (*clear_sparse)(struct vm_gk20a *vm, u64 vaddr,
298 u64 size, u32 pgsz_idx);
299 bool (*is_debug_mode_enabled)(struct gk20a *g); 295 bool (*is_debug_mode_enabled)(struct gk20a *g);
300 u64 (*gmmu_map)(struct vm_gk20a *vm, 296 u64 (*gmmu_map)(struct vm_gk20a *vm,
301 u64 map_offset, 297 u64 map_offset,