video: tegra: host: adapting to icc framework

Code changes to use interconnect framework APIs

Jira HOSTX-2056

Change-Id: Ic453155b1889c7aa9954c1c3d20dbdf8ecb4cf5c
Signed-off-by: Santosh B S <santoshb@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2368350
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Santosh B S
2020-06-30 00:32:32 +05:30
committed by Laxman Dewangan
parent 74d694cade
commit b57a9dee10

View File

@@ -1,7 +1,7 @@
/* /*
* NVDLA IOCTL for T194 * NVDLA IOCTL for T194
* *
* Copyright (c) 2016-2019, NVIDIA Corporation. All rights reserved. * Copyright (c) 2016-2020, NVIDIA Corporation. All rights reserved.
* *
* This program is free software; you can redistribute it and/or modify it * This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License, * under the terms and conditions of the GNU General Public License,
@@ -1152,7 +1152,7 @@ static int nvdla_open(struct inode *inode, struct file *file)
if (clock->moduleid == if (clock->moduleid ==
NVHOST_MODULE_ID_EXTERNAL_MEMORY_CONTROLLER) { NVHOST_MODULE_ID_EXTERNAL_MEMORY_CONTROLLER) {
err = nvhost_module_set_rate(pdev, priv, UINT_MAX, err = nvhost_module_set_rate(pdev, priv, UINT_MAX,
index, clock->bwmgr_request_type); index, clock->request_type);
if (err < 0) if (err < 0)
goto err_alloc_queue; goto err_alloc_queue;
break; break;