diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2018-09-04 07:07:33 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-05 23:41:36 -0400 |
commit | 2998ab4e0a0b19da1332b82d779bd17b4e284b38 (patch) | |
tree | e86e3201c1920f8cb0afecdb6e21f9c0bf8de366 /drivers/gpu/nvgpu/vgpu | |
parent | 2b2bde04e14135cae5f7433c755e6b8d70f88abb (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')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c | 8 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | 8 |
2 files changed, 0 insertions, 16 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c index 0b6a5cb5..58f595f4 100644 --- a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c +++ b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c | |||
@@ -466,16 +466,8 @@ static const struct gpu_ops vgpu_gp10b_ops = { | |||
466 | .get_runcontrol_whitelist = gp10b_get_runcontrol_whitelist, | 466 | .get_runcontrol_whitelist = gp10b_get_runcontrol_whitelist, |
467 | .get_runcontrol_whitelist_count = | 467 | .get_runcontrol_whitelist_count = |
468 | gp10b_get_runcontrol_whitelist_count, | 468 | gp10b_get_runcontrol_whitelist_count, |
469 | .get_runcontrol_whitelist_ranges = | ||
470 | gp10b_get_runcontrol_whitelist_ranges, | ||
471 | .get_runcontrol_whitelist_ranges_count = | ||
472 | gp10b_get_runcontrol_whitelist_ranges_count, | ||
473 | .get_qctl_whitelist = gp10b_get_qctl_whitelist, | 469 | .get_qctl_whitelist = gp10b_get_qctl_whitelist, |
474 | .get_qctl_whitelist_count = gp10b_get_qctl_whitelist_count, | 470 | .get_qctl_whitelist_count = gp10b_get_qctl_whitelist_count, |
475 | .get_qctl_whitelist_ranges = gp10b_get_qctl_whitelist_ranges, | ||
476 | .get_qctl_whitelist_ranges_count = | ||
477 | gp10b_get_qctl_whitelist_ranges_count, | ||
478 | .apply_smpc_war = gp10b_apply_smpc_war, | ||
479 | }, | 471 | }, |
480 | .mc = { | 472 | .mc = { |
481 | .intr_mask = NULL, | 473 | .intr_mask = NULL, |
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, |