diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/vgpu.h')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/vgpu/vgpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.h b/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.h index be999930..eafe503c 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.h +++ b/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.h | |||
@@ -24,6 +24,7 @@ struct tegra_vgpu_gr_intr_info; | |||
24 | struct tegra_vgpu_fifo_intr_info; | 24 | struct tegra_vgpu_fifo_intr_info; |
25 | struct tegra_vgpu_cmd_msg; | 25 | struct tegra_vgpu_cmd_msg; |
26 | struct gk20a_platform; | 26 | struct gk20a_platform; |
27 | struct nvgpu_mem; | ||
27 | 28 | ||
28 | #ifdef CONFIG_TEGRA_GR_VIRTUALIZATION | 29 | #ifdef CONFIG_TEGRA_GR_VIRTUALIZATION |
29 | #include <nvgpu/vgpu/vgpu_ivc.h> | 30 | #include <nvgpu/vgpu/vgpu_ivc.h> |
@@ -69,7 +70,7 @@ int vgpu_pm_prepare_poweroff(struct device *dev); | |||
69 | int vgpu_pm_finalize_poweron(struct device *dev); | 70 | int vgpu_pm_finalize_poweron(struct device *dev); |
70 | int vgpu_probe(struct platform_device *dev); | 71 | int vgpu_probe(struct platform_device *dev); |
71 | int vgpu_remove(struct platform_device *dev); | 72 | int vgpu_remove(struct platform_device *dev); |
72 | u64 vgpu_bar1_map(struct gk20a *g, struct sg_table **sgt, u64 size); | 73 | u64 vgpu_bar1_map(struct gk20a *g, struct nvgpu_mem *mem); |
73 | int vgpu_gr_isr(struct gk20a *g, struct tegra_vgpu_gr_intr_info *info); | 74 | int vgpu_gr_isr(struct gk20a *g, struct tegra_vgpu_gr_intr_info *info); |
74 | int vgpu_gr_nonstall_isr(struct gk20a *g, | 75 | int vgpu_gr_nonstall_isr(struct gk20a *g, |
75 | struct tegra_vgpu_gr_nonstall_intr_info *info); | 76 | struct tegra_vgpu_gr_nonstall_intr_info *info); |
@@ -125,8 +126,7 @@ static inline int vgpu_remove(struct platform_device *dev) | |||
125 | { | 126 | { |
126 | return -ENOSYS; | 127 | return -ENOSYS; |
127 | } | 128 | } |
128 | static inline u64 vgpu_bar1_map(struct gk20a *g, struct sg_table **sgt, | 129 | static inline u64 vgpu_bar1_map(struct gk20a *g, struct nvgpu_mem *mem) |
129 | u64 size) | ||
130 | { | 130 | { |
131 | return 0; | 131 | return 0; |
132 | } | 132 | } |