summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/vgpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.h')
-rw-r--r--drivers/gpu/nvgpu/vgpu/vgpu.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.h b/drivers/gpu/nvgpu/vgpu/vgpu.h
index 4677b36c..1a7ef7ba 100644
--- a/drivers/gpu/nvgpu/vgpu/vgpu.h
+++ b/drivers/gpu/nvgpu/vgpu/vgpu.h
@@ -27,6 +27,7 @@ int vgpu_probe(struct platform_device *dev);
27int vgpu_remove(struct platform_device *dev); 27int vgpu_remove(struct platform_device *dev);
28u64 vgpu_bar1_map(struct gk20a *g, struct sg_table **sgt, u64 size); 28u64 vgpu_bar1_map(struct gk20a *g, struct sg_table **sgt, u64 size);
29int vgpu_gr_isr(struct gk20a *g, struct tegra_vgpu_gr_intr_info *info); 29int vgpu_gr_isr(struct gk20a *g, struct tegra_vgpu_gr_intr_info *info);
30int vgpu_fifo_isr(struct gk20a *g, struct tegra_vgpu_fifo_intr_info *info);
30void vgpu_init_fifo_ops(struct gpu_ops *gops); 31void vgpu_init_fifo_ops(struct gpu_ops *gops);
31void vgpu_init_gr_ops(struct gpu_ops *gops); 32void vgpu_init_gr_ops(struct gpu_ops *gops);
32void vgpu_init_ltc_ops(struct gpu_ops *gops); 33void vgpu_init_ltc_ops(struct gpu_ops *gops);
@@ -56,11 +57,18 @@ static inline int vgpu_remove(struct platform_device *dev)
56{ 57{
57 return -ENOSYS; 58 return -ENOSYS;
58} 59}
59static inline u64 vgpu_bar1_map(struct gk20a *g, struct sg_table **sgt, u64 size) 60static inline u64 vgpu_bar1_map(struct gk20a *g, struct sg_table **sgt,
61 u64 size)
60{ 62{
61 return 0; 63 return 0;
62} 64}
63static inline int vgpu_gr_isr(struct gk20a *g, struct tegra_vgpu_gr_intr_info *info) 65static inline int vgpu_gr_isr(struct gk20a *g,
66 struct tegra_vgpu_gr_intr_info *info)
67{
68 return 0;
69}
70static inline int vgpu_fifo_isr(struct gk20a *g,
71 struct tegra_vgpu_fifo_intr_info *info)
64{ 72{
65 return 0; 73 return 0;
66} 74}