diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2017-06-29 13:40:34 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-29 16:55:48 -0400 |
commit | 3e195bb02d62694728d80774cd03b486bb34ff14 (patch) | |
tree | 3dab967621ed425ec27c9c4c8291561402530da3 /drivers/gpu | |
parent | 54ab6fc82fafc4cf6d260a7c9a065f89fdffd282 (diff) |
pu: nvgpu: gv11b: rename write_preemption_ptr
Change function name write_preemption_ptr to set_preemption_buffer_va
to match with what exactly getting done in that function.
Change-Id: I91372642f1dba37e5e7bcda29ac9c4271cec4b53
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: https://git-master/r/1510973
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index e4826376..612c6628 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |||
@@ -2292,7 +2292,7 @@ static void gr_gv11b_load_tpc_mask(struct gk20a *g) | |||
2292 | 2292 | ||
2293 | } | 2293 | } |
2294 | 2294 | ||
2295 | static void gr_gv11b_write_preemption_ptr(struct gk20a *g, | 2295 | static void gr_gv11b_set_preemption_buffer_va(struct gk20a *g, |
2296 | struct nvgpu_mem *mem, u64 gpu_va) | 2296 | struct nvgpu_mem *mem, u64 gpu_va) |
2297 | { | 2297 | { |
2298 | u32 addr_lo, addr_hi; | 2298 | u32 addr_lo, addr_hi; |
@@ -2365,7 +2365,7 @@ void gv11b_init_gr(struct gpu_ops *gops) | |||
2365 | gops->gr.is_valid_class = gr_gv11b_is_valid_class; | 2365 | gops->gr.is_valid_class = gr_gv11b_is_valid_class; |
2366 | gops->gr.is_valid_gfx_class = gr_gv11b_is_valid_gfx_class; | 2366 | gops->gr.is_valid_gfx_class = gr_gv11b_is_valid_gfx_class; |
2367 | gops->gr.is_valid_compute_class = gr_gv11b_is_valid_compute_class; | 2367 | gops->gr.is_valid_compute_class = gr_gv11b_is_valid_compute_class; |
2368 | gops->gr.write_preemption_ptr = gr_gv11b_write_preemption_ptr; | 2368 | gops->gr.set_preemption_buffer_va = gr_gv11b_set_preemption_buffer_va; |
2369 | gops->gr.add_zbc_s = gr_gv11b_add_zbc_stencil; | 2369 | gops->gr.add_zbc_s = gr_gv11b_add_zbc_stencil; |
2370 | gops->gr.load_zbc_s_default_tbl = gr_gv11b_load_stencil_default_tbl; | 2370 | gops->gr.load_zbc_s_default_tbl = gr_gv11b_load_stencil_default_tbl; |
2371 | gops->gr.load_zbc_s_tbl = gr_gv11b_load_stencil_tbl; | 2371 | gops->gr.load_zbc_s_tbl = gr_gv11b_load_stencil_tbl; |