diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/regops_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/regops_gm20b.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/regops_gm20b.c b/drivers/gpu/nvgpu/gm20b/regops_gm20b.c index b7cc0aaa..71ccda37 100644 --- a/drivers/gpu/nvgpu/gm20b/regops_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/regops_gm20b.c | |||
@@ -494,6 +494,12 @@ int gm20b_get_qctl_whitelist_ranges_count(void) | |||
494 | return gm20b_qctl_whitelist_ranges_count; | 494 | return gm20b_qctl_whitelist_ranges_count; |
495 | } | 495 | } |
496 | 496 | ||
497 | int gm20b_apply_smpc_war(struct dbg_session_gk20a *dbg_s) | ||
498 | { | ||
499 | /* Not needed on gm20b */ | ||
500 | return 0; | ||
501 | } | ||
502 | |||
497 | void gm20b_init_regops(struct gpu_ops *gops) | 503 | void gm20b_init_regops(struct gpu_ops *gops) |
498 | { | 504 | { |
499 | gops->regops.get_global_whitelist_ranges = | 505 | gops->regops.get_global_whitelist_ranges = |
@@ -525,4 +531,7 @@ void gm20b_init_regops(struct gpu_ops *gops) | |||
525 | gm20b_get_qctl_whitelist_ranges; | 531 | gm20b_get_qctl_whitelist_ranges; |
526 | gops->regops.get_qctl_whitelist_ranges_count = | 532 | gops->regops.get_qctl_whitelist_ranges_count = |
527 | gm20b_get_qctl_whitelist_ranges_count; | 533 | gm20b_get_qctl_whitelist_ranges_count; |
534 | |||
535 | gops->regops.apply_smpc_war = | ||
536 | gm20b_apply_smpc_war; | ||
528 | } | 537 | } |