From 44fa2b0ebb7d2db6043188fa1294803610f26ad1 Mon Sep 17 00:00:00 2001 From: vasukis Date: Thu, 21 Sep 2023 19:30:00 +0000 Subject: [PATCH] tegra: hwpm: Add NVDEC IP for HWPM profiling - Set the 'CONFIG_T234_HWPM_IP_NVDEC' defconfig in HWPM Makefile, so that nvdec IP related code can be compiled alongside HWPM driver. This is required for enabling NVDEC IP for profiling by HWPM. - This change affects both L4T and AV+L configs. DOS-SHR-7601 Change-Id: I654fc3024731660d20c874b1e31659bc28627191 Signed-off-by: vasukis Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/2983399 Reviewed-by: Vishal Aslot Reviewed-by: Seema Khowala GVS: Gerrit_Virtual_Submit --- drivers/tegra/hwpm/Makefile.t234.sources | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/tegra/hwpm/Makefile.t234.sources b/drivers/tegra/hwpm/Makefile.t234.sources index 01c1304..2056b63 100644 --- a/drivers/tegra/hwpm/Makefile.t234.sources +++ b/drivers/tegra/hwpm/Makefile.t234.sources @@ -70,6 +70,9 @@ nvhwpm-t234-objs += hal/t234/ip/ofa/t234_ofa.o ccflags-y += -DCONFIG_T234_HWPM_IP_VIC nvhwpm-t234-objs += hal/t234/ip/vic/t234_vic.o +ccflags-y += -DCONFIG_T234_HWPM_IP_NVDEC +nvhwpm-t234-objs += hal/t234/ip/nvdec/t234_nvdec.o + # Include other IPs if minimal build is not enabled. ifneq ($(CONFIG_TEGRA_HWPM_MINIMAL_IP_ENABLE),y) ccflags-y += -DCONFIG_T234_HWPM_IP_DISPLAY