From 82207a3d3cc69b296158e6ead6061df24609b777 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Mon, 30 Oct 2017 13:32:18 -0700 Subject: gpu: nvgpu: Put #includes in vgpu.h behind #ifdef JIRA NVGPU-259 Change-Id: I6d88f652d24ff6cf418b5f3680ace733309a6fea Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1590126 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Richard Zhao GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/vgpu/vgpu.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.h') 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 @@ #ifndef _VIRT_H_ #define _VIRT_H_ +struct device; +struct tegra_vgpu_gr_intr_info; +struct tegra_vgpu_fifo_intr_info; +struct tegra_vgpu_cmd_msg; +struct gk20a_platform; + +#ifdef CONFIG_TEGRA_GR_VIRTUALIZATION #include #include #include "gk20a/gk20a.h" @@ -33,8 +40,6 @@ #include -#ifdef CONFIG_TEGRA_GR_VIRTUALIZATION - struct vgpu_priv_data { u64 virt_handle; struct nvgpu_thread intr_handler; -- cgit v1.2.2