From 0130c7ba43253790ef7e6e79c86c14223715f572 Mon Sep 17 00:00:00 2001 From: Richard Zhao Date: Thu, 17 Aug 2017 10:32:17 -0700 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1543020 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-mobile-coverity GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/vgpu/vgpu.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.h') 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); #if defined(CONFIG_GK20A_CYCLE_STATS) void vgpu_init_css_ops(struct gpu_ops *gops); #endif +void vgpu_init_ce2_ops(struct gpu_ops *gops); int vgpu_init_mm_support(struct gk20a *g); int vgpu_init_gr_support(struct gk20a *g); int vgpu_init_fifo_support(struct gk20a *g); @@ -178,6 +179,9 @@ static inline void vgpu_init_css_ops(struct gpu_ops *gops) { } #endif +static inline void vgpu_init_ce2_ops(struct gpu_ops *gops) +{ +} static inline int vgpu_init_mm_support(struct gk20a *g) { return -ENOSYS; -- cgit v1.2.2