From bc1f044c156b760de98af3ecfd9199dec1ebdb79 Mon Sep 17 00:00:00 2001 From: vasukis Date: Mon, 25 Sep 2023 19:21:25 +0000 Subject: [PATCH] tegra: hwpm: Add Video Engine IP debug node info HWPM resource manager in QNX will query register read/write ops to the IP debug nodes exposed. This is done via devctl calls from the HWPM Res Mgr. Hence, update the IP debug node names in ip souce files. Bug 4170733 DOS-SHR-7601 Change-Id: I58a39305aa8d6fcbbe01494d1e18069a369ee46f Signed-off-by: vasukis (cherry picked from commit d37297cb494bb6bfc3b531e38302de18d0fddfc5) Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/2985248 GVS: Gerrit_Virtual_Submit --- drivers/tegra/hwpm/hal/t234/ip/nvenc/t234_nvenc.c | 4 ++-- drivers/tegra/hwpm/hal/t234/ip/ofa/t234_ofa.c | 4 ++-- drivers/tegra/hwpm/hal/t234/ip/vic/t234_vic.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/tegra/hwpm/hal/t234/ip/nvenc/t234_nvenc.c b/drivers/tegra/hwpm/hal/t234/ip/nvenc/t234_nvenc.c index deae570..4106dc7 100644 --- a/drivers/tegra/hwpm/hal/t234/ip/nvenc/t234_nvenc.c +++ b/drivers/tegra/hwpm/hal/t234/ip/nvenc/t234_nvenc.c @@ -127,11 +127,11 @@ static struct hwpm_ip_inst t234_nvenc_inst_static_array[ .ip_dev = NULL, .hwpm_ip_pm = NULL, .hwpm_ip_reg_op = NULL, - .fd = -1, + .fd = 1, }, .element_fs_mask = 0U, - .dev_name = "", + .dev_name = "/dev/nvhost-debug/nvenc_hwpm", }, }; diff --git a/drivers/tegra/hwpm/hal/t234/ip/ofa/t234_ofa.c b/drivers/tegra/hwpm/hal/t234/ip/ofa/t234_ofa.c index 88289f1..8bec0fa 100644 --- a/drivers/tegra/hwpm/hal/t234/ip/ofa/t234_ofa.c +++ b/drivers/tegra/hwpm/hal/t234/ip/ofa/t234_ofa.c @@ -127,11 +127,11 @@ static struct hwpm_ip_inst t234_ofa_inst_static_array[ .ip_dev = NULL, .hwpm_ip_pm = NULL, .hwpm_ip_reg_op = NULL, - .fd = -1, + .fd = 1, }, .element_fs_mask = 0U, - .dev_name = "", + .dev_name = "/dev/nvhost-debug/ofa_hwpm", }, }; diff --git a/drivers/tegra/hwpm/hal/t234/ip/vic/t234_vic.c b/drivers/tegra/hwpm/hal/t234/ip/vic/t234_vic.c index a7decc5..1a27aa5 100644 --- a/drivers/tegra/hwpm/hal/t234/ip/vic/t234_vic.c +++ b/drivers/tegra/hwpm/hal/t234/ip/vic/t234_vic.c @@ -127,11 +127,11 @@ static struct hwpm_ip_inst t234_vic_inst_static_array[ .ip_dev = NULL, .hwpm_ip_pm = NULL, .hwpm_ip_reg_op = NULL, - .fd = -1, + .fd = 1, }, .element_fs_mask = 0U, - .dev_name = "", + .dev_name = "/dev/nvhost-debug/vic_hwpm", }, };