summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/vgpu.h')
-rw-r--r--drivers/gpu/nvgpu/common/linux/vgpu/vgpu.h6
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;
24struct tegra_vgpu_fifo_intr_info; 24struct tegra_vgpu_fifo_intr_info;
25struct tegra_vgpu_cmd_msg; 25struct tegra_vgpu_cmd_msg;
26struct gk20a_platform; 26struct gk20a_platform;
27struct 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);
69int vgpu_pm_finalize_poweron(struct device *dev); 70int vgpu_pm_finalize_poweron(struct device *dev);
70int vgpu_probe(struct platform_device *dev); 71int vgpu_probe(struct platform_device *dev);
71int vgpu_remove(struct platform_device *dev); 72int vgpu_remove(struct platform_device *dev);
72u64 vgpu_bar1_map(struct gk20a *g, struct sg_table **sgt, u64 size); 73u64 vgpu_bar1_map(struct gk20a *g, struct nvgpu_mem *mem);
73int vgpu_gr_isr(struct gk20a *g, struct tegra_vgpu_gr_intr_info *info); 74int vgpu_gr_isr(struct gk20a *g, struct tegra_vgpu_gr_intr_info *info);
74int vgpu_gr_nonstall_isr(struct gk20a *g, 75int 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}
128static inline u64 vgpu_bar1_map(struct gk20a *g, struct sg_table **sgt, 129static 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}