diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-01-12 16:01:36 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-24 18:15:16 -0500 |
commit | 4b09997772f406d16945016ff4581c7c992faeab (patch) | |
tree | 8a638b710a01977ee49268a9b327d9488bd96558 /drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |
parent | 4f3871309d5216b50179feed8f8024193b2224cf (diff) |
nvgpu: gpu: HW header update for Volta
Similar HW header update as has been done for all the other chips.
HW header files are located under:
drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/
And can be included like so:
#include <nvgpu/hw/gv11b/hw_gr_gv11b.h>
Bug 1799159
Change-Id: If39bd71480a34f85bf25f4c36aec0f8f6de4dc9f
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1284433
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
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 | { |