diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/fb_gm20b.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/fb_gm20b.c b/drivers/gpu/nvgpu/gm20b/fb_gm20b.c index 666d27e9..746ed42f 100644 --- a/drivers/gpu/nvgpu/gm20b/fb_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/fb_gm20b.c | |||
@@ -95,6 +95,11 @@ static int gm20b_fb_compression_page_size(struct gk20a *g) | |||
95 | return SZ_128K; | 95 | return SZ_128K; |
96 | } | 96 | } |
97 | 97 | ||
98 | static int gm20b_fb_compressible_page_size(struct gk20a *g) | ||
99 | { | ||
100 | return SZ_64K; | ||
101 | } | ||
102 | |||
98 | static void gm20b_fb_dump_vpr_wpr_info(struct gk20a *g) | 103 | static void gm20b_fb_dump_vpr_wpr_info(struct gk20a *g) |
99 | { | 104 | { |
100 | u32 val; | 105 | u32 val; |
@@ -129,6 +134,7 @@ void gm20b_init_fb(struct gpu_ops *gops) | |||
129 | gops->fb.init_fs_state = fb_gm20b_init_fs_state; | 134 | gops->fb.init_fs_state = fb_gm20b_init_fs_state; |
130 | gops->fb.set_mmu_page_size = gm20b_fb_set_mmu_page_size; | 135 | gops->fb.set_mmu_page_size = gm20b_fb_set_mmu_page_size; |
131 | gops->fb.compression_page_size = gm20b_fb_compression_page_size; | 136 | gops->fb.compression_page_size = gm20b_fb_compression_page_size; |
137 | gops->fb.compressible_page_size = gm20b_fb_compressible_page_size; | ||
132 | gops->fb.dump_vpr_wpr_info = gm20b_fb_dump_vpr_wpr_info; | 138 | gops->fb.dump_vpr_wpr_info = gm20b_fb_dump_vpr_wpr_info; |
133 | gm20b_init_uncompressed_kind_map(); | 139 | gm20b_init_uncompressed_kind_map(); |
134 | gm20b_init_kind_attr(); | 140 | gm20b_init_kind_attr(); |