diff --git a/drivers/video/tegra/Makefile b/drivers/video/tegra/Makefile index 173995af..3bc12547 100644 --- a/drivers/video/tegra/Makefile +++ b/drivers/video/tegra/Makefile @@ -2,3 +2,4 @@ # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. obj-m += nvmap/ +obj-m += host/nvdla/ diff --git a/drivers/video/tegra/host/nvdla/Makefile b/drivers/video/tegra/host/nvdla/Makefile new file mode 100644 index 00000000..3bb8205e --- /dev/null +++ b/drivers/video/tegra/host/nvdla/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/nvdla. 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 c01a7f86..4455b030 100644 --- a/kernel-src-files-copy-list.txt +++ b/kernel-src-files-copy-list.txt @@ -24,3 +24,9 @@ copy_dir nvidia/drivers/gpu/host1x-nvhost drivers/gpu/host1x-nvhost copy_file nvidia/drivers/gpu/host1x/include/linux/host1x-next.h include/linux/host1x-next.h copy_file nvidia/include/linux/nvhost.h include/linux/nvhost.h copy_file nvidia/include/uapi/linux/nvdev_fence.h include/uapi/linux/nvdev_fence.h + +# Files/directories for NVDLA +copy_dir nvidia/drivers/video/tegra/host/nvdla drivers/video/tegra/host/nvdla +copy_file nvidia/include/linux/arm64-barrier.h include/linux/arm64-barrier.h +copy_file nvidia/include/uapi/linux/nvhost_nvdla_ioctl.h include/uapi/linux/nvhost_nvdla_ioctl.h +copy_file nvidia/include/uapi/linux/nvhost_ioctl.h include/uapi/linux/nvhost_ioctl.h