summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/gv11b
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/vgpu/gv11b
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/vgpu/gv11b')
-rw-r--r--drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
index 85835cee..9832a714 100644
--- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
+++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
@@ -535,16 +535,8 @@ static const struct gpu_ops vgpu_gv11b_ops = {
535 .get_runcontrol_whitelist = gv11b_get_runcontrol_whitelist, 535 .get_runcontrol_whitelist = gv11b_get_runcontrol_whitelist,
536 .get_runcontrol_whitelist_count = 536 .get_runcontrol_whitelist_count =
537 gv11b_get_runcontrol_whitelist_count, 537 gv11b_get_runcontrol_whitelist_count,
538 .get_runcontrol_whitelist_ranges =
539 gv11b_get_runcontrol_whitelist_ranges,
540 .get_runcontrol_whitelist_ranges_count =
541 gv11b_get_runcontrol_whitelist_ranges_count,
542 .get_qctl_whitelist = gv11b_get_qctl_whitelist, 538 .get_qctl_whitelist = gv11b_get_qctl_whitelist,
543 .get_qctl_whitelist_count = gv11b_get_qctl_whitelist_count, 539 .get_qctl_whitelist_count = gv11b_get_qctl_whitelist_count,
544 .get_qctl_whitelist_ranges = gv11b_get_qctl_whitelist_ranges,
545 .get_qctl_whitelist_ranges_count =
546 gv11b_get_qctl_whitelist_ranges_count,
547 .apply_smpc_war = gv11b_apply_smpc_war,
548 }, 540 },
549 .mc = { 541 .mc = {
550 .intr_mask = NULL, 542 .intr_mask = NULL,