diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-07-02 17:30:26 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-07-12 23:44:13 -0400 |
commit | b97bcb3c689426a1b099e88ceef4d55584e2362b (patch) | |
tree | 4ad683912a323eca81a493314db3d74b46b6aa71 /drivers/gpu/nvgpu/vgpu | |
parent | b07a304ba3e747c80fe3e0a16caec88c8e1e8b28 (diff) |
gpu: nvgpu: Move FB to common
Move all FB HAL implementations to common/fb.
JIRA NVGPU-596
Change-Id: Id4ea09d608f5d6d1b245bddac09ecf1444b8ab30
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1769724
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/gp10b/vgpu_hal_gp10b.c | 6 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c index 349548cd..421f3692 100644 --- a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c +++ b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c | |||
@@ -23,6 +23,9 @@ | |||
23 | #include "common/bus/bus_gk20a.h" | 23 | #include "common/bus/bus_gk20a.h" |
24 | #include "common/bus/bus_gm20b.h" | 24 | #include "common/bus/bus_gm20b.h" |
25 | #include "common/clock_gating/gp10b_gating_reglist.h" | 25 | #include "common/clock_gating/gp10b_gating_reglist.h" |
26 | #include "common/fb/fb_gk20a.h" | ||
27 | #include "common/fb/fb_gm20b.h" | ||
28 | #include "common/fb/fb_gp10b.h" | ||
26 | 29 | ||
27 | #include "vgpu/fifo_vgpu.h" | 30 | #include "vgpu/fifo_vgpu.h" |
28 | #include "vgpu/gr_vgpu.h" | 31 | #include "vgpu/gr_vgpu.h" |
@@ -40,14 +43,12 @@ | |||
40 | 43 | ||
41 | #include "gk20a/flcn_gk20a.h" | 44 | #include "gk20a/flcn_gk20a.h" |
42 | #include "gk20a/mc_gk20a.h" | 45 | #include "gk20a/mc_gk20a.h" |
43 | #include "gk20a/fb_gk20a.h" | ||
44 | #include "gk20a/dbg_gpu_gk20a.h" | 46 | #include "gk20a/dbg_gpu_gk20a.h" |
45 | 47 | ||
46 | #include "gp10b/mc_gp10b.h" | 48 | #include "gp10b/mc_gp10b.h" |
47 | #include "gp10b/ltc_gp10b.h" | 49 | #include "gp10b/ltc_gp10b.h" |
48 | #include "gp10b/mm_gp10b.h" | 50 | #include "gp10b/mm_gp10b.h" |
49 | #include "gp10b/ce_gp10b.h" | 51 | #include "gp10b/ce_gp10b.h" |
50 | #include "gp10b/fb_gp10b.h" | ||
51 | #include "gp10b/pmu_gp10b.h" | 52 | #include "gp10b/pmu_gp10b.h" |
52 | #include "gp10b/gr_gp10b.h" | 53 | #include "gp10b/gr_gp10b.h" |
53 | #include "gp10b/gr_ctx_gp10b.h" | 54 | #include "gp10b/gr_ctx_gp10b.h" |
@@ -61,7 +62,6 @@ | |||
61 | #include "gm20b/fifo_gm20b.h" | 62 | #include "gm20b/fifo_gm20b.h" |
62 | #include "gm20b/acr_gm20b.h" | 63 | #include "gm20b/acr_gm20b.h" |
63 | #include "gm20b/pmu_gm20b.h" | 64 | #include "gm20b/pmu_gm20b.h" |
64 | #include "gm20b/fb_gm20b.h" | ||
65 | #include "gm20b/mm_gm20b.h" | 65 | #include "gm20b/mm_gm20b.h" |
66 | 66 | ||
67 | #include <nvgpu/enabled.h> | 67 | #include <nvgpu/enabled.h> |
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c index 577c8f6e..38f9a184 100644 --- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c +++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | |||
@@ -23,6 +23,10 @@ | |||
23 | #include "common/bus/bus_gk20a.h" | 23 | #include "common/bus/bus_gk20a.h" |
24 | #include "common/bus/bus_gm20b.h" | 24 | #include "common/bus/bus_gm20b.h" |
25 | #include "common/clock_gating/gv11b_gating_reglist.h" | 25 | #include "common/clock_gating/gv11b_gating_reglist.h" |
26 | #include "common/fb/fb_gk20a.h" | ||
27 | #include "common/fb/fb_gm20b.h" | ||
28 | #include "common/fb/fb_gp10b.h" | ||
29 | #include "common/fb/fb_gv11b.h" | ||
26 | 30 | ||
27 | #include <gk20a/gk20a.h> | 31 | #include <gk20a/gk20a.h> |
28 | #include <gv11b/hal_gv11b.h> | 32 | #include <gv11b/hal_gv11b.h> |
@@ -40,20 +44,17 @@ | |||
40 | #include "vgpu/gp10b/vgpu_mm_gp10b.h" | 44 | #include "vgpu/gp10b/vgpu_mm_gp10b.h" |
41 | #include "vgpu/gp10b/vgpu_gr_gp10b.h" | 45 | #include "vgpu/gp10b/vgpu_gr_gp10b.h" |
42 | 46 | ||
43 | #include <gk20a/fb_gk20a.h> | ||
44 | #include <gk20a/flcn_gk20a.h> | 47 | #include <gk20a/flcn_gk20a.h> |
45 | #include <gk20a/mc_gk20a.h> | 48 | #include <gk20a/mc_gk20a.h> |
46 | #include "gk20a/dbg_gpu_gk20a.h" | 49 | #include "gk20a/dbg_gpu_gk20a.h" |
47 | 50 | ||
48 | #include <gm20b/gr_gm20b.h> | 51 | #include <gm20b/gr_gm20b.h> |
49 | #include <gm20b/fb_gm20b.h> | ||
50 | #include <gm20b/fifo_gm20b.h> | 52 | #include <gm20b/fifo_gm20b.h> |
51 | #include <gm20b/pmu_gm20b.h> | 53 | #include <gm20b/pmu_gm20b.h> |
52 | #include <gm20b/mm_gm20b.h> | 54 | #include <gm20b/mm_gm20b.h> |
53 | #include <gm20b/acr_gm20b.h> | 55 | #include <gm20b/acr_gm20b.h> |
54 | #include <gm20b/ltc_gm20b.h> | 56 | #include <gm20b/ltc_gm20b.h> |
55 | 57 | ||
56 | #include <gp10b/fb_gp10b.h> | ||
57 | #include <gp10b/pmu_gp10b.h> | 58 | #include <gp10b/pmu_gp10b.h> |
58 | #include <gp10b/mm_gp10b.h> | 59 | #include <gp10b/mm_gp10b.h> |
59 | #include <gp10b/mc_gp10b.h> | 60 | #include <gp10b/mc_gp10b.h> |
@@ -67,7 +68,6 @@ | |||
67 | #include <gp106/pmu_gp106.h> | 68 | #include <gp106/pmu_gp106.h> |
68 | #include <gp106/acr_gp106.h> | 69 | #include <gp106/acr_gp106.h> |
69 | 70 | ||
70 | #include <gv11b/fb_gv11b.h> | ||
71 | #include <gv11b/pmu_gv11b.h> | 71 | #include <gv11b/pmu_gv11b.h> |
72 | #include <gv11b/acr_gv11b.h> | 72 | #include <gv11b/acr_gv11b.h> |
73 | #include <gv11b/mm_gv11b.h> | 73 | #include <gv11b/mm_gv11b.h> |