mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
Add gpu-static-pg kernel driver to support the BPMP GPC/TPC/FBP setting via sysfs communication and module parameter, which allow the nvpmodel system service to set the mask via the interfaces above. For nvpmodel service usecase, this driver should be probed and the mask should be applied before the GPU driver is probed. Bug 5516617 Signed-off-by: Shao-Chun Kao <shaochunk@nvidia.com> Change-Id: Id16e374c21acccd08c0c33c2df1aa909fcba5658 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3458914 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Yi-Wei Wang <yiweiw@nvidia.com> Reviewed-by: Bibek Basu <bbasu@nvidia.com>
35 lines
1.2 KiB
Makefile
35 lines
1.2 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (c) 2022-2025, NVIDIA CORPORATION. All rights reserved.
|
|
|
|
ifneq ($(filter y, $(CONFIG_ARCH_TEGRA_2x_SOC) $(CONFIG_ARCH_TEGRA_3x_SOC) \
|
|
$(CONFIG_ARCH_TEGRA_114_SOC) $(CONFIG_ARCH_TEGRA_124_SOC) $(CONFIG_ARCH_TEGRA_132_SOC) \
|
|
$(CONFIG_ARCH_TEGRA_210_SOC) $(CONFIG_ARCH_TEGRA_186_SOC)),)
|
|
export CONFIG_HOST1X_HAVE_SYNCPT_BASE=y
|
|
subdir-ccflags-y += -DCONFIG_HOST1X_HAVE_SYNCPT_BASE
|
|
endif
|
|
|
|
ifneq ($(filter y, $(CONFIG_ARCH_TEGRA_2x_SOC) $(CONFIG_ARCH_TEGRA_3x_SOC) \
|
|
$(CONFIG_ARCH_TEGRA_114_SOC) $(CONFIG_ARCH_TEGRA_124_SOC) $(CONFIG_ARCH_TEGRA_132_SOC) \
|
|
$(CONFIG_ARCH_TEGRA_210_SOC) $(CONFIG_ARCH_TEGRA_186_SOC) $(CONFIG_ARCH_TEGRA_194_SOC)),)
|
|
export CONFIG_DRM_TEGRA_HAVE_DISPLAY=y
|
|
subdir-ccflags-y += -DCONFIG_DRM_TEGRA_HAVE_DISPLAY
|
|
endif
|
|
|
|
ifeq ($(NV_OOT_NVHOST_NATIVE_DIS),y)
|
|
export CONFIG_TEGRA_DRM_NATIVE_DIS=y
|
|
subdir-ccflags-y += -DCONFIG_TEGRA_DRM_NATIVE_DIS
|
|
endif
|
|
|
|
ifeq ($(NV_OOT_NVHOST_DISABLE_LEGACY_IOCTL),y)
|
|
export CONFIG_TEGRA_DRM_DISABLE_LEGACY_IOCTL=y
|
|
subdir-ccflags-y += -DCONFIG_TEGRA_DRM_DISABLE_LEGACY_IOCTL
|
|
endif
|
|
|
|
ifdef CONFIG_DRM
|
|
obj-m += drm/tegra/
|
|
endif
|
|
obj-m += host1x/
|
|
obj-m += host1x-fence/
|
|
obj-m += host1x-nvhost/
|
|
obj-m += power/tegra/
|