diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/mm_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/mm_gm20b.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/mm_gm20b.c b/drivers/gpu/nvgpu/gm20b/mm_gm20b.c index 8aa14662..36d1192a 100644 --- a/drivers/gpu/nvgpu/gm20b/mm_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/mm_gm20b.c | |||
@@ -163,6 +163,11 @@ static int gm20b_mm_bar1_bind(struct gk20a *g, struct mem_desc *bar1_inst) | |||
163 | return retry ? -EINVAL : 0; | 163 | return retry ? -EINVAL : 0; |
164 | } | 164 | } |
165 | 165 | ||
166 | static bool gm20b_mm_is_bar1_supported(struct gk20a *g) | ||
167 | { | ||
168 | return true; | ||
169 | } | ||
170 | |||
166 | void gm20b_init_mm(struct gpu_ops *gops) | 171 | void gm20b_init_mm(struct gpu_ops *gops) |
167 | { | 172 | { |
168 | gops->mm.support_sparse = gm20b_mm_support_sparse; | 173 | gops->mm.support_sparse = gm20b_mm_support_sparse; |
@@ -186,4 +191,5 @@ void gm20b_init_mm(struct gpu_ops *gops) | |||
186 | gops->mm.init_pdb = gk20a_mm_init_pdb; | 191 | gops->mm.init_pdb = gk20a_mm_init_pdb; |
187 | gops->mm.init_mm_setup_hw = gk20a_init_mm_setup_hw; | 192 | gops->mm.init_mm_setup_hw = gk20a_init_mm_setup_hw; |
188 | gops->mm.bar1_bind = gm20b_mm_bar1_bind; | 193 | gops->mm.bar1_bind = gm20b_mm_bar1_bind; |
194 | gops->mm.is_bar1_supported = gm20b_mm_is_bar1_supported; | ||
189 | } | 195 | } |