summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-04-11 14:39:21 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-04-12 10:01:12 -0400
commit7665421874e66f0b00d52a5f1db5210895a9ab7b (patch)
tree039b5523ae1b44330c1d37bae145daf855714b2e /drivers/gpu/nvgpu/vgpu
parentfb1f604f41435a206b866fba87d36bbc3e9ae474 (diff)
gpu: nvgpu: Replace use of bitops.h and kernel.h
Remove use of linux/kernel.h and linux/compiler.h. We don't use anything in those headers. Also replace use of linux/bitops.h with new wrapper nvgpu/bitops.h. JIRA NVGPU-13 Change-Id: Iefa6b4598d5a5e7fc386c0a7a554e778a87010d6 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1460777 Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu')
-rw-r--r--drivers/gpu/nvgpu/vgpu/css_vgpu.c2
-rw-r--r--drivers/gpu/nvgpu/vgpu/gk20a/vgpu_gr_gk20a.c2
-rw-r--r--drivers/gpu/nvgpu/vgpu/gm20b/vgpu_gr_gm20b.c2
-rw-r--r--drivers/gpu/nvgpu/vgpu/sysfs_vgpu.c1
-rw-r--r--drivers/gpu/nvgpu/vgpu/tsg_vgpu.c1
5 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/css_vgpu.c b/drivers/gpu/nvgpu/vgpu/css_vgpu.c
index 142d9ce1..cca8766b 100644
--- a/drivers/gpu/nvgpu/vgpu/css_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/css_vgpu.c
@@ -15,8 +15,6 @@
15 */ 15 */
16#if defined(CONFIG_GK20A_CYCLE_STATS) 16#if defined(CONFIG_GK20A_CYCLE_STATS)
17 17
18#include <linux/kernel.h>
19#include <linux/nvhost.h>
20#include <linux/tegra-ivc.h> 18#include <linux/tegra-ivc.h>
21#include <linux/tegra_vgpu.h> 19#include <linux/tegra_vgpu.h>
22 20
diff --git a/drivers/gpu/nvgpu/vgpu/gk20a/vgpu_gr_gk20a.c b/drivers/gpu/nvgpu/vgpu/gk20a/vgpu_gr_gk20a.c
index 0ba8db56..23da728e 100644
--- a/drivers/gpu/nvgpu/vgpu/gk20a/vgpu_gr_gk20a.c
+++ b/drivers/gpu/nvgpu/vgpu/gk20a/vgpu_gr_gk20a.c
@@ -11,8 +11,6 @@
11 * more details. 11 * more details.
12 */ 12 */
13 13
14#include <linux/kernel.h>
15
16#include "gk20a/gk20a.h" 14#include "gk20a/gk20a.h"
17#include "vgpu_gr_gk20a.h" 15#include "vgpu_gr_gk20a.h"
18 16
diff --git a/drivers/gpu/nvgpu/vgpu/gm20b/vgpu_gr_gm20b.c b/drivers/gpu/nvgpu/vgpu/gm20b/vgpu_gr_gm20b.c
index 8e44eda4..945e24fc 100644
--- a/drivers/gpu/nvgpu/vgpu/gm20b/vgpu_gr_gm20b.c
+++ b/drivers/gpu/nvgpu/vgpu/gm20b/vgpu_gr_gm20b.c
@@ -11,8 +11,6 @@
11 * more details. 11 * more details.
12 */ 12 */
13 13
14#include <linux/kernel.h>
15
16#include "gk20a/gk20a.h" 14#include "gk20a/gk20a.h"
17#include "vgpu_gr_gm20b.h" 15#include "vgpu_gr_gm20b.h"
18 16
diff --git a/drivers/gpu/nvgpu/vgpu/sysfs_vgpu.c b/drivers/gpu/nvgpu/vgpu/sysfs_vgpu.c
index d43a34aa..5a9f1fee 100644
--- a/drivers/gpu/nvgpu/vgpu/sysfs_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/sysfs_vgpu.c
@@ -12,7 +12,6 @@
12 */ 12 */
13 13
14#include <linux/device.h> 14#include <linux/device.h>
15#include <linux/kernel.h>
16#include <linux/gk20a.h> 15#include <linux/gk20a.h>
17 16
18#include "vgpu/vgpu.h" 17#include "vgpu/vgpu.h"
diff --git a/drivers/gpu/nvgpu/vgpu/tsg_vgpu.c b/drivers/gpu/nvgpu/vgpu/tsg_vgpu.c
index 8a0276f7..701be345 100644
--- a/drivers/gpu/nvgpu/vgpu/tsg_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/tsg_vgpu.c
@@ -14,7 +14,6 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#include <linux/kernel.h>
18#include <linux/tegra_vgpu.h> 17#include <linux/tegra_vgpu.h>
19 18
20#include "gk20a/gk20a.h" 19#include "gk20a/gk20a.h"