diff options
author | David Nieto <dmartineznie@nvidia.com> | 2017-10-20 17:58:13 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-23 01:15:36 -0400 |
commit | f8c2b77e4f64fcb4adc889bfc0bd4b9ad368ecc6 (patch) | |
tree | c3fc3a4b2293adec89bfc785c93029241304c1ed /drivers/gpu/nvgpu/gv100/hal_gv100.c | |
parent | d436ed36ae684986540f745a2eca7a1009be5780 (diff) |
gpu: nvgpu: Add gv10x regops whitelist
Add regops whitelists for GV100
JIRA: NVGPUGV100-36
Change-Id: Ifeb286e2e8df056ba9afdd32f457bacf1b4813fc
Signed-off-by: David Nieto <dmartineznie@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1582835
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv100/hal_gv100.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv100/hal_gv100.c | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c index ff852168..3a8dc4b1 100644 --- a/drivers/gpu/nvgpu/gv100/hal_gv100.c +++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c | |||
@@ -96,7 +96,7 @@ | |||
96 | #include "gv11b/regops_gv11b.h" | 96 | #include "gv11b/regops_gv11b.h" |
97 | 97 | ||
98 | #include "gv11b/gv11b_gating_reglist.h" | 98 | #include "gv11b/gv11b_gating_reglist.h" |
99 | #include "gv11b/regops_gv11b.h" | 99 | #include "gv100/regops_gv100.h" |
100 | #include "gv11b/subctx_gv11b.h" | 100 | #include "gv11b/subctx_gv11b.h" |
101 | 101 | ||
102 | #include "gv100.h" | 102 | #include "gv100.h" |
@@ -600,7 +600,27 @@ static const struct gpu_ops gv100_ops = { | |||
600 | .get_current_pstate = nvgpu_clk_arb_get_current_pstate, | 600 | .get_current_pstate = nvgpu_clk_arb_get_current_pstate, |
601 | }, | 601 | }, |
602 | .regops = { | 602 | .regops = { |
603 | .apply_smpc_war = gv11b_apply_smpc_war, | 603 | .get_global_whitelist_ranges = |
604 | gv100_get_global_whitelist_ranges, | ||
605 | .get_global_whitelist_ranges_count = | ||
606 | gv100_get_global_whitelist_ranges_count, | ||
607 | .get_context_whitelist_ranges = | ||
608 | gv100_get_context_whitelist_ranges, | ||
609 | .get_context_whitelist_ranges_count = | ||
610 | gv100_get_context_whitelist_ranges_count, | ||
611 | .get_runcontrol_whitelist = gv100_get_runcontrol_whitelist, | ||
612 | .get_runcontrol_whitelist_count = | ||
613 | gv100_get_runcontrol_whitelist_count, | ||
614 | .get_runcontrol_whitelist_ranges = | ||
615 | gv100_get_runcontrol_whitelist_ranges, | ||
616 | .get_runcontrol_whitelist_ranges_count = | ||
617 | gv100_get_runcontrol_whitelist_ranges_count, | ||
618 | .get_qctl_whitelist = gv100_get_qctl_whitelist, | ||
619 | .get_qctl_whitelist_count = gv100_get_qctl_whitelist_count, | ||
620 | .get_qctl_whitelist_ranges = gv100_get_qctl_whitelist_ranges, | ||
621 | .get_qctl_whitelist_ranges_count = | ||
622 | gv100_get_qctl_whitelist_ranges_count, | ||
623 | .apply_smpc_war = gv100_apply_smpc_war, | ||
604 | }, | 624 | }, |
605 | .mc = { | 625 | .mc = { |
606 | .intr_enable = mc_gv11b_intr_enable, | 626 | .intr_enable = mc_gv11b_intr_enable, |