From 0706e94c9204becdee6a32391a319cad690d1bc3 Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Mon, 6 Aug 2018 17:19:01 +0530 Subject: gpu: nvgpu: export APIs to handle sw methods Export below APIs in gv11b/gr_gv11b.h header so that they can be called from other files too gr_gv11b_set_shader_cut_collector() gr_gv11b_set_go_idle_timeout() gr_gv11b_set_coalesce_buffer_size() gr_gv11b_set_tex_in_dbg() gr_gv11b_set_skedcheck() gv11b_gr_set_shader_exceptions() Bug 2260560 Change-Id: Ic85e35bc223c88c2a54fab09851b8a957b4d1153 Signed-off-by: Deepak Nibade Reviewed-on: https://git-master.nvidia.com/r/1793525 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gv11b/gr_gv11b.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.h') diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h index f799ccfe..9c680827 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h @@ -251,4 +251,11 @@ int gr_gv11b_create_priv_addr_table(struct gk20a *g, u32 *num_registers); u32 gr_gv11b_get_nonpes_aware_tpc(struct gk20a *g, u32 gpc, u32 tpc); void gr_gv11b_powergate_tpc(struct gk20a *g); + +void gr_gv11b_set_shader_cut_collector(struct gk20a *g, u32 data); +void gv11b_gr_set_shader_exceptions(struct gk20a *g, u32 data); +void gr_gv11b_set_skedcheck(struct gk20a *g, u32 data); +void gr_gv11b_set_go_idle_timeout(struct gk20a *g, u32 data); +void gr_gv11b_set_coalesce_buffer_size(struct gk20a *g, u32 data); +void gr_gv11b_set_tex_in_dbg(struct gk20a *g, u32 data); #endif -- cgit v1.2.2