diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2016-10-04 17:54:16 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-10-14 11:11:19 -0400 |
commit | 1029136eaa1c7c1cb9a9c8413af439fd741dc232 (patch) | |
tree | f01ccf9e665f28759a8b9596ec24249b172729b6 /drivers/gpu/nvgpu/gk20a/gr_gk20a.h | |
parent | 8728da1c6e76566ebc4717399d1f247200125595 (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.h | 4 |
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 | ||
644 | u32 gk20a_mask_hww_warp_esr(u32 hww_warp_esr); | 645 | u32 gk20a_mask_hww_warp_esr(u32 hww_warp_esr); |
645 | 646 | ||
647 | int gr_gk20a_wait_fe_idle(struct gk20a *g, unsigned long end_jiffies, | ||
648 | u32 expect_delay); | ||
649 | |||
646 | bool gr_gk20a_suspend_context(struct channel_gk20a *ch); | 650 | bool gr_gk20a_suspend_context(struct channel_gk20a *ch); |
647 | bool gr_gk20a_resume_context(struct channel_gk20a *ch); | 651 | bool gr_gk20a_resume_context(struct channel_gk20a *ch); |
648 | int gr_gk20a_suspend_contexts(struct gk20a *g, | 652 | int gr_gk20a_suspend_contexts(struct gk20a *g, |