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/gm20b | |
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/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/ltc_gm20b.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c index 4fc9d51b..56df6a5d 100644 --- a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c | |||
@@ -394,7 +394,6 @@ void gm20b_init_ltc(struct gpu_ops *gops) | |||
394 | { | 394 | { |
395 | /* Gk20a reused ops. */ | 395 | /* Gk20a reused ops. */ |
396 | gops->ltc.determine_L2_size_bytes = gm20b_determine_L2_size_bytes; | 396 | gops->ltc.determine_L2_size_bytes = gm20b_determine_L2_size_bytes; |
397 | gops->ltc.set_max_ways_evict_last = gk20a_ltc_set_max_ways_evict_last; | ||
398 | gops->ltc.set_zbc_color_entry = gk20a_ltc_set_zbc_color_entry; | 397 | gops->ltc.set_zbc_color_entry = gk20a_ltc_set_zbc_color_entry; |
399 | gops->ltc.set_zbc_depth_entry = gk20a_ltc_set_zbc_depth_entry; | 398 | gops->ltc.set_zbc_depth_entry = gk20a_ltc_set_zbc_depth_entry; |
400 | gops->ltc.init_cbc = gk20a_ltc_init_cbc; | 399 | gops->ltc.init_cbc = gk20a_ltc_init_cbc; |