diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2018-09-12 05:40:10 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-24 18:53:48 -0400 |
commit | c47eab005ad9a26a36d2c7ca1595c790ff1bc40d (patch) | |
tree | bfaa8f27f141a98478b664ba8b2ae5ba788546a6 /drivers/gpu/nvgpu/vgpu | |
parent | 5c7a740403fe5b65149b8b30d1007fd02b33c890 (diff) |
gpu: nvgpu: move tsg code to common
tsg_gk20a.c doesn't depend on any specific hardware, so move it to the
common directory.
Rename the posix tsg file to posix-tsg.c.
Jira NVGPU-967
Change-Id: I6e8908a8f6cf43132db8dffe3a99e424e4f764b1
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1821509
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/gr_vgpu.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/tsg_vgpu.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c index 4b1cf212..9fafa52f 100644 --- a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c | |||
@@ -30,11 +30,11 @@ | |||
30 | #include <nvgpu/vgpu/vgpu_ivc.h> | 30 | #include <nvgpu/vgpu/vgpu_ivc.h> |
31 | #include <nvgpu/vgpu/vgpu.h> | 31 | #include <nvgpu/vgpu/vgpu.h> |
32 | #include <nvgpu/channel.h> | 32 | #include <nvgpu/channel.h> |
33 | #include <nvgpu/tsg.h> | ||
33 | 34 | ||
34 | #include "gr_vgpu.h" | 35 | #include "gr_vgpu.h" |
35 | #include "gk20a/gk20a.h" | 36 | #include "gk20a/gk20a.h" |
36 | #include "gk20a/dbg_gpu_gk20a.h" | 37 | #include "gk20a/dbg_gpu_gk20a.h" |
37 | #include "gk20a/tsg_gk20a.h" | ||
38 | #include "gk20a/fecs_trace_gk20a.h" | 38 | #include "gk20a/fecs_trace_gk20a.h" |
39 | 39 | ||
40 | #include <nvgpu/hw/gk20a/hw_gr_gk20a.h> | 40 | #include <nvgpu/hw/gk20a/hw_gr_gk20a.h> |
diff --git a/drivers/gpu/nvgpu/vgpu/tsg_vgpu.c b/drivers/gpu/nvgpu/vgpu/tsg_vgpu.c index a81b5022..3553bf51 100644 --- a/drivers/gpu/nvgpu/vgpu/tsg_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/tsg_vgpu.c | |||
@@ -21,11 +21,12 @@ | |||
21 | */ | 21 | */ |
22 | 22 | ||
23 | #include "gk20a/gk20a.h" | 23 | #include "gk20a/gk20a.h" |
24 | #include "gk20a/tsg_gk20a.h" | ||
25 | #include "fifo_vgpu.h" | 24 | #include "fifo_vgpu.h" |
26 | #include <nvgpu/channel.h> | ||
27 | 25 | ||
26 | #include <nvgpu/channel.h> | ||
27 | #include <nvgpu/tsg.h> | ||
28 | #include <nvgpu/bug.h> | 28 | #include <nvgpu/bug.h> |
29 | |||
29 | #include <nvgpu/vgpu/tegra_vgpu.h> | 30 | #include <nvgpu/vgpu/tegra_vgpu.h> |
30 | #include <nvgpu/vgpu/vgpu.h> | 31 | #include <nvgpu/vgpu/vgpu.h> |
31 | 32 | ||