nvsciipc: Include change for nvsciipc_ioctl.h

- KMD to refer nvsciipc_ioctl.h from
$TEGRA_TOP/gpu/drv/drivers/nvsci/nvsciipc/inc-linux

Jira: NVIPC-2817
Change-Id: Ic8d86c1320759bf9260d5bb9b4ee82441b0bbb71
Signed-off-by: Suneel Kumar Pemmineti <spemmineti@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3252263
Reviewed-by: Simon Je <sje@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
This commit is contained in:
Suneel Kumar Pemmineti
2024-11-19 10:53:54 +00:00
committed by Jon Hunter
parent 9eaa638dfe
commit 936e6687ef
2 changed files with 15 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# #
# Makefile for NvSciIpc driver # Makefile for NvSciIpc driver
@@ -7,4 +7,15 @@
ccflags-y += -I$(PWD) ccflags-y += -I$(PWD)
ifneq ($(NV_CUSTOMER_BUILD), 1)
ifdef TEGRA_TOP
ccflags-y += -I$(TEGRA_TOP)/gpu/drv/drivers/nvsci/inc/internal
endif
ifdef PWD
ccflags-y += -I$(PWD)/gpu/drv/drivers/nvsci/inc/internal
endif
else
ccflags-y += -I$(TEGRA_TOP)/prebuilt/generic-aaos-pdk/gpu/drv/drivers/nvsci/inc/internal
endif
obj-m += nvsciipc.o obj-m += nvsciipc.o

View File

@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
/* /*
* Copyright (c) 2019-2023, NVIDIA CORPORATION. All rights reserved. * SPDX-FileCopyrightText: Copyright (c) 2019-2024, NVIDIA CORPORATION & AFFILIATES.
* All rights reserved.
*/ */
#ifndef __NVSCIIPC_KERNEL_H__ #ifndef __NVSCIIPC_KERNEL_H__
@@ -8,7 +9,7 @@
#include <linux/nvscierror.h> #include <linux/nvscierror.h>
#include <linux/nvsciipc_interface.h> #include <linux/nvsciipc_interface.h>
#include <uapi/linux/nvsciipc_ioctl.h> #include "nvsciipc_ioctl.h"
#define ERR(...) pr_err("nvsciipc: " __VA_ARGS__) #define ERR(...) pr_err("nvsciipc: " __VA_ARGS__)
#define INFO(...) pr_info("nvsciipc: " __VA_ARGS__) #define INFO(...) pr_info("nvsciipc: " __VA_ARGS__)