summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/gm20b/vgpu_hal_gm20b.c
diff options
context:
space:
mode:
authorSami Kiminki <skiminki@nvidia.com>2017-11-02 16:03:15 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-11-10 11:38:19 -0500
commitcefabe7eb1f1f1dba9692e21ab4f1b88b9163489 (patch)
treeb0f4e6ce64cd408e780925b8b3365b45805b7d95 /drivers/gpu/nvgpu/vgpu/gm20b/vgpu_hal_gm20b.c
parentb584bf8aa814d026498ebcee23480d1963338e47 (diff)
gpu: nvgpu: Remove PTE kind logic
Since NVGPU_AS_MAP_BUFFER_FLAGS_DIRECT_KIND_CTRL was made mandatory, kernel does not need to know the details about the PTE kinds anymore. Thus, we can remove the kind_gk20a.h header and the code related to kind table setup, as well as simplify buffer mapping code a bit. Bug 1902982 Change-Id: Iaf798023c219a64fb0a84da09431c5ce4bc046eb Signed-off-by: Sami Kiminki <skiminki@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1560933 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gm20b/vgpu_hal_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/gm20b/vgpu_hal_gm20b.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gm20b/vgpu_hal_gm20b.c b/drivers/gpu/nvgpu/vgpu/gm20b/vgpu_hal_gm20b.c
index fd89e23c..3fc8b73b 100644
--- a/drivers/gpu/nvgpu/vgpu/gm20b/vgpu_hal_gm20b.c
+++ b/drivers/gpu/nvgpu/vgpu/gm20b/vgpu_hal_gm20b.c
@@ -584,9 +584,6 @@ int vgpu_gm20b_init_hal(struct gk20a *g)
584 g->pmu_lsf_pmu_wpr_init_done = 0; 584 g->pmu_lsf_pmu_wpr_init_done = 0;
585 g->bootstrap_owner = LSF_BOOTSTRAP_OWNER_DEFAULT; 585 g->bootstrap_owner = LSF_BOOTSTRAP_OWNER_DEFAULT;
586 586
587 gm20b_init_uncompressed_kind_map();
588 gm20b_init_kind_attr();
589
590 g->name = "gm20b"; 587 g->name = "gm20b";
591 588
592 c->twod_class = FERMI_TWOD_A; 589 c->twod_class = FERMI_TWOD_A;