summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2016-05-24 16:50:06 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-05-25 14:58:54 -0400
commitdc08f78c578e60c0b58e1f489bd9527e4ce2c254 (patch)
tree4586da9da29da22ae34fb40b3b825d65d0fe5025 /drivers/gpu/nvgpu/gk20a/gk20a.h
parent01a0c3f1b4ed2f43f3943125961f3cfd726ababf (diff)
gpu: nvgpu: Move PCI devnodes to own directory
To be able to scan, PCI devnodes need to be in a directory with read permission. By default /dev is read protected by SELinux policy. Move the devnodes to their own directory so that reading this one directory can be allowed. At the same time rename the nodes to start with string "card-". JIRA DNVGPU-54 Change-Id: I0df4ced08afd1f3a468e983d07395ffcb8050365 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1152745 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Konsta Holtta <kholtta@nvidia.com> GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index f5b4bb3f..d131862b 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -1067,8 +1067,9 @@ int gk20a_init_gpu_characteristics(struct gk20a *g);
1067 1067
1068void gk20a_pbus_isr(struct gk20a *g); 1068void gk20a_pbus_isr(struct gk20a *g);
1069 1069
1070int gk20a_user_init(struct device *dev, const char *interface_name); 1070int gk20a_user_init(struct device *dev, const char *interface_name,
1071void gk20a_user_deinit(struct device *dev); 1071 struct class *class);
1072void gk20a_user_deinit(struct device *dev, struct class *class);
1072 1073
1073void gk20a_debug_dump_device(void *dev); 1074void gk20a_debug_dump_device(void *dev);
1074 1075