summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2015-05-21 11:22:51 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2015-06-01 13:44:20 -0400
commitf8cc28af38752354130506b8a9cecd86fd7aa48e (patch)
tree66ccde05d6761c10bd1c398632f87990a03571ec /drivers/gpu/nvgpu/gm20b/gr_gm20b.c
parente19d349858d00fd97ab518376c90d6da9390510c (diff)
gpu: nvgpu: Use HAL for waiting for GR quiet
Create a HAL for waiting for GR to become quiet. Use it forall cases where we require GR to be quiet, but where it does not need to be idle. Bug 1640378 Change-Id: Ic0222d595a2d049e0fa8864b069ab94a97fac143 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/745640 Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_gm20b.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
index 1fa1eb24..8351b554 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
@@ -1117,4 +1117,5 @@ void gm20b_init_gr(struct gpu_ops *gops)
1117 gops->gr.get_rop_l2_en_mask = gr_gm20b_rop_l2_en_mask; 1117 gops->gr.get_rop_l2_en_mask = gr_gm20b_rop_l2_en_mask;
1118 gops->gr.get_max_fbps_count = gr_gm20b_get_max_fbps_count; 1118 gops->gr.get_max_fbps_count = gr_gm20b_get_max_fbps_count;
1119 gops->gr.init_sm_dsm_reg_info = gr_gm20b_init_sm_dsm_reg_info; 1119 gops->gr.init_sm_dsm_reg_info = gr_gm20b_init_sm_dsm_reg_info;
1120 gops->gr.wait_empty = gr_gk20a_wait_idle;
1120} 1121}