diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-12-09 03:49:08 -0500 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:52:03 -0500 |
commit | 4493b6b2004420eacab07f4e063377599ec9fe53 (patch) | |
tree | 44394a4b6b3ea6a06709a04ee739c99e630ff336 /drivers/gpu/nvgpu/gp10b/gr_gp10b.h | |
parent | d40f3fb2731b9e0586677026dcdeaabf63398933 (diff) |
gpu: nvgpu: gp10b: Enable CILP mode for compute
Allow enabling CILP for compute. Set CTA by default.
Bug 1517461
Change-Id: I85cc931b810afb3ee6116de1200d01b52e1bc29e
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/661298
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gr_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/gr_gp10b.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h index 6bbda564..1b99cafb 100644 --- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h | |||
@@ -39,14 +39,13 @@ struct gr_t18x { | |||
39 | }; | 39 | }; |
40 | 40 | ||
41 | struct gr_ctx_desc_t18x { | 41 | struct gr_ctx_desc_t18x { |
42 | int preempt_mode; | ||
43 | struct mem_desc preempt_ctxsw_buffer; | 42 | struct mem_desc preempt_ctxsw_buffer; |
44 | struct mem_desc spill_ctxsw_buffer; | 43 | struct mem_desc spill_ctxsw_buffer; |
45 | struct mem_desc betacb_ctxsw_buffer; | 44 | struct mem_desc betacb_ctxsw_buffer; |
46 | struct mem_desc pagepool_ctxsw_buffer; | 45 | struct mem_desc pagepool_ctxsw_buffer; |
47 | }; | 46 | }; |
48 | 47 | ||
49 | #define NVGPU_GR_PREEMPTION_MODE_WFI 0 | ||
50 | #define NVGPU_GR_PREEMPTION_MODE_GFXP 1 | 48 | #define NVGPU_GR_PREEMPTION_MODE_GFXP 1 |
49 | #define NVGPU_GR_PREEMPTION_MODE_CILP 3 | ||
51 | 50 | ||
52 | #endif | 51 | #endif |