video/tegra: Build pva as OOT module

Build PVA as OOT module. Add necessary files for PVA module
to copy to the destination folder for build.

Bug 3674466

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

View File

@@ -3,3 +3,4 @@
obj-m += nvmap/
obj-m += host/nvdla/
obj-m += host/pva/

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

View File

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