diff --git a/drivers/video/tegra/Makefile b/drivers/video/tegra/Makefile index 3bc12547..e3379966 100644 --- a/drivers/video/tegra/Makefile +++ b/drivers/video/tegra/Makefile @@ -3,3 +3,4 @@ obj-m += nvmap/ obj-m += host/nvdla/ +obj-m += host/pva/ diff --git a/drivers/video/tegra/host/pva/Makefile b/drivers/video/tegra/host/pva/Makefile new file mode 100644 index 00000000..3aab963e --- /dev/null +++ b/drivers/video/tegra/host/pva/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/video/tegra/host/pva. 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 863408d2..e712f6b8 100644 --- a/kernel-src-files-copy-list.txt +++ b/kernel-src-files-copy-list.txt @@ -43,3 +43,8 @@ copy_file nvidia/drivers/video/tegra/nvmap/include/linux/nvmap_exports.h include # 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 + +# Files/directories for NVPVA +copy_dir nvidia/drivers/video/tegra/host/pva drivers/video/tegra/host/pva +copy_file nvidia/include/trace/events/nvhost_pva.h include/trace/events/nvhost_pva.h +copy_file nvidia/include/uapi/linux/nvpva_ioctl.h include/uapi/linux/nvpva_ioctl.h