diff options
Diffstat (limited to 'drivers/video/tegra/host')
-rw-r--r-- | drivers/video/tegra/host/bus.c | 9 | ||||
-rw-r--r-- | drivers/video/tegra/host/chip_support.h | 1 | ||||
-rw-r--r-- | drivers/video/tegra/host/dev.c | 3 | ||||
-rw-r--r-- | drivers/video/tegra/host/nvhost_cdma.h | 2 | ||||
-rw-r--r-- | drivers/video/tegra/host/nvhost_channel.h | 3 | ||||
-rw-r--r-- | drivers/video/tegra/host/nvhost_hwctx.h | 2 | ||||
-rw-r--r-- | drivers/video/tegra/host/nvhost_syncpt.c | 3 | ||||
-rw-r--r-- | drivers/video/tegra/host/nvhost_syncpt.h | 7 | ||||
-rw-r--r-- | drivers/video/tegra/host/t20/syncpt_t20.c | 1 |
9 files changed, 18 insertions, 13 deletions
diff --git a/drivers/video/tegra/host/bus.c b/drivers/video/tegra/host/bus.c index a633950aeaff..0ba30dd99ffa 100644 --- a/drivers/video/tegra/host/bus.c +++ b/drivers/video/tegra/host/bus.c @@ -2,11 +2,9 @@ * drivers/video/tegra/host/bus.c * * Copyright (C) 2010 Google, Inc. + * Author: Erik Gilling <konkers@google.com> * - * Author: - * Erik Gilling <konkers@google.com> - * - * based heavily on drivers/base/platform.c + * Copyright (C) 2010-2011 NVIDIA Corporation * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and @@ -20,8 +18,7 @@ */ #include <linux/pm_runtime.h> - -#include <mach/nvhost.h> +#include <linux/nvhost.h> #include "dev.h" diff --git a/drivers/video/tegra/host/chip_support.h b/drivers/video/tegra/host/chip_support.h index c63200189b34..a0b0f0278a0f 100644 --- a/drivers/video/tegra/host/chip_support.h +++ b/drivers/video/tegra/host/chip_support.h @@ -23,6 +23,7 @@ #define _NVHOST_CHIP_SUPPORT_H_ struct output; +struct nvhost_waitchk; struct nvhost_chip_support { struct { diff --git a/drivers/video/tegra/host/dev.c b/drivers/video/tegra/host/dev.c index 16479962127d..37d18bc2d175 100644 --- a/drivers/video/tegra/host/dev.c +++ b/drivers/video/tegra/host/dev.c @@ -37,7 +37,8 @@ #include <asm/io.h> -#include <mach/nvhost.h> +#include <linux/nvhost.h> +#include <linux/nvhost_ioctl.h> #include <mach/nvmap.h> #include <mach/gpufuse.h> diff --git a/drivers/video/tegra/host/nvhost_cdma.h b/drivers/video/tegra/host/nvhost_cdma.h index 64d17249f6af..e48d733850a9 100644 --- a/drivers/video/tegra/host/nvhost_cdma.h +++ b/drivers/video/tegra/host/nvhost_cdma.h @@ -26,7 +26,7 @@ #include <linux/sched.h> #include <linux/semaphore.h> -#include <mach/nvhost.h> +#include <linux/nvhost.h> #include <mach/nvmap.h> #include "nvhost_acm.h" diff --git a/drivers/video/tegra/host/nvhost_channel.h b/drivers/video/tegra/host/nvhost_channel.h index e108a2078911..c939a19d3fad 100644 --- a/drivers/video/tegra/host/nvhost_channel.h +++ b/drivers/video/tegra/host/nvhost_channel.h @@ -3,7 +3,7 @@ * * Tegra Graphics Host Channel * - * Copyright (c) 2010, NVIDIA Corporation. + * Copyright (c) 2010-2011, NVIDIA Corporation. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -35,6 +35,7 @@ #define NVHOST_MAX_HANDLES 1280 struct nvhost_master; +struct nvhost_waitchk; struct nvhost_channeldesc { const char *name; diff --git a/drivers/video/tegra/host/nvhost_hwctx.h b/drivers/video/tegra/host/nvhost_hwctx.h index 83d93bd871eb..06df90e58fb5 100644 --- a/drivers/video/tegra/host/nvhost_hwctx.h +++ b/drivers/video/tegra/host/nvhost_hwctx.h @@ -26,7 +26,7 @@ #include <linux/string.h> #include <linux/kref.h> -#include <mach/nvhost.h> +#include <linux/nvhost.h> #include <mach/nvmap.h> struct nvhost_channel; diff --git a/drivers/video/tegra/host/nvhost_syncpt.c b/drivers/video/tegra/host/nvhost_syncpt.c index 71233096c0c6..6236dedf5f88 100644 --- a/drivers/video/tegra/host/nvhost_syncpt.c +++ b/drivers/video/tegra/host/nvhost_syncpt.c @@ -3,7 +3,7 @@ * * Tegra Graphics Host Syncpoints * - * Copyright (c) 2010, NVIDIA Corporation. + * Copyright (c) 2010-2011, NVIDIA Corporation. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,6 +20,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include <linux/nvhost_ioctl.h> #include "nvhost_syncpt.h" #include "dev.h" diff --git a/drivers/video/tegra/host/nvhost_syncpt.h b/drivers/video/tegra/host/nvhost_syncpt.h index b6db72e915a9..c8f8b4bb1262 100644 --- a/drivers/video/tegra/host/nvhost_syncpt.h +++ b/drivers/video/tegra/host/nvhost_syncpt.h @@ -3,7 +3,7 @@ * * Tegra Graphics Host Syncpoints * - * Copyright (c) 2010, NVIDIA Corporation. + * Copyright (c) 2010-2011, NVIDIA Corporation. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,10 +25,13 @@ #include <linux/kernel.h> #include <linux/sched.h> -#include <mach/nvhost.h> +#include <linux/nvhost.h> #include <mach/nvmap.h> #include <asm/atomic.h> +struct nvhost_syncpt; +struct nvhost_waitchk; + /* host managed and invalid syncpt id */ #define NVSYNCPT_GRAPHICS_HOST (0) #define NVSYNCPT_INVALID (-1) diff --git a/drivers/video/tegra/host/t20/syncpt_t20.c b/drivers/video/tegra/host/t20/syncpt_t20.c index ade896e6299e..781654b656da 100644 --- a/drivers/video/tegra/host/t20/syncpt_t20.c +++ b/drivers/video/tegra/host/t20/syncpt_t20.c @@ -20,6 +20,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include <linux/nvhost_ioctl.h> #include "../nvhost_syncpt.h" #include "../dev.h" |