diff options
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.h')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/vgpu.h | 12 |
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); | |||
27 | int vgpu_remove(struct platform_device *dev); | 27 | int vgpu_remove(struct platform_device *dev); |
28 | u64 vgpu_bar1_map(struct gk20a *g, struct sg_table **sgt, u64 size); | 28 | u64 vgpu_bar1_map(struct gk20a *g, struct sg_table **sgt, u64 size); |
29 | int vgpu_gr_isr(struct gk20a *g, struct tegra_vgpu_gr_intr_info *info); | 29 | int vgpu_gr_isr(struct gk20a *g, struct tegra_vgpu_gr_intr_info *info); |
30 | int vgpu_fifo_isr(struct gk20a *g, struct tegra_vgpu_fifo_intr_info *info); | ||
30 | void vgpu_init_fifo_ops(struct gpu_ops *gops); | 31 | void vgpu_init_fifo_ops(struct gpu_ops *gops); |
31 | void vgpu_init_gr_ops(struct gpu_ops *gops); | 32 | void vgpu_init_gr_ops(struct gpu_ops *gops); |
32 | void vgpu_init_ltc_ops(struct gpu_ops *gops); | 33 | void 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 | } |
59 | static inline u64 vgpu_bar1_map(struct gk20a *g, struct sg_table **sgt, u64 size) | 60 | static 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 | } |
63 | static inline int vgpu_gr_isr(struct gk20a *g, struct tegra_vgpu_gr_intr_info *info) | 65 | static inline int vgpu_gr_isr(struct gk20a *g, |
66 | struct tegra_vgpu_gr_intr_info *info) | ||
67 | { | ||
68 | return 0; | ||
69 | } | ||
70 | static 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 | } |