summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/vgpu/vgpu.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.h b/drivers/gpu/nvgpu/vgpu/vgpu.h
index 6ce61e92..dcfbddf2 100644
--- a/drivers/gpu/nvgpu/vgpu/vgpu.h
+++ b/drivers/gpu/nvgpu/vgpu/vgpu.h
@@ -25,6 +25,13 @@
25#ifndef _VIRT_H_ 25#ifndef _VIRT_H_
26#define _VIRT_H_ 26#define _VIRT_H_
27 27
28struct device;
29struct tegra_vgpu_gr_intr_info;
30struct tegra_vgpu_fifo_intr_info;
31struct tegra_vgpu_cmd_msg;
32struct gk20a_platform;
33
34#ifdef CONFIG_TEGRA_GR_VIRTUALIZATION
28#include <linux/tegra_gr_comm.h> 35#include <linux/tegra_gr_comm.h>
29#include <linux/tegra_vgpu.h> 36#include <linux/tegra_vgpu.h>
30#include "gk20a/gk20a.h" 37#include "gk20a/gk20a.h"
@@ -33,8 +40,6 @@
33 40
34#include <nvgpu/thread.h> 41#include <nvgpu/thread.h>
35 42
36#ifdef CONFIG_TEGRA_GR_VIRTUALIZATION
37
38struct vgpu_priv_data { 43struct vgpu_priv_data {
39 u64 virt_handle; 44 u64 virt_handle;
40 struct nvgpu_thread intr_handler; 45 struct nvgpu_thread intr_handler;