diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index dfb46701..31c1a420 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |||
@@ -13,32 +13,34 @@ | |||
13 | * more details. | 13 | * more details. |
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include <linux/tegra_gpu_t19x.h> | ||
17 | #include "gk20a/gk20a.h" /* FERMI and MAXWELL classes defined here */ | ||
18 | #include <linux/delay.h> | 16 | #include <linux/delay.h> |
19 | #include <linux/version.h> | 17 | #include <linux/version.h> |
18 | #include <linux/vmalloc.h> | ||
19 | #include <linux/tegra_gpu_t19x.h> | ||
20 | |||
20 | #include <soc/tegra/fuse.h> | 21 | #include <soc/tegra/fuse.h> |
21 | 22 | ||
22 | #include <nvgpu/timers.h> | 23 | #include <nvgpu/timers.h> |
23 | 24 | ||
25 | #include "gk20a/gk20a.h" | ||
24 | #include "gk20a/gr_gk20a.h" | 26 | #include "gk20a/gr_gk20a.h" |
25 | #include "gk20a/semaphore_gk20a.h" | 27 | #include "gk20a/semaphore_gk20a.h" |
26 | #include "gk20a/dbg_gpu_gk20a.h" | 28 | #include "gk20a/dbg_gpu_gk20a.h" |
27 | 29 | ||
28 | #include "gm20b/gr_gm20b.h" | 30 | #include "gm20b/gr_gm20b.h" |
31 | |||
29 | #include "gv11b/gr_gv11b.h" | 32 | #include "gv11b/gr_gv11b.h" |
30 | #include "gv11b/mm_gv11b.h" | 33 | #include "gv11b/mm_gv11b.h" |
31 | #include "gv11b/subctx_gv11b.h" | 34 | #include "gv11b/subctx_gv11b.h" |
32 | #include "hw_gr_gv11b.h" | 35 | |
33 | #include "hw_fifo_gv11b.h" | 36 | #include <nvgpu/hw/gv11b/hw_gr_gv11b.h> |
34 | #include "hw_proj_gv11b.h" | 37 | #include <nvgpu/hw/gv11b/hw_fifo_gv11b.h> |
35 | #include "hw_ctxsw_prog_gv11b.h" | 38 | #include <nvgpu/hw/gv11b/hw_proj_gv11b.h> |
36 | #include "hw_mc_gv11b.h" | 39 | #include <nvgpu/hw/gv11b/hw_ctxsw_prog_gv11b.h> |
37 | #include "hw_gr_gv11b.h" | 40 | #include <nvgpu/hw/gv11b/hw_mc_gv11b.h> |
38 | #include "hw_ram_gv11b.h" | 41 | #include <nvgpu/hw/gv11b/hw_gr_gv11b.h> |
39 | #include "hw_pbdma_gv11b.h" | 42 | #include <nvgpu/hw/gv11b/hw_ram_gv11b.h> |
40 | #include <linux/vmalloc.h> | 43 | #include <nvgpu/hw/gv11b/hw_pbdma_gv11b.h> |
41 | #include <linux/tegra_gpu_t19x.h> | ||
42 | 44 | ||
43 | static bool gr_gv11b_is_valid_class(struct gk20a *g, u32 class_num) | 45 | static bool gr_gv11b_is_valid_class(struct gk20a *g, u32 class_num) |
44 | { | 46 | { |