summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2014-11-20 11:00:11 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:12:22 -0400
commit3501269d1cdb08b5b8e67d6742f606211816e827 (patch)
treeef1497924fc58206d4f6279cc788973c7501a3a7
parentddfa305151c15322dafdca279bd6e229db0b5fe2 (diff)
gpu: nvgpu: Export gm20b kind functions
Bug 1567274 Change-Id: I21dadc0e473f174e7ae876b934dcd938bc956453 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/607007 GVS: Gerrit_Virtual_Submit
-rw-r--r--drivers/gpu/nvgpu/gm20b/fb_gm20b.c4
-rw-r--r--drivers/gpu/nvgpu/gm20b/fb_gm20b.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/fb_gm20b.c b/drivers/gpu/nvgpu/gm20b/fb_gm20b.c
index 293c6c74..7cdd776e 100644
--- a/drivers/gpu/nvgpu/gm20b/fb_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/fb_gm20b.c
@@ -30,7 +30,7 @@ static void fb_gm20b_init_fs_state(struct gk20a *g)
30 g->ltc_count); 30 g->ltc_count);
31} 31}
32 32
33static void gm20b_init_uncompressed_kind_map(void) 33void gm20b_init_uncompressed_kind_map(void)
34{ 34{
35 gk20a_init_uncompressed_kind_map(); 35 gk20a_init_uncompressed_kind_map();
36 36
@@ -64,7 +64,7 @@ static bool gm20b_kind_zbc(u8 k)
64 k <= gmmu_pte_kind_s8_2s_v()); 64 k <= gmmu_pte_kind_s8_2s_v());
65} 65}
66 66
67static void gm20b_init_kind_attr(void) 67void gm20b_init_kind_attr(void)
68{ 68{
69 u16 k; 69 u16 k;
70 70
diff --git a/drivers/gpu/nvgpu/gm20b/fb_gm20b.h b/drivers/gpu/nvgpu/gm20b/fb_gm20b.h
index 4d48d797..22b848d6 100644
--- a/drivers/gpu/nvgpu/gm20b/fb_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/fb_gm20b.h
@@ -18,4 +18,6 @@
18struct gk20a; 18struct gk20a;
19 19
20void gm20b_init_fb(struct gpu_ops *gops); 20void gm20b_init_fb(struct gpu_ops *gops);
21void gm20b_init_uncompressed_kind_map(void);
22void gm20b_init_kind_attr(void);
21#endif 23#endif