summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-03-23 15:49:58 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-04-02 11:28:22 -0400
commit1e355ca52e2b3ac5f4e433e1bb115f6fd8499954 (patch)
treeec1d0a9fe758c0fbf5f5c877b8d40bca9d5d5002 /drivers/gpu/nvgpu/gk20a/gk20a.h
parent660c9a95104b37c947e0c2f6aeda4c92698b40f4 (diff)
gpu: nvgpu: Split as code to as IOCTL and common
Split as_gk20a.c into two parts: common/linux/ioctl_as.c deals with as related devnodes and ioctls. This file contains all the Linux specific parts of as_gk20a.c. common/as.c deals with general as_gk20a maintenance and is Linux independent. JIRA NVGPU-16 Change-Id: I2d8541e0bd6ce159dc6e4de8e819dfcff0fa8f80 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1330803 Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 451e32ca..1158add1 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -37,13 +37,14 @@ struct dbg_profiler_object_data;
37#include <soc/tegra/chip-id.h> 37#include <soc/tegra/chip-id.h>
38#include <linux/version.h> 38#include <linux/version.h>
39#include <linux/atomic.h> 39#include <linux/atomic.h>
40#include <linux/cdev.h>
40 41
41#include "../../../arch/arm/mach-tegra/iomap.h" 42#include "../../../arch/arm/mach-tegra/iomap.h"
42 43
43#include <nvgpu/pramin.h> 44#include <nvgpu/pramin.h>
44#include <nvgpu/acr/nvgpu_acr.h> 45#include <nvgpu/acr/nvgpu_acr.h>
46#include <nvgpu/as.h>
45 47
46#include "as_gk20a.h"
47#include "clk_gk20a.h" 48#include "clk_gk20a.h"
48#include "ce2_gk20a.h" 49#include "ce2_gk20a.h"
49#include "fifo_gk20a.h" 50#include "fifo_gk20a.h"
@@ -1044,6 +1045,11 @@ struct gk20a {
1044 struct { 1045 struct {
1045 struct cdev cdev; 1046 struct cdev cdev;
1046 struct device *node; 1047 struct device *node;
1048 } as_dev;
1049
1050 struct {
1051 struct cdev cdev;
1052 struct device *node;
1047 } dbg; 1053 } dbg;
1048 1054
1049 struct { 1055 struct {