diff options
author | Sami Kiminki <skiminki@nvidia.com> | 2017-11-02 16:03:15 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-10 11:38:19 -0500 |
commit | cefabe7eb1f1f1dba9692e21ab4f1b88b9163489 (patch) | |
tree | b0f4e6ce64cd408e780925b8b3365b45805b7d95 /drivers/gpu/nvgpu/gp10b/fb_gp10b.h | |
parent | b584bf8aa814d026498ebcee23480d1963338e47 (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/gp10b/fb_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/fb_gp10b.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/fb_gp10b.h b/drivers/gpu/nvgpu/gp10b/fb_gp10b.h index 12f6178b..52aa2a75 100644 --- a/drivers/gpu/nvgpu/gp10b/fb_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/fb_gp10b.h | |||
@@ -26,8 +26,6 @@ | |||
26 | #define _NVGPU_GP10B_FB | 26 | #define _NVGPU_GP10B_FB |
27 | struct gk20a; | 27 | struct gk20a; |
28 | 28 | ||
29 | noinline_for_stack void gp10b_init_uncompressed_kind_map(void); | ||
30 | void gp10b_init_kind_attr(void); | ||
31 | unsigned int gp10b_fb_compression_page_size(struct gk20a *g); | 29 | unsigned int gp10b_fb_compression_page_size(struct gk20a *g); |
32 | unsigned int gp10b_fb_compressible_page_size(struct gk20a *g); | 30 | unsigned int gp10b_fb_compressible_page_size(struct gk20a *g); |
33 | 31 | ||