summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2016-10-04 17:54:16 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-10-14 11:11:19 -0400
commit1029136eaa1c7c1cb9a9c8413af439fd741dc232 (patch)
treef01ccf9e665f28759a8b9596ec24249b172729b6 /drivers/gpu/nvgpu/gk20a/gr_gk20a.h
parent8728da1c6e76566ebc4717399d1f247200125595 (diff)
gpu: nvgpu: program sw veid bundles
Query sw veid bundles from sim/netlist and initialize hardware with those bundles. JIRA GV11B-11 Change-Id: I26f174781f0b00b919afac407e2bb9e1fa7b158a Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1231597 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
index c337a74a..df6a3f3c 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
@@ -231,6 +231,7 @@ struct gr_gk20a {
231 struct av_list_gk20a sw_method_init; 231 struct av_list_gk20a sw_method_init;
232 struct aiv_list_gk20a sw_ctx_load; 232 struct aiv_list_gk20a sw_ctx_load;
233 struct av_list_gk20a sw_non_ctx_load; 233 struct av_list_gk20a sw_non_ctx_load;
234 struct av_list_gk20a sw_veid_bundle_init;
234 struct { 235 struct {
235 struct aiv_list_gk20a sys; 236 struct aiv_list_gk20a sys;
236 struct aiv_list_gk20a gpc; 237 struct aiv_list_gk20a gpc;
@@ -643,6 +644,9 @@ int gr_gk20a_get_ctx_id(struct gk20a *g,
643 644
644u32 gk20a_mask_hww_warp_esr(u32 hww_warp_esr); 645u32 gk20a_mask_hww_warp_esr(u32 hww_warp_esr);
645 646
647int gr_gk20a_wait_fe_idle(struct gk20a *g, unsigned long end_jiffies,
648 u32 expect_delay);
649
646bool gr_gk20a_suspend_context(struct channel_gk20a *ch); 650bool gr_gk20a_suspend_context(struct channel_gk20a *ch);
647bool gr_gk20a_resume_context(struct channel_gk20a *ch); 651bool gr_gk20a_resume_context(struct channel_gk20a *ch);
648int gr_gk20a_suspend_contexts(struct gk20a *g, 652int gr_gk20a_suspend_contexts(struct gk20a *g,