From 43e7c9c0aeab37b23969b90708a01d00cbdcc0f3 Mon Sep 17 00:00:00 2001 From: Vedashree Vidwans Date: Tue, 17 May 2022 15:22:14 -0700 Subject: [PATCH] video: tegra: nvdla: add HWPM support Register IP instance and required function pointers with HWPM driver. Remove force enable of NVDLA in HWPM driver. Bug 3333035 Change-Id: I001d5838a886d12756b9810edadc2d54e1871f99 Signed-off-by: Vedashree Vidwans Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2672510 Reviewed-by: svcacv Reviewed-by: svc_kernel_abi Reviewed-by: Praveen K Tested-by: Praveen K Tested-by: Vasuki Shankar GVS: Gerrit_Virtual_Submit --- hal/t234/t234_hwpm_ip_utils.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/hal/t234/t234_hwpm_ip_utils.c b/hal/t234/t234_hwpm_ip_utils.c index 3a7d8af..bd818fe 100644 --- a/hal/t234/t234_hwpm_ip_utils.c +++ b/hal/t234/t234_hwpm_ip_utils.c @@ -360,22 +360,6 @@ int t234_hwpm_force_enable_ips(struct tegra_soc_hwpm *hwpm) } #endif -#if defined(CONFIG_SOC_HWPM_IP_NVDLA) - /* NVDLA */ - ret = tegra_hwpm_set_fs_info_ip_ops(hwpm, NULL, - addr_map_nvdla0_base_r(), - T234_HWPM_IP_NVDLA, true); - if (ret != 0) { - return ret; - } - ret = tegra_hwpm_set_fs_info_ip_ops(hwpm, NULL, - addr_map_nvdla1_base_r(), - T234_HWPM_IP_NVDLA, true); - if (ret != 0) { - return ret; - } -#endif - /* MGBE */ /* #if defined(CONFIG_SOC_HWPM_IP_MGBE)