summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/regops_gm20b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/regops_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/regops_gm20b.c27
1 files changed, 14 insertions, 13 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/regops_gm20b.c b/drivers/gpu/nvgpu/gm20b/regops_gm20b.c
index 71ccda37..cc1c72c2 100644
--- a/drivers/gpu/nvgpu/gm20b/regops_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/regops_gm20b.c
@@ -434,67 +434,68 @@ static const struct regop_offset_range gm20b_qctl_whitelist_ranges[] = {
434static const u32 gm20b_qctl_whitelist_ranges_count = 434static const u32 gm20b_qctl_whitelist_ranges_count =
435 ARRAY_SIZE(gm20b_qctl_whitelist_ranges); 435 ARRAY_SIZE(gm20b_qctl_whitelist_ranges);
436 436
437const struct regop_offset_range *gm20b_get_global_whitelist_ranges(void) 437static const struct regop_offset_range *gm20b_get_global_whitelist_ranges(void)
438{ 438{
439 return gm20b_global_whitelist_ranges; 439 return gm20b_global_whitelist_ranges;
440} 440}
441 441
442int gm20b_get_global_whitelist_ranges_count(void) 442static int gm20b_get_global_whitelist_ranges_count(void)
443{ 443{
444 return gm20b_global_whitelist_ranges_count; 444 return gm20b_global_whitelist_ranges_count;
445} 445}
446 446
447const struct regop_offset_range *gm20b_get_context_whitelist_ranges(void) 447static const struct regop_offset_range *gm20b_get_context_whitelist_ranges(void)
448{ 448{
449 return gm20b_context_whitelist_ranges; 449 return gm20b_context_whitelist_ranges;
450} 450}
451 451
452int gm20b_get_context_whitelist_ranges_count(void) 452static int gm20b_get_context_whitelist_ranges_count(void)
453{ 453{
454 return gm20b_context_whitelist_ranges_count; 454 return gm20b_context_whitelist_ranges_count;
455} 455}
456 456
457const u32 *gm20b_get_runcontrol_whitelist(void) 457static const u32 *gm20b_get_runcontrol_whitelist(void)
458{ 458{
459 return gm20b_runcontrol_whitelist; 459 return gm20b_runcontrol_whitelist;
460} 460}
461 461
462int gm20b_get_runcontrol_whitelist_count(void) 462static int gm20b_get_runcontrol_whitelist_count(void)
463{ 463{
464 return gm20b_runcontrol_whitelist_count; 464 return gm20b_runcontrol_whitelist_count;
465} 465}
466 466
467const struct regop_offset_range *gm20b_get_runcontrol_whitelist_ranges(void) 467static const
468struct regop_offset_range *gm20b_get_runcontrol_whitelist_ranges(void)
468{ 469{
469 return gm20b_runcontrol_whitelist_ranges; 470 return gm20b_runcontrol_whitelist_ranges;
470} 471}
471 472
472int gm20b_get_runcontrol_whitelist_ranges_count(void) 473static int gm20b_get_runcontrol_whitelist_ranges_count(void)
473{ 474{
474 return gm20b_runcontrol_whitelist_ranges_count; 475 return gm20b_runcontrol_whitelist_ranges_count;
475} 476}
476 477
477const u32 *gm20b_get_qctl_whitelist(void) 478static const u32 *gm20b_get_qctl_whitelist(void)
478{ 479{
479 return gm20b_qctl_whitelist; 480 return gm20b_qctl_whitelist;
480} 481}
481 482
482int gm20b_get_qctl_whitelist_count(void) 483static int gm20b_get_qctl_whitelist_count(void)
483{ 484{
484 return gm20b_qctl_whitelist_count; 485 return gm20b_qctl_whitelist_count;
485} 486}
486 487
487const struct regop_offset_range *gm20b_get_qctl_whitelist_ranges(void) 488static const struct regop_offset_range *gm20b_get_qctl_whitelist_ranges(void)
488{ 489{
489 return gm20b_qctl_whitelist_ranges; 490 return gm20b_qctl_whitelist_ranges;
490} 491}
491 492
492int gm20b_get_qctl_whitelist_ranges_count(void) 493static int gm20b_get_qctl_whitelist_ranges_count(void)
493{ 494{
494 return gm20b_qctl_whitelist_ranges_count; 495 return gm20b_qctl_whitelist_ranges_count;
495} 496}
496 497
497int gm20b_apply_smpc_war(struct dbg_session_gk20a *dbg_s) 498static int gm20b_apply_smpc_war(struct dbg_session_gk20a *dbg_s)
498{ 499{
499 /* Not needed on gm20b */ 500 /* Not needed on gm20b */
500 return 0; 501 return 0;