diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2018-08-31 05:59:37 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-05 23:40:32 -0400 |
commit | 34d552957dd0e3e3363067fc9b9af64281d29396 (patch) | |
tree | 2f3689c84156f9980561e9554ce5d945d3820fb9 /drivers/gpu/nvgpu/vgpu/gv11b | |
parent | cf7850ee33a5a9ffc32f584c7c3beefe286ceed2 (diff) |
gpu: nvgpu: move channel header to common
channel_gk20a is clear from chip specifics and from most dependencies,
so move it under the common directory.
Jira NVGPU-967
Change-Id: I41f2160b96d4ec84064288ecc22bb360e82352df
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1810578
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gv11b')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gv11b/vgpu_fifo_gv11b.c | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gv11b/vgpu_subctx_gv11b.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gv11b/vgpu_tsg_gv11b.c | 1 |
4 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_fifo_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_fifo_gv11b.c index 43cff1c0..3042ad12 100644 --- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_fifo_gv11b.c +++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_fifo_gv11b.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <nvgpu/vgpu/vgpu.h> | 25 | #include <nvgpu/vgpu/vgpu.h> |
26 | #include <nvgpu/nvhost.h> | 26 | #include <nvgpu/nvhost.h> |
27 | #include <nvgpu/vgpu/tegra_vgpu.h> | 27 | #include <nvgpu/vgpu/tegra_vgpu.h> |
28 | #include <nvgpu/channel.h> | ||
28 | 29 | ||
29 | #include "gv11b/fifo_gv11b.h" | 30 | #include "gv11b/fifo_gv11b.h" |
30 | #include "vgpu_fifo_gv11b.h" | 31 | #include "vgpu_fifo_gv11b.h" |
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c index fb118f16..85835cee 100644 --- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c +++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | |||
@@ -85,6 +85,7 @@ | |||
85 | #include <gv11b/gr_gv11b.h> | 85 | #include <gv11b/gr_gv11b.h> |
86 | 86 | ||
87 | #include <nvgpu/enabled.h> | 87 | #include <nvgpu/enabled.h> |
88 | #include <nvgpu/channel.h> | ||
88 | 89 | ||
89 | #include "vgpu_gv11b.h" | 90 | #include "vgpu_gv11b.h" |
90 | #include "vgpu_gr_gv11b.h" | 91 | #include "vgpu_gr_gv11b.h" |
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_subctx_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_subctx_gv11b.c index b5272ae1..14d10847 100644 --- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_subctx_gv11b.c +++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_subctx_gv11b.c | |||
@@ -25,6 +25,8 @@ | |||
25 | 25 | ||
26 | #include <nvgpu/vgpu/vgpu.h> | 26 | #include <nvgpu/vgpu/vgpu.h> |
27 | #include <nvgpu/vgpu/tegra_vgpu.h> | 27 | #include <nvgpu/vgpu/tegra_vgpu.h> |
28 | #include <nvgpu/channel.h> | ||
29 | |||
28 | #include <nvgpu/hw/gv11b/hw_ctxsw_prog_gv11b.h> | 30 | #include <nvgpu/hw/gv11b/hw_ctxsw_prog_gv11b.h> |
29 | 31 | ||
30 | int vgpu_gv11b_alloc_subctx_header(struct channel_gk20a *c) | 32 | int vgpu_gv11b_alloc_subctx_header(struct channel_gk20a *c) |
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_tsg_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_tsg_gv11b.c index e42bea1f..8c999161 100644 --- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_tsg_gv11b.c +++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_tsg_gv11b.c | |||
@@ -22,6 +22,7 @@ | |||
22 | 22 | ||
23 | #include <nvgpu/vgpu/tegra_vgpu.h> | 23 | #include <nvgpu/vgpu/tegra_vgpu.h> |
24 | #include <nvgpu/vgpu/vgpu.h> | 24 | #include <nvgpu/vgpu/vgpu.h> |
25 | #include <nvgpu/channel.h> | ||
25 | 26 | ||
26 | #include "gk20a/gk20a.h" | 27 | #include "gk20a/gk20a.h" |
27 | #include "vgpu_tsg_gv11b.h" | 28 | #include "vgpu_tsg_gv11b.h" |