devfreq: Build governor pod scaling as OOT module

Make pod scaling governor as the OOT module.

Bug 3674466

Change-Id: Id99a72f508889d0b9c416ba908f8a2de62c594d1
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2726249
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
Laxman Dewangan
2022-06-07 16:53:30 +00:00
committed by mobile promotions
parent a88a06c213
commit b2a93e8e3b
3 changed files with 14 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
LINUXINCLUDE += -I$(srctree.nvidia-oot)/include
obj-m += devfreq/
obj-m += gpu/
obj-m += hwmon/
obj-m += i2c/busses/

9
drivers/devfreq/Makefile Normal file
View File

@@ -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.

View File

@@ -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