From cefabe7eb1f1f1dba9692e21ab4f1b88b9163489 Mon Sep 17 00:00:00 2001 From: Sami Kiminki Date: Thu, 2 Nov 2017 22:03:15 +0200 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1560933 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gp10b/fb_gp10b.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/gpu/nvgpu/gp10b/fb_gp10b.h') 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 @@ #define _NVGPU_GP10B_FB struct gk20a; -noinline_for_stack void gp10b_init_uncompressed_kind_map(void); -void gp10b_init_kind_attr(void); unsigned int gp10b_fb_compression_page_size(struct gk20a *g); unsigned int gp10b_fb_compressible_page_size(struct gk20a *g); -- cgit v1.2.2