summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/vgpu.h
diff options
context:
space:
mode:
authorRichard Zhao <rizhao@nvidia.com>2017-08-17 13:32:17 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-08-28 22:34:23 -0400
commit0130c7ba43253790ef7e6e79c86c14223715f572 (patch)
tree55d12877e0d8eaff7ab0774e2bad4d982c6742f3 /drivers/gpu/nvgpu/vgpu/vgpu.h
parent0e0767672ae7e66d0ec249b8847f36c685fe995e (diff)
gpu: nvgpu: vgpu: add num_pce to constants
Implement hal gops->ce2.get_num_pce. Jira VFND-3797 Change-Id: Ie4fd3f170f2961ab5ebd1867b83bfda40e57aa2b Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1543020 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.h')
-rw-r--r--drivers/gpu/nvgpu/vgpu/vgpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.h b/drivers/gpu/nvgpu/vgpu/vgpu.h
index cee81bb1..c5e57efa 100644
--- a/drivers/gpu/nvgpu/vgpu/vgpu.h
+++ b/drivers/gpu/nvgpu/vgpu/vgpu.h
@@ -94,6 +94,7 @@ void vgpu_init_tsg_ops(struct gpu_ops *gops);
94#if defined(CONFIG_GK20A_CYCLE_STATS) 94#if defined(CONFIG_GK20A_CYCLE_STATS)
95void vgpu_init_css_ops(struct gpu_ops *gops); 95void vgpu_init_css_ops(struct gpu_ops *gops);
96#endif 96#endif
97void vgpu_init_ce2_ops(struct gpu_ops *gops);
97int vgpu_init_mm_support(struct gk20a *g); 98int vgpu_init_mm_support(struct gk20a *g);
98int vgpu_init_gr_support(struct gk20a *g); 99int vgpu_init_gr_support(struct gk20a *g);
99int vgpu_init_fifo_support(struct gk20a *g); 100int vgpu_init_fifo_support(struct gk20a *g);
@@ -178,6 +179,9 @@ static inline void vgpu_init_css_ops(struct gpu_ops *gops)
178{ 179{
179} 180}
180#endif 181#endif
182static inline void vgpu_init_ce2_ops(struct gpu_ops *gops)
183{
184}
181static inline int vgpu_init_mm_support(struct gk20a *g) 185static inline int vgpu_init_mm_support(struct gk20a *g)
182{ 186{
183 return -ENOSYS; 187 return -ENOSYS;