summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2018-09-04 07:07:33 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-09-05 23:41:36 -0400
commit2998ab4e0a0b19da1332b82d779bd17b4e284b38 (patch)
treee86e3201c1920f8cb0afecdb6e21f9c0bf8de366 /drivers/gpu/nvgpu/gv11b/hal_gv11b.c
parent2b2bde04e14135cae5f7433c755e6b8d70f88abb (diff)
gpu: nvgpu: remove unused regops HALs
Below regops HALs are not being called from anywhere, so remove them gops.regops.get_runcontrol_whitelist_ranges() gops.regops.get_runcontrol_whitelist_ranges_count() gops.regops.get_qctl_whitelist_ranges() gops.regops.get_qctl_whitelist_ranges_count() HAL gops.regops.apply_smpc_war() is unimplemented for all the chips, and it was originally only needed for gk20a which is not unsupported So remove this HAL and its call too Jira NVGPU-620 Change-Id: Ia2c74883cd647a2e94ee740ffd040a40c442b939 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1813106 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/hal_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/gv11b/hal_gv11b.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
index e5d7e632..a27d9ab5 100644
--- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
@@ -722,16 +722,8 @@ static const struct gpu_ops gv11b_ops = {
722 .get_runcontrol_whitelist = gv11b_get_runcontrol_whitelist, 722 .get_runcontrol_whitelist = gv11b_get_runcontrol_whitelist,
723 .get_runcontrol_whitelist_count = 723 .get_runcontrol_whitelist_count =
724 gv11b_get_runcontrol_whitelist_count, 724 gv11b_get_runcontrol_whitelist_count,
725 .get_runcontrol_whitelist_ranges =
726 gv11b_get_runcontrol_whitelist_ranges,
727 .get_runcontrol_whitelist_ranges_count =
728 gv11b_get_runcontrol_whitelist_ranges_count,
729 .get_qctl_whitelist = gv11b_get_qctl_whitelist, 725 .get_qctl_whitelist = gv11b_get_qctl_whitelist,
730 .get_qctl_whitelist_count = gv11b_get_qctl_whitelist_count, 726 .get_qctl_whitelist_count = gv11b_get_qctl_whitelist_count,
731 .get_qctl_whitelist_ranges = gv11b_get_qctl_whitelist_ranges,
732 .get_qctl_whitelist_ranges_count =
733 gv11b_get_qctl_whitelist_ranges_count,
734 .apply_smpc_war = gv11b_apply_smpc_war,
735 }, 727 },
736 .mc = { 728 .mc = {
737 .intr_mask = mc_gp10b_intr_mask, 729 .intr_mask = mc_gp10b_intr_mask,