diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/hal_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index f6121f94..963f78c6 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |||
@@ -310,6 +310,29 @@ static const struct gpu_ops gv11b_ops = { | |||
310 | .init_therm_setup_hw = gp10b_init_therm_setup_hw, | 310 | .init_therm_setup_hw = gp10b_init_therm_setup_hw, |
311 | .elcg_init_idle_filters = gp10b_elcg_init_idle_filters, | 311 | .elcg_init_idle_filters = gp10b_elcg_init_idle_filters, |
312 | }, | 312 | }, |
313 | .regops = { | ||
314 | .get_global_whitelist_ranges = | ||
315 | gv11b_get_global_whitelist_ranges, | ||
316 | .get_global_whitelist_ranges_count = | ||
317 | gv11b_get_global_whitelist_ranges_count, | ||
318 | .get_context_whitelist_ranges = | ||
319 | gv11b_get_context_whitelist_ranges, | ||
320 | .get_context_whitelist_ranges_count = | ||
321 | gv11b_get_context_whitelist_ranges_count, | ||
322 | .get_runcontrol_whitelist = gv11b_get_runcontrol_whitelist, | ||
323 | .get_runcontrol_whitelist_count = | ||
324 | gv11b_get_runcontrol_whitelist_count, | ||
325 | .get_runcontrol_whitelist_ranges = | ||
326 | gv11b_get_runcontrol_whitelist_ranges, | ||
327 | .get_runcontrol_whitelist_ranges_count = | ||
328 | gv11b_get_runcontrol_whitelist_ranges_count, | ||
329 | .get_qctl_whitelist = gv11b_get_qctl_whitelist, | ||
330 | .get_qctl_whitelist_count = gv11b_get_qctl_whitelist_count, | ||
331 | .get_qctl_whitelist_ranges = gv11b_get_qctl_whitelist_ranges, | ||
332 | .get_qctl_whitelist_ranges_count = | ||
333 | gv11b_get_qctl_whitelist_ranges_count, | ||
334 | .apply_smpc_war = gv11b_apply_smpc_war, | ||
335 | }, | ||
313 | .mc = { | 336 | .mc = { |
314 | .intr_enable = mc_gv11b_intr_enable, | 337 | .intr_enable = mc_gv11b_intr_enable, |
315 | .intr_unit_config = mc_gp10b_intr_unit_config, | 338 | .intr_unit_config = mc_gp10b_intr_unit_config, |
@@ -380,6 +403,7 @@ int gv11b_init_hal(struct gk20a *g) | |||
380 | gops->gr_ctx = gv11b_ops.gr_ctx; | 403 | gops->gr_ctx = gv11b_ops.gr_ctx; |
381 | gops->fecs_trace = gv11b_ops.fecs_trace; | 404 | gops->fecs_trace = gv11b_ops.fecs_trace; |
382 | gops->therm = gv11b_ops.therm; | 405 | gops->therm = gv11b_ops.therm; |
406 | gops->regops = gv11b_ops.regops; | ||
383 | gops->mc = gv11b_ops.mc; | 407 | gops->mc = gv11b_ops.mc; |
384 | gops->debug = gv11b_ops.debug; | 408 | gops->debug = gv11b_ops.debug; |
385 | gops->dbg_session_ops = gv11b_ops.dbg_session_ops; | 409 | gops->dbg_session_ops = gv11b_ops.dbg_session_ops; |
@@ -404,7 +428,6 @@ int gv11b_init_hal(struct gk20a *g) | |||
404 | gv11b_init_fb(gops); | 428 | gv11b_init_fb(gops); |
405 | gv11b_init_mm(gops); | 429 | gv11b_init_mm(gops); |
406 | gv11b_init_pmu_ops(g); | 430 | gv11b_init_pmu_ops(g); |
407 | gv11b_init_regops(gops); | ||
408 | 431 | ||
409 | g->name = "gv11b"; | 432 | g->name = "gv11b"; |
410 | 433 | ||