diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2017-10-31 09:11:57 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-02 13:26:21 -0400 |
commit | 25440e63d2dfd329ba35aec48f11f0c20b18cdbd (patch) | |
tree | d66fe69181c8d54dd3fb0deefa018558e4359e0b /drivers/gpu/nvgpu/vgpu | |
parent | 2d71b3efaebb9807cb039979f1ce7dc621fb658f (diff) |
gpu: nvgpu: move platform_gk20a.h to linux
Move gk20a/platform_gk20a.h to linux specific directory as
common/linux/platform_gk20a.h since this file includes all linux specific
stuff
Fix #includes in all the files to include this file with correct path
Remove #include of this file where it is no more needed
Fix gk20a_init_sim_support() to receive struct gk20a as parameter
instead of receiving linux specific struct platform_device
NVGPU-316
Change-Id: I5ec08e776b753af4d39d11c11f6f068be2ac236f
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1589938
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/css_vgpu.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/tsg_vgpu.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/vgpu.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/css_vgpu.c b/drivers/gpu/nvgpu/vgpu/css_vgpu.c index 266ce871..f45ccc60 100644 --- a/drivers/gpu/nvgpu/vgpu/css_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/css_vgpu.c | |||
@@ -26,8 +26,8 @@ | |||
26 | 26 | ||
27 | #include "gk20a/gk20a.h" | 27 | #include "gk20a/gk20a.h" |
28 | #include "gk20a/channel_gk20a.h" | 28 | #include "gk20a/channel_gk20a.h" |
29 | #include "gk20a/platform_gk20a.h" | ||
30 | #include "gk20a/css_gr_gk20a.h" | 29 | #include "gk20a/css_gr_gk20a.h" |
30 | #include "common/linux/platform_gk20a.h" | ||
31 | #include "vgpu.h" | 31 | #include "vgpu.h" |
32 | #include "css_vgpu.h" | 32 | #include "css_vgpu.h" |
33 | 33 | ||
diff --git a/drivers/gpu/nvgpu/vgpu/tsg_vgpu.c b/drivers/gpu/nvgpu/vgpu/tsg_vgpu.c index 94d7140e..683317dc 100644 --- a/drivers/gpu/nvgpu/vgpu/tsg_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/tsg_vgpu.c | |||
@@ -24,8 +24,8 @@ | |||
24 | 24 | ||
25 | #include "gk20a/gk20a.h" | 25 | #include "gk20a/gk20a.h" |
26 | #include "gk20a/channel_gk20a.h" | 26 | #include "gk20a/channel_gk20a.h" |
27 | #include "gk20a/platform_gk20a.h" | ||
28 | #include "gk20a/tsg_gk20a.h" | 27 | #include "gk20a/tsg_gk20a.h" |
28 | #include "common/linux/platform_gk20a.h" | ||
29 | #include "vgpu.h" | 29 | #include "vgpu.h" |
30 | #include "fifo_vgpu.h" | 30 | #include "fifo_vgpu.h" |
31 | 31 | ||
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.h b/drivers/gpu/nvgpu/vgpu/vgpu.h index d5c49c0f..6ce61e92 100644 --- a/drivers/gpu/nvgpu/vgpu/vgpu.h +++ b/drivers/gpu/nvgpu/vgpu/vgpu.h | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/tegra_gr_comm.h> | 28 | #include <linux/tegra_gr_comm.h> |
29 | #include <linux/tegra_vgpu.h> | 29 | #include <linux/tegra_vgpu.h> |
30 | #include "gk20a/gk20a.h" | 30 | #include "gk20a/gk20a.h" |
31 | #include "gk20a/platform_gk20a.h" | 31 | #include "common/linux/platform_gk20a.h" |
32 | #include "common/linux/os_linux.h" | 32 | #include "common/linux/os_linux.h" |
33 | 33 | ||
34 | #include <nvgpu/thread.h> | 34 | #include <nvgpu/thread.h> |