summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2017-05-25 08:11:38 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-08 09:37:15 -0400
commit0ad7f1d9aa18d959abf3cba6ca4e532fc9246a31 (patch)
tree781bd0ef8ffa6d11d45b9f595bfcbc966e5733e7 /drivers/gpu/nvgpu/common
parent2c9713e21c9ab93e7af45a4b9e76c1f378aab024 (diff)
gpu: nvgpu: use nvgpu specific nvhost APIs
Remove use of linux specifix header files <linux/nvhost.h> and <linux/nvhost_ioctl.h> and use nvgpu specific header file <nvgpu/nvhost.h> instead This is needed to remove all Linux dependencies from nvgpu driver Replace all nvhost_*() calls by nvgpu_nvhost_*() calls from new nvgpu library Remove platform device pointer host1x_dev from struct gk20a and add struct nvgpu_nvhost_dev instead Jira NVGPU-29 Change-Id: Ia7af70602cfc16f9ccc380752538c05a9cbb8a67 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1489726 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r--drivers/gpu/nvgpu/common/linux/ioctl_tsg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c b/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c
index 25805ea0..d530fff6 100644
--- a/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c
+++ b/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c
@@ -18,7 +18,6 @@
18#include <linux/file.h> 18#include <linux/file.h>
19#include <linux/cdev.h> 19#include <linux/cdev.h>
20#include <linux/uaccess.h> 20#include <linux/uaccess.h>
21#include <linux/nvhost.h>
22#include <uapi/linux/nvgpu.h> 21#include <uapi/linux/nvgpu.h>
23#include <linux/anon_inodes.h> 22#include <linux/anon_inodes.h>
24 23