diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-08-16 17:05:02 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-04 19:15:21 -0400 |
commit | 8a76e8b4910480efcdeb47d18cb209e247d9eda8 (patch) | |
tree | 164a4034ffd72bb929da6837f8f0ae9fa9196d95 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | a18f364fd28cf6a19edcb55b22a9b458d29a826d (diff) |
gpu: nvgpu: Split HUB and GPC MMU debug mode set
HUB and GPC MMU debug modes were set in the same function. This
introduced a dependency from FB code to GR registers. Split setting
of GPC MMU debug mode to GR HAL.
Change-Id: I003446f9dfa147f526bd01d3b6130f4037d9b183
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1801420
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index f62dfb94..f0b0bebe 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -509,6 +509,7 @@ struct gpu_ops { | |||
509 | enum ctxsw_addr_type addr_type, u32 num_tpcs, | 509 | enum ctxsw_addr_type addr_type, u32 num_tpcs, |
510 | u32 num_ppcs, u32 reg_list_ppc_count, | 510 | u32 num_ppcs, u32 reg_list_ppc_count, |
511 | u32 *__offset_in_segment); | 511 | u32 *__offset_in_segment); |
512 | void (*set_debug_mode)(struct gk20a *g, bool enable); | ||
512 | } gr; | 513 | } gr; |
513 | struct { | 514 | struct { |
514 | void (*init_hw)(struct gk20a *g); | 515 | void (*init_hw)(struct gk20a *g); |