mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-22 17:30:40 +03:00
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 <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2672510 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Praveen K <kpraveen@nvidia.com> Tested-by: Praveen K <kpraveen@nvidia.com> Tested-by: Vasuki Shankar <vasukis@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
46e2ea58f1
commit
43e7c9c0ae
@@ -360,22 +360,6 @@ int t234_hwpm_force_enable_ips(struct tegra_soc_hwpm *hwpm)
|
|||||||
}
|
}
|
||||||
#endif
|
#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 */
|
/* MGBE */
|
||||||
/*
|
/*
|
||||||
#if defined(CONFIG_SOC_HWPM_IP_MGBE)
|
#if defined(CONFIG_SOC_HWPM_IP_MGBE)
|
||||||
|
|||||||
Reference in New Issue
Block a user