Files
linux-nv-oot/drivers/gpu/host1x/Makefile
Santosh BS aa7bcad3cf gpu: host1x: move actmon specific code under CONFIG_PM_DEVFREQ
Move actmon.c file under CONFIG_PM_DEVFREQ and
stub the functions when it is not enabled.

Jira HOSTX-5885

Change-Id: I8e6f86c617061587e4034a184f9a7d82a41a4a03
Signed-off-by: Santosh BS <santoshb@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3297630
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2025-07-24 10:19:15 +00:00

32 lines
848 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
# Copyright (c) 2022-2025, NVIDIA CORPORATION. All rights reserved.
host1x-y = \
bus.o \
syncpt.o \
dev.o \
intr.o \
cdma.o \
channel.o \
job.o \
debug.o \
fence.o
ifneq ($(filter y, $(CONFIG_ARCH_TEGRA_2x_SOC) $(CONFIG_ARCH_TEGRA_3x_SOC)),)
host1x-y += hw/host1x01.o
endif
host1x-$(CONFIG_ARCH_TEGRA_114_SOC) += hw/host1x02.o
host1x-$(CONFIG_ARCH_TEGRA_124_SOC) += hw/host1x04.o
host1x-$(CONFIG_ARCH_TEGRA_210_SOC) += hw/host1x05.o
host1x-$(CONFIG_ARCH_TEGRA_186_SOC) += hw/host1x06.o
host1x-$(CONFIG_ARCH_TEGRA_194_SOC) += hw/host1x07.o
host1x-$(CONFIG_ARCH_TEGRA_234_SOC) += hw/host1x08.o
host1x-$(CONFIG_ARCH_TEGRA_264_SOC) += hw/host1x09.o
host1x-$(CONFIG_DRM_TEGRA_HAVE_DISPLAY) += mipi.o
host1x-$(CONFIG_PM_DEVFREQ) += actmon.o
host1x-$(CONFIG_IOMMU_API) += context.o
obj-m := host1x.o