diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-08-13 15:58:18 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-08-16 13:14:40 -0400 |
commit | 974d541623929fa2622d27d5d338a5b63596794b (patch) | |
tree | f47a540bf07efd7f6cda68f49d3675c2462d731a /drivers/gpu/nvgpu/gm20b/hal_gm20b.c | |
parent | 1e7f229e5d92078f772d4f81893b23504cd847a8 (diff) |
gpu: nvgpu: Move ltc HAL to common
Move implementation of ltc HAL to common/ltc.
JIRA NVGPU-956
Change-Id: Id78d74e8612d7dacfb8d322d491abecd798e42b5
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1798461
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hal_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hal_gm20b.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c index 05acc0cf..3b164f9c 100644 --- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include "common/fb/fb_gm20b.h" | 31 | #include "common/fb/fb_gm20b.h" |
32 | #include "common/therm/therm_gm20b.h" | 32 | #include "common/therm/therm_gm20b.h" |
33 | #include "common/therm/therm_gm20b.h" | 33 | #include "common/therm/therm_gm20b.h" |
34 | #include "common/ltc/ltc_gm20b.h" | ||
34 | 35 | ||
35 | #include "gk20a/gk20a.h" | 36 | #include "gk20a/gk20a.h" |
36 | #include "gk20a/ce2_gk20a.h" | 37 | #include "gk20a/ce2_gk20a.h" |
@@ -45,9 +46,7 @@ | |||
45 | #include "gk20a/gr_gk20a.h" | 46 | #include "gk20a/gr_gk20a.h" |
46 | #include "gk20a/tsg_gk20a.h" | 47 | #include "gk20a/tsg_gk20a.h" |
47 | 48 | ||
48 | #include "ltc_gm20b.h" | ||
49 | #include "gr_gm20b.h" | 49 | #include "gr_gm20b.h" |
50 | #include "ltc_gm20b.h" | ||
51 | #include "fifo_gm20b.h" | 50 | #include "fifo_gm20b.h" |
52 | #include "gr_ctx_gm20b.h" | 51 | #include "gr_ctx_gm20b.h" |
53 | #include "mm_gm20b.h" | 52 | #include "mm_gm20b.h" |
@@ -200,6 +199,11 @@ static const struct gpu_ops gm20b_ops = { | |||
200 | .cbc_fix_config = gm20b_ltc_cbc_fix_config, | 199 | .cbc_fix_config = gm20b_ltc_cbc_fix_config, |
201 | .flush = gm20b_flush_ltc, | 200 | .flush = gm20b_flush_ltc, |
202 | .set_enabled = gm20b_ltc_set_enabled, | 201 | .set_enabled = gm20b_ltc_set_enabled, |
202 | .pri_is_ltc_addr = gm20b_ltc_pri_is_ltc_addr, | ||
203 | .is_ltcs_ltss_addr = gm20b_ltc_is_ltcs_ltss_addr, | ||
204 | .is_ltcn_ltss_addr = gm20b_ltc_is_ltcn_ltss_addr, | ||
205 | .split_lts_broadcast_addr = gm20b_ltc_split_lts_broadcast_addr, | ||
206 | .split_ltc_broadcast_addr = gm20b_ltc_split_ltc_broadcast_addr, | ||
203 | }, | 207 | }, |
204 | .ce2 = { | 208 | .ce2 = { |
205 | .isr_stall = gk20a_ce2_isr, | 209 | .isr_stall = gk20a_ce2_isr, |
@@ -281,10 +285,6 @@ static const struct gpu_ops gm20b_ops = { | |||
281 | .init_sm_id_table = gr_gk20a_init_sm_id_table, | 285 | .init_sm_id_table = gr_gk20a_init_sm_id_table, |
282 | .load_smid_config = gr_gm20b_load_smid_config, | 286 | .load_smid_config = gr_gm20b_load_smid_config, |
283 | .program_sm_id_numbering = gr_gm20b_program_sm_id_numbering, | 287 | .program_sm_id_numbering = gr_gm20b_program_sm_id_numbering, |
284 | .is_ltcs_ltss_addr = gr_gm20b_is_ltcs_ltss_addr, | ||
285 | .is_ltcn_ltss_addr = gr_gm20b_is_ltcn_ltss_addr, | ||
286 | .split_lts_broadcast_addr = gr_gm20b_split_lts_broadcast_addr, | ||
287 | .split_ltc_broadcast_addr = gr_gm20b_split_ltc_broadcast_addr, | ||
288 | .setup_rop_mapping = gr_gk20a_setup_rop_mapping, | 288 | .setup_rop_mapping = gr_gk20a_setup_rop_mapping, |
289 | .program_zcull_mapping = gr_gk20a_program_zcull_mapping, | 289 | .program_zcull_mapping = gr_gk20a_program_zcull_mapping, |
290 | .commit_global_timeslice = gr_gk20a_commit_global_timeslice, | 290 | .commit_global_timeslice = gr_gk20a_commit_global_timeslice, |