diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-07-12 19:49:57 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-08-16 06:56:35 -0400 |
commit | ff38ab4dcd87088dc60c870aaf910fcdc4af5918 (patch) | |
tree | 222e68a51531203c7aabbce3c6ffdd49a6cd058c /drivers/gpu/nvgpu/gk20a | |
parent | 0dd02e634ddc2f3e048b39048d2299d24401fdf8 (diff) |
gpu: nvgpu: Disable rd_coalesce for all chips
Disable read coalescing for all chips.
Bug 200314091
Change-Id: Iaa3f58f94369ae1edae0620083eca4594be730fd
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1518308
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 58558159..4878fdd6 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -408,6 +408,7 @@ struct gpu_ops { | |||
408 | void (*resume_single_sm)(struct gk20a *g, | 408 | void (*resume_single_sm)(struct gk20a *g, |
409 | u32 gpc, u32 tpc, u32 sm); | 409 | u32 gpc, u32 tpc, u32 sm); |
410 | void (*resume_all_sms)(struct gk20a *g); | 410 | void (*resume_all_sms)(struct gk20a *g); |
411 | void (*disable_rd_coalesce)(struct gk20a *g); | ||
411 | } gr; | 412 | } gr; |
412 | struct { | 413 | struct { |
413 | void (*init_hw)(struct gk20a *g); | 414 | void (*init_hw)(struct gk20a *g); |
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index 608b011a..cd1d31a5 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -4521,6 +4521,9 @@ static int gk20a_init_gr_setup_hw(struct gk20a *g) | |||
4521 | if (g->ops.fb.init_cbc) | 4521 | if (g->ops.fb.init_cbc) |
4522 | g->ops.fb.init_cbc(g, gr); | 4522 | g->ops.fb.init_cbc(g, gr); |
4523 | 4523 | ||
4524 | if (g->ops.gr.disable_rd_coalesce) | ||
4525 | g->ops.gr.disable_rd_coalesce(g); | ||
4526 | |||
4524 | /* load ctx init */ | 4527 | /* load ctx init */ |
4525 | for (i = 0; i < sw_ctx_load->count; i++) | 4528 | for (i = 0; i < sw_ctx_load->count; i++) |
4526 | gk20a_writel(g, sw_ctx_load->l[i].addr, | 4529 | gk20a_writel(g, sw_ctx_load->l[i].addr, |