From 2998ab4e0a0b19da1332b82d779bd17b4e284b38 Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Tue, 4 Sep 2018 16:37:33 +0530 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1813106 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gp106/hal_gp106.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'drivers/gpu/nvgpu/gp106/hal_gp106.c') 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 = { .get_runcontrol_whitelist = gp106_get_runcontrol_whitelist, .get_runcontrol_whitelist_count = gp106_get_runcontrol_whitelist_count, - .get_runcontrol_whitelist_ranges = - gp106_get_runcontrol_whitelist_ranges, - .get_runcontrol_whitelist_ranges_count = - gp106_get_runcontrol_whitelist_ranges_count, .get_qctl_whitelist = gp106_get_qctl_whitelist, .get_qctl_whitelist_count = gp106_get_qctl_whitelist_count, - .get_qctl_whitelist_ranges = gp106_get_qctl_whitelist_ranges, - .get_qctl_whitelist_ranges_count = - gp106_get_qctl_whitelist_ranges_count, - .apply_smpc_war = gp106_apply_smpc_war, }, .mc = { .intr_mask = mc_gp10b_intr_mask, -- cgit v1.2.2