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 <vasukis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/2983399
Reviewed-by: Vishal Aslot <vaslot@nvidia.com>
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
vasukis
2023-09-21 19:30:00 +00:00
committed by mobile promotions
parent da3bda1364
commit 44fa2b0ebb

View File

@@ -70,6 +70,9 @@ nvhwpm-t234-objs += hal/t234/ip/ofa/t234_ofa.o
ccflags-y += -DCONFIG_T234_HWPM_IP_VIC ccflags-y += -DCONFIG_T234_HWPM_IP_VIC
nvhwpm-t234-objs += hal/t234/ip/vic/t234_vic.o 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. # Include other IPs if minimal build is not enabled.
ifneq ($(CONFIG_TEGRA_HWPM_MINIMAL_IP_ENABLE),y) ifneq ($(CONFIG_TEGRA_HWPM_MINIMAL_IP_ENABLE),y)
ccflags-y += -DCONFIG_T234_HWPM_IP_DISPLAY ccflags-y += -DCONFIG_T234_HWPM_IP_DISPLAY