diff options
author | Alex Waterman <alexw@nvidia.com> | 2016-10-28 19:49:50 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-11 15:44:14 -0500 |
commit | b928f10d37bdb57266569073d8b5d553dbf39044 (patch) | |
tree | 60da9d9344963bfac157d91e74107d49109ef9a5 /drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |
parent | 5e68c6e971d98fc9d4beaf69c5ca58f39f8db1a7 (diff) |
gpu: nvgpu: Start re-organizing the HW headers
Reorganize the HW headers of gk20a. The headers are moved to a
new directory:
include/nvgpu/hw/gk20a
And from the code are included like so:
#include <nvgpu/hw/gk20a/hw_pwr_gk20a.h>
This is the first step in reorganizing all of the HW headers for
gm20b, gm206, etc. This is part of a larger effort to re-structure
and make the driver more readable and scalable.
Bug 1799159
Change-Id: Ic151155cbc2e6f75009f2d9d597b364a1bed2c4c
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1244790
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index 2ee2dd43..94f66e83 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -34,24 +34,6 @@ | |||
34 | #include "gk20a.h" | 34 | #include "gk20a.h" |
35 | #include "kind_gk20a.h" | 35 | #include "kind_gk20a.h" |
36 | #include "gr_ctx_gk20a.h" | 36 | #include "gr_ctx_gk20a.h" |
37 | #include "nvgpu_common.h" | ||
38 | |||
39 | #include "hw_ccsr_gk20a.h" | ||
40 | #include "hw_ctxsw_prog_gk20a.h" | ||
41 | #include "hw_fifo_gk20a.h" | ||
42 | #include "hw_gr_gk20a.h" | ||
43 | #include "hw_gmmu_gk20a.h" | ||
44 | #include "hw_mc_gk20a.h" | ||
45 | #include "hw_ram_gk20a.h" | ||
46 | #include "hw_pri_ringmaster_gk20a.h" | ||
47 | #include "hw_pri_ringstation_sys_gk20a.h" | ||
48 | #include "hw_pri_ringstation_gpc_gk20a.h" | ||
49 | #include "hw_pri_ringstation_fbp_gk20a.h" | ||
50 | #include "hw_top_gk20a.h" | ||
51 | #include "hw_ltc_gk20a.h" | ||
52 | #include "hw_fb_gk20a.h" | ||
53 | #include "hw_therm_gk20a.h" | ||
54 | #include "hw_pbdma_gk20a.h" | ||
55 | #include "gr_pri_gk20a.h" | 37 | #include "gr_pri_gk20a.h" |
56 | #include "regops_gk20a.h" | 38 | #include "regops_gk20a.h" |
57 | #include "dbg_gpu_gk20a.h" | 39 | #include "dbg_gpu_gk20a.h" |
@@ -59,6 +41,24 @@ | |||
59 | #include "semaphore_gk20a.h" | 41 | #include "semaphore_gk20a.h" |
60 | #include "platform_gk20a.h" | 42 | #include "platform_gk20a.h" |
61 | #include "ctxsw_trace_gk20a.h" | 43 | #include "ctxsw_trace_gk20a.h" |
44 | #include "nvgpu_common.h" | ||
45 | |||
46 | #include <nvgpu/hw/gk20a/hw_ccsr_gk20a.h> | ||
47 | #include <nvgpu/hw/gk20a/hw_ctxsw_prog_gk20a.h> | ||
48 | #include <nvgpu/hw/gk20a/hw_fifo_gk20a.h> | ||
49 | #include <nvgpu/hw/gk20a/hw_gr_gk20a.h> | ||
50 | #include <nvgpu/hw/gk20a/hw_gmmu_gk20a.h> | ||
51 | #include <nvgpu/hw/gk20a/hw_mc_gk20a.h> | ||
52 | #include <nvgpu/hw/gk20a/hw_ram_gk20a.h> | ||
53 | #include <nvgpu/hw/gk20a/hw_pri_ringmaster_gk20a.h> | ||
54 | #include <nvgpu/hw/gk20a/hw_pri_ringstation_sys_gk20a.h> | ||
55 | #include <nvgpu/hw/gk20a/hw_pri_ringstation_gpc_gk20a.h> | ||
56 | #include <nvgpu/hw/gk20a/hw_pri_ringstation_fbp_gk20a.h> | ||
57 | #include <nvgpu/hw/gk20a/hw_top_gk20a.h> | ||
58 | #include <nvgpu/hw/gk20a/hw_ltc_gk20a.h> | ||
59 | #include <nvgpu/hw/gk20a/hw_fb_gk20a.h> | ||
60 | #include <nvgpu/hw/gk20a/hw_therm_gk20a.h> | ||
61 | #include <nvgpu/hw/gk20a/hw_pbdma_gk20a.h> | ||
62 | 62 | ||
63 | #define BLK_SIZE (256) | 63 | #define BLK_SIZE (256) |
64 | #define NV_PMM_FBP_STRIDE 0x1000 | 64 | #define NV_PMM_FBP_STRIDE 0x1000 |