diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2018-08-06 07:49:01 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-08-13 17:05:29 -0400 |
commit | 0706e94c9204becdee6a32391a319cad690d1bc3 (patch) | |
tree | 7c54bb24f85a6f245d291e7f352b60a9c87ea400 /drivers/gpu/nvgpu/gv11b/gr_gv11b.h | |
parent | 7ce03327a1e6353ecba2163cae2bf18038f279ad (diff) |
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 <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1793525
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.h | 7 |
1 files changed, 7 insertions, 0 deletions
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, | |||
251 | u32 *num_registers); | 251 | u32 *num_registers); |
252 | u32 gr_gv11b_get_nonpes_aware_tpc(struct gk20a *g, u32 gpc, u32 tpc); | 252 | u32 gr_gv11b_get_nonpes_aware_tpc(struct gk20a *g, u32 gpc, u32 tpc); |
253 | void gr_gv11b_powergate_tpc(struct gk20a *g); | 253 | void gr_gv11b_powergate_tpc(struct gk20a *g); |
254 | |||
255 | void gr_gv11b_set_shader_cut_collector(struct gk20a *g, u32 data); | ||
256 | void gv11b_gr_set_shader_exceptions(struct gk20a *g, u32 data); | ||
257 | void gr_gv11b_set_skedcheck(struct gk20a *g, u32 data); | ||
258 | void gr_gv11b_set_go_idle_timeout(struct gk20a *g, u32 data); | ||
259 | void gr_gv11b_set_coalesce_buffer_size(struct gk20a *g, u32 data); | ||
260 | void gr_gv11b_set_tex_in_dbg(struct gk20a *g, u32 data); | ||
254 | #endif | 261 | #endif |