diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-05-24 16:50:06 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-05-25 14:58:54 -0400 |
commit | dc08f78c578e60c0b58e1f489bd9527e4ce2c254 (patch) | |
tree | 4586da9da29da22ae34fb40b3b825d65d0fe5025 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 01a0c3f1b4ed2f43f3943125961f3cfd726ababf (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.h | 5 |
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 | ||
1068 | void gk20a_pbus_isr(struct gk20a *g); | 1068 | void gk20a_pbus_isr(struct gk20a *g); |
1069 | 1069 | ||
1070 | int gk20a_user_init(struct device *dev, const char *interface_name); | 1070 | int gk20a_user_init(struct device *dev, const char *interface_name, |
1071 | void gk20a_user_deinit(struct device *dev); | 1071 | struct class *class); |
1072 | void gk20a_user_deinit(struct device *dev, struct class *class); | ||
1072 | 1073 | ||
1073 | void gk20a_debug_dump_device(void *dev); | 1074 | void gk20a_debug_dump_device(void *dev); |
1074 | 1075 | ||