summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2016-10-17 13:39:18 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-10-19 13:49:13 -0400
commit35d2db64e28df6d65fed381c793f0954eed5eb7b (patch)
tree4dde0405ee8f3bac62bef9c35ee66dfb4923c57e /drivers/gpu/nvgpu/gv11b/gr_gv11b.h
parentda1695ae5c1319e19afe8e7890b51de67ec8c052 (diff)
gpu: nvgpu: gv11b: update gr cb callbacks
Update gr cb callbacks with gv11b default sizes. Also updated sw method ids for volta. JIRA GV11B-11 Change-Id: I77cccedb7a017f378e2194cef98ea4b0bf7acd6b Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1237786 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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
index df03cd8a..fe5445d9 100644
--- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
@@ -28,6 +28,11 @@ enum {
28/* use magic number 99 for subctx litter value */ 28/* use magic number 99 for subctx litter value */
29#define GPU_LIT_NUM_SUBCTX 99 29#define GPU_LIT_NUM_SUBCTX 99
30 30
31#define NVC397_SET_SHADER_EXCEPTIONS 0x1528
32#define NVC397_SET_CIRCULAR_BUFFER_SIZE 0x1280
33#define NVC397_SET_ALPHA_CIRCULAR_BUFFER_SIZE 0x02dc
34#define NVC397_SET_GO_IDLE_TIMEOUT 0x022c
35
31void gv11b_init_gr(struct gpu_ops *ops); 36void gv11b_init_gr(struct gpu_ops *ops);
32int gr_gv11b_alloc_buffer(struct vm_gk20a *vm, size_t size, 37int gr_gv11b_alloc_buffer(struct vm_gk20a *vm, size_t size,
33 struct mem_desc *mem); 38 struct mem_desc *mem);