diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2016-10-04 18:24:46 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-10-14 11:11:21 -0400 |
commit | 20d4f2052a25053c716201e708b4caddda1c9a16 (patch) | |
tree | fe469db5264ed271f598a49a5a047356c57b7e51 /drivers/gpu/nvgpu/gv11b/gr_gv11b.h | |
parent | 0b05d33d8af2dc602ffc78de4c16432b083ec80f (diff) |
gpu: nvgpu: gv11b: program sw veid bundles
Program hw state with relevant sw veid bundles.
JIRA GV11B-11
Change-Id: I2c5e02016ed41db9c9b7f85cc0b401abaa003d37
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/1231598
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h index 11f5fb47..5f13aa5c 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h | |||
@@ -25,6 +25,9 @@ enum { | |||
25 | VOLTA_DMA_COPY_A = 0xC3B5, | 25 | VOLTA_DMA_COPY_A = 0xC3B5, |
26 | }; | 26 | }; |
27 | 27 | ||
28 | /* use magic number 99 for subctx litter value */ | ||
29 | #define GPU_LIT_NUM_SUBCTX 99 | ||
30 | |||
28 | void gv11b_init_gr(struct gpu_ops *ops); | 31 | void gv11b_init_gr(struct gpu_ops *ops); |
29 | int gr_gv11b_alloc_buffer(struct vm_gk20a *vm, size_t size, | 32 | int gr_gv11b_alloc_buffer(struct vm_gk20a *vm, size_t size, |
30 | struct mem_desc *mem); | 33 | struct mem_desc *mem); |