diff options
author | Alex Waterman <alexw@nvidia.com> | 2016-10-28 20:11:10 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-11 15:44:14 -0500 |
commit | 6dd57c29b064774e065b001266aef9dd37bc7feb (patch) | |
tree | 6da65a7322edd13cdf0b6e00cd29f6b670e64dc4 /drivers/gpu/nvgpu/gm206/hal_gm206.c | |
parent | 7989012df274ba166171ac652cf80fe61993c292 (diff) |
gpu: nvgpu: Move gm206 HW headers
Move the gm206 HW headers to a new directory specially for them:
include/nvgpu/hw/gm206
And change the code to include like so:
#include <nvgpu/hw/gm206/hw_fb_gm206.h>
This is part of the process to restructure the nvgpu driver.
Bug 1799159
Change-Id: I90dc39e64e1b58ee9e87fbc26ad0d18c361e239c
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1244792
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm206/hal_gm206.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm206/hal_gm206.c | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/drivers/gpu/nvgpu/gm206/hal_gm206.c b/drivers/gpu/nvgpu/gm206/hal_gm206.c index d8793c18..6ecbbfed 100644 --- a/drivers/gpu/nvgpu/gm206/hal_gm206.c +++ b/drivers/gpu/nvgpu/gm206/hal_gm206.c | |||
@@ -13,21 +13,22 @@ | |||
13 | 13 | ||
14 | #include <linux/types.h> | 14 | #include <linux/types.h> |
15 | #include <linux/printk.h> | 15 | #include <linux/printk.h> |
16 | |||
17 | #include <linux/types.h> | 16 | #include <linux/types.h> |
18 | 17 | ||
19 | #include "gk20a/gk20a.h" | 18 | #include "ce_gm206.h" |
19 | #include "fifo_gm206.h" | ||
20 | #include "bios_gm206.h" | ||
21 | #include "gr_gm206.h" | ||
20 | 22 | ||
23 | #include "gk20a/gk20a.h" | ||
24 | #include "gk20a/dbg_gpu_gk20a.h" | ||
25 | #include "gk20a/css_gr_gk20a.h" | ||
21 | #include "gm20b/mc_gm20b.h" | 26 | #include "gm20b/mc_gm20b.h" |
22 | #include "gm20b/ltc_gm20b.h" | 27 | #include "gm20b/ltc_gm20b.h" |
23 | #include "gm20b/mm_gm20b.h" | 28 | #include "gm20b/mm_gm20b.h" |
24 | #include "gm206/mm_gm206.h" | ||
25 | #include "ce_gm206.h" | ||
26 | #include "gm20b/fb_gm20b.h" | 29 | #include "gm20b/fb_gm20b.h" |
27 | #include "gm20b/pmu_gm20b.h" | 30 | #include "gm20b/pmu_gm20b.h" |
28 | #include "gm20b/gr_gm20b.h" | 31 | #include "gm20b/gr_gm20b.h" |
29 | #include "gm206/pmu_gm206.h" | ||
30 | #include "gm206/acr_gm206.h" | ||
31 | #include "gm20b/gr_ctx_gm20b.h" | 32 | #include "gm20b/gr_ctx_gm20b.h" |
32 | #include "gm20b/gm20b_gating_reglist.h" | 33 | #include "gm20b/gm20b_gating_reglist.h" |
33 | #include "gm20b/regops_gm20b.h" | 34 | #include "gm20b/regops_gm20b.h" |
@@ -35,13 +36,11 @@ | |||
35 | #include "gm20b/therm_gm20b.h" | 36 | #include "gm20b/therm_gm20b.h" |
36 | #include "gm20b/clk_gm20b.h" | 37 | #include "gm20b/clk_gm20b.h" |
37 | #include "gm20b/debug_gm20b.h" | 38 | #include "gm20b/debug_gm20b.h" |
39 | #include "gm206/mm_gm206.h" | ||
40 | #include "gm206/pmu_gm206.h" | ||
41 | #include "gm206/acr_gm206.h" | ||
38 | 42 | ||
39 | #include "fifo_gm206.h" | 43 | #include <nvgpu/hw/gm206/hw_proj_gm206.h> |
40 | #include "bios_gm206.h" | ||
41 | #include "gr_gm206.h" | ||
42 | #include "hw_proj_gm206.h" | ||
43 | #include "gk20a/dbg_gpu_gk20a.h" | ||
44 | #include "gk20a/css_gr_gk20a.h" | ||
45 | 44 | ||
46 | static struct gpu_ops gm206_ops = { | 45 | static struct gpu_ops gm206_ops = { |
47 | .clock_gating = { | 46 | .clock_gating = { |