diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/driver_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/driver_common.c b/drivers/gpu/nvgpu/common/linux/driver_common.c index 9df7ea3f..66078a85 100644 --- a/drivers/gpu/nvgpu/common/linux/driver_common.c +++ b/drivers/gpu/nvgpu/common/linux/driver_common.c | |||
@@ -223,6 +223,8 @@ int nvgpu_probe(struct gk20a *g, | |||
223 | return err; | 223 | return err; |
224 | } | 224 | } |
225 | 225 | ||
226 | nvgpu_init_mm_vars(g); | ||
227 | |||
226 | /* platform probe can defer do user init only if probe succeeds */ | 228 | /* platform probe can defer do user init only if probe succeeds */ |
227 | err = gk20a_user_init(dev, interface_name, class); | 229 | err = gk20a_user_init(dev, interface_name, class); |
228 | if (err) | 230 | if (err) |
@@ -236,8 +238,6 @@ int nvgpu_probe(struct gk20a *g, | |||
236 | } | 238 | } |
237 | } | 239 | } |
238 | 240 | ||
239 | nvgpu_init_mm_vars(g); | ||
240 | |||
241 | nvgpu_create_sysfs(dev); | 241 | nvgpu_create_sysfs(dev); |
242 | gk20a_debug_init(g, debugfs_symlink); | 242 | gk20a_debug_init(g, debugfs_symlink); |
243 | 243 | ||