summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/hal_gp106.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/gp106/hal_gp106.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/gp106/hal_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/hal_gp106.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c
index 3408cdfa..da1a44a9 100644
--- a/drivers/gpu/nvgpu/gp106/hal_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c
@@ -701,16 +701,8 @@ static const struct gpu_ops gp106_ops = {
701 .get_runcontrol_whitelist = gp106_get_runcontrol_whitelist, 701 .get_runcontrol_whitelist = gp106_get_runcontrol_whitelist,
702 .get_runcontrol_whitelist_count = 702 .get_runcontrol_whitelist_count =
703 gp106_get_runcontrol_whitelist_count, 703 gp106_get_runcontrol_whitelist_count,
704 .get_runcontrol_whitelist_ranges =
705 gp106_get_runcontrol_whitelist_ranges,
706 .get_runcontrol_whitelist_ranges_count =
707 gp106_get_runcontrol_whitelist_ranges_count,
708 .get_qctl_whitelist = gp106_get_qctl_whitelist, 704 .get_qctl_whitelist = gp106_get_qctl_whitelist,
709 .get_qctl_whitelist_count = gp106_get_qctl_whitelist_count, 705 .get_qctl_whitelist_count = gp106_get_qctl_whitelist_count,
710 .get_qctl_whitelist_ranges = gp106_get_qctl_whitelist_ranges,
711 .get_qctl_whitelist_ranges_count =
712 gp106_get_qctl_whitelist_ranges_count,
713 .apply_smpc_war = gp106_apply_smpc_war,
714 }, 706 },
715 .mc = { 707 .mc = {
716 .intr_mask = mc_gp10b_intr_mask, 708 .intr_mask = mc_gp10b_intr_mask,