diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-05-10 18:44:06 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-05-13 19:07:00 -0400 |
commit | 773b3f2034fbff98af7770e735347f536cbbb21a (patch) | |
tree | 750f9e8962d3d4f2f9d27ef23d2c4855e8749e16 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 50c6c9cfcd040742f3d242993576c65842006f92 (diff) |
gpu: nvgpu: Do not program max ways evict
Setting max_ways_evict reserves some of L2 for CB. In gk20a CB is in
dedicated RAM, so we don't need to reserve space for it.
The code gets invoked only on gk20a.
Change-Id: Ib8efec8c5e90c135bd0c10bb1eaa3f797ec68698
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1144993
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 2f85bf96..8dfe8eda 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -101,7 +101,6 @@ enum nvgpu_litter_value { | |||
101 | struct gpu_ops { | 101 | struct gpu_ops { |
102 | struct { | 102 | struct { |
103 | int (*determine_L2_size_bytes)(struct gk20a *gk20a); | 103 | int (*determine_L2_size_bytes)(struct gk20a *gk20a); |
104 | void (*set_max_ways_evict_last)(struct gk20a *g, u32 max_ways); | ||
105 | int (*init_comptags)(struct gk20a *g, struct gr_gk20a *gr); | 104 | int (*init_comptags)(struct gk20a *g, struct gr_gk20a *gr); |
106 | int (*cbc_ctrl)(struct gk20a *g, enum gk20a_cbc_op op, | 105 | int (*cbc_ctrl)(struct gk20a *g, enum gk20a_cbc_op op, |
107 | u32 min, u32 max); | 106 | u32 min, u32 max); |