diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-07-06 15:37:10 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-07-09 20:45:30 -0400 |
commit | 876953fbb85f9440bbcc1d7d59435593886b53c4 (patch) | |
tree | 9690ee5598b83fcfa222592eeb2e3bb45389f3a6 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | da03aa782535e77e221a3c27b0676fe9c1c7980c (diff) |
gpu: nvgpu: Move FB MMU query to FB HAL
Move queries of FB MMU configuration to FB HAL. Also use g->ltc_count
instead of reading the number of LTCs from FB. These changes together
remove last direct uses of FB registers from GR.
JIRA NVGPU-714
Change-Id: I1b4b46fc2f636f5c1904e4174040a47a27948999
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1773076
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 4f02ce23..23ed2f15 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -505,6 +505,10 @@ struct gpu_ops { | |||
505 | void (*init_kind_attr)(struct gk20a *g); | 505 | void (*init_kind_attr)(struct gk20a *g); |
506 | void (*set_mmu_page_size)(struct gk20a *g); | 506 | void (*set_mmu_page_size)(struct gk20a *g); |
507 | bool (*set_use_full_comp_tag_line)(struct gk20a *g); | 507 | bool (*set_use_full_comp_tag_line)(struct gk20a *g); |
508 | u32 (*mmu_ctrl)(struct gk20a *g); | ||
509 | u32 (*mmu_debug_ctrl)(struct gk20a *g); | ||
510 | u32 (*mmu_debug_wr)(struct gk20a *g); | ||
511 | u32 (*mmu_debug_rd)(struct gk20a *g); | ||
508 | 512 | ||
509 | /* | 513 | /* |
510 | * Compression tag line coverage. When mapping a compressible | 514 | * Compression tag line coverage. When mapping a compressible |