diff --git a/drivers/Makefile b/drivers/Makefile index e5552015..8ea68e3a 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -3,6 +3,7 @@ LINUXINCLUDE += -I$(srctree.nvidia-oot)/include +obj-m += devfreq/ obj-m += gpu/ obj-m += hwmon/ obj-m += i2c/busses/ diff --git a/drivers/devfreq/Makefile b/drivers/devfreq/Makefile new file mode 100644 index 00000000..6f162e4c --- /dev/null +++ b/drivers/devfreq/Makefile @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. + +# NOTE: Do not change or add anything in this makefile. +# The source code and makefile rules are copied from the +# kernel/nvidia/drivers/devfreq. This file is +# just place-holder for empty makefile to avoid any build +# issue when copy is not done from command line and building +# the tree independent of source copy. diff --git a/kernel-src-files-copy-list.txt b/kernel-src-files-copy-list.txt index fd5f1300..863408d2 100644 --- a/kernel-src-files-copy-list.txt +++ b/kernel-src-files-copy-list.txt @@ -39,3 +39,7 @@ copy_dir nvgpu/drivers/gpu/nvgpu drivers/gpu/nvgpu copy_dir nvgpu/include include copy_dir nvgpu/nvsched nvsched copy_file nvidia/drivers/video/tegra/nvmap/include/linux/nvmap_exports.h include/linux/nvmap_exports.h + +# Files/directories for PODGOV +copy_dir nvidia/drivers/devfreq drivers/devfreq +copy_file nvidia/include/trace/events/nvhost_podgov.h include/trace/events/nvhost_podgov.h