summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2015-03-31 17:37:21 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-04-04 22:17:37 -0400
commit9974201d610c7f3cc43e34a9db942da0f71917c4 (patch)
tree024849097e38631be2d0602b08c86e5afc7b63e8 /drivers/gpu/nvgpu/gk20a/gk20a.h
parent9f4405aeb532692b215337985fb371e859817a88 (diff)
gpu: nvgpu: Per-SoC compressible page size
Define smallest compressible page size per SoC, and use that for determining if a compressible kind should be downgraded to uncompressed. Bug 1605769 Change-Id: I7c9991ba0ae82fe533641f045e506c0b01a10d8b Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/724492
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 19c9e786..2b905dcc 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -182,6 +182,7 @@ struct gpu_ops {
182 void (*init_kind_attr)(struct gk20a *g); 182 void (*init_kind_attr)(struct gk20a *g);
183 void (*set_mmu_page_size)(struct gk20a *g); 183 void (*set_mmu_page_size)(struct gk20a *g);
184 int (*compression_page_size)(struct gk20a *g); 184 int (*compression_page_size)(struct gk20a *g);
185 int (*compressible_page_size)(struct gk20a *g);
185 void (*dump_vpr_wpr_info)(struct gk20a *g); 186 void (*dump_vpr_wpr_info)(struct gk20a *g);
186 } fb; 187 } fb;
187 struct { 188 struct {