summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-11-10 14:38:41 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-11-13 21:56:30 -0500
commitfd2cac59f3491cb5b4f5d1f3fc97df94734bd682 (patch)
treef58b133d0add2c05a1d019cae026059fc0b9a78d /drivers/gpu/nvgpu/vgpu
parentc9419732776a3f31b3c1ace0cd113151f3a4d7cd (diff)
gpu: nvgpu: Include UAPI explicitly
Add explicit #includes for <uapi/linux/nvgpu.h> for source code files that depend on it. JIRA NVGPU-259 Change-Id: I717d5f1493423fd3a7a34b6dd3380d33a9307a09 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1596254 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu')
-rw-r--r--drivers/gpu/nvgpu/vgpu/css_vgpu.c1
-rw-r--r--drivers/gpu/nvgpu/vgpu/dbg_vgpu.c1
-rw-r--r--drivers/gpu/nvgpu/vgpu/fifo_vgpu.c1
-rw-r--r--drivers/gpu/nvgpu/vgpu/gr_vgpu.c2
-rw-r--r--drivers/gpu/nvgpu/vgpu/mm_vgpu.c1
-rw-r--r--drivers/gpu/nvgpu/vgpu/vgpu.c1
6 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/css_vgpu.c b/drivers/gpu/nvgpu/vgpu/css_vgpu.c
index 357d119d..7362fc6f 100644
--- a/drivers/gpu/nvgpu/vgpu/css_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/css_vgpu.c
@@ -23,6 +23,7 @@
23 23
24#include <linux/tegra-ivc.h> 24#include <linux/tegra-ivc.h>
25#include <linux/tegra_vgpu.h> 25#include <linux/tegra_vgpu.h>
26#include <uapi/linux/nvgpu.h>
26 27
27#include "gk20a/gk20a.h" 28#include "gk20a/gk20a.h"
28#include "gk20a/channel_gk20a.h" 29#include "gk20a/channel_gk20a.h"
diff --git a/drivers/gpu/nvgpu/vgpu/dbg_vgpu.c b/drivers/gpu/nvgpu/vgpu/dbg_vgpu.c
index 0ed66eb9..4879c2eb 100644
--- a/drivers/gpu/nvgpu/vgpu/dbg_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/dbg_vgpu.c
@@ -22,6 +22,7 @@
22 22
23#include <linux/tegra_gr_comm.h> 23#include <linux/tegra_gr_comm.h>
24#include <linux/tegra_vgpu.h> 24#include <linux/tegra_vgpu.h>
25#include <uapi/linux/nvgpu.h>
25 26
26#include "gk20a/gk20a.h" 27#include "gk20a/gk20a.h"
27#include "gk20a/channel_gk20a.h" 28#include "gk20a/channel_gk20a.h"
diff --git a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
index 149a51c0..fa9388f2 100644
--- a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
@@ -24,6 +24,7 @@
24 24
25#include <linux/dma-mapping.h> 25#include <linux/dma-mapping.h>
26#include <trace/events/gk20a.h> 26#include <trace/events/gk20a.h>
27#include <uapi/linux/nvgpu.h>
27 28
28#include <nvgpu/kmem.h> 29#include <nvgpu/kmem.h>
29#include <nvgpu/dma.h> 30#include <nvgpu/dma.h>
diff --git a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
index 730f4b22..5dc6f68e 100644
--- a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
@@ -22,6 +22,8 @@
22 * DEALINGS IN THE SOFTWARE. 22 * DEALINGS IN THE SOFTWARE.
23 */ 23 */
24 24
25#include <uapi/linux/nvgpu.h>
26
25#include <nvgpu/kmem.h> 27#include <nvgpu/kmem.h>
26#include <nvgpu/bug.h> 28#include <nvgpu/bug.h>
27 29
diff --git a/drivers/gpu/nvgpu/vgpu/mm_vgpu.c b/drivers/gpu/nvgpu/vgpu/mm_vgpu.c
index a125366a..79d15d10 100644
--- a/drivers/gpu/nvgpu/vgpu/mm_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/mm_vgpu.c
@@ -23,6 +23,7 @@
23 */ 23 */
24 24
25#include <linux/dma-mapping.h> 25#include <linux/dma-mapping.h>
26#include <uapi/linux/nvgpu.h>
26 27
27#include <nvgpu/kmem.h> 28#include <nvgpu/kmem.h>
28#include <nvgpu/dma.h> 29#include <nvgpu/dma.h>
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.c b/drivers/gpu/nvgpu/vgpu/vgpu.c
index 4a85ee71..6a9e986b 100644
--- a/drivers/gpu/nvgpu/vgpu/vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/vgpu.c
@@ -27,6 +27,7 @@
27#include <linux/pm_runtime.h> 27#include <linux/pm_runtime.h>
28#include <linux/pm_qos.h> 28#include <linux/pm_qos.h>
29#include <soc/tegra/chip-id.h> 29#include <soc/tegra/chip-id.h>
30#include <uapi/linux/nvgpu.h>
30 31
31#include <nvgpu/kmem.h> 32#include <nvgpu/kmem.h>
32#include <nvgpu/bug.h> 33#include <nvgpu/bug.h>