From 8533f2be4a526f1bf54662ea7569881cb2b0b8c0 Mon Sep 17 00:00:00 2001 From: anupamg Date: Tue, 2 Jul 2024 22:07:13 +0000 Subject: [PATCH] DCE-KMD: Use OS abstraction for types.h - DCE-KMD code is only compiled on Linux Kernel today. So it has some linux specific dependencies. - We will be compiling the same code for new DispalySerer HVRTOS process. To support this we will need to abstract out OS specific dependencies from DCE-KMD. - Common OS abstraction code will be developed under display/drivers/ server/ repo. - DCE-KMD will start using that os abtsaction and this is the first CL towards that effort. JIRA TDS-16052 Change-Id: I51fba684ac285139225a2999338e73c724d9d499 Signed-off-by: anupamg Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3167249 GVS: buildbot_gerritrpt Reviewed-by: svcacv Reviewed-by: Arun Swain Reviewed-by: Mahesh Kumar --- drivers/platform/tegra/dce/include/dce-hsp-t234.h | 4 ++-- drivers/platform/tegra/dce/include/dce-hsp-t264.h | 4 ++-- drivers/platform/tegra/dce/include/dce-hsp.h | 4 ++-- drivers/platform/tegra/dce/include/dce-util-common.h | 4 ++-- drivers/platform/tegra/dce/include/dce.h | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/platform/tegra/dce/include/dce-hsp-t234.h b/drivers/platform/tegra/dce/include/dce-hsp-t234.h index 20e492b5..1be43911 100644 --- a/drivers/platform/tegra/dce/include/dce-hsp-t234.h +++ b/drivers/platform/tegra/dce/include/dce-hsp-t234.h @@ -1,12 +1,12 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * Copyright (c) 2019-2024, NVIDIA CORPORATION. All rights reserved. + * SPDX-FileCopyrightText: Copyright (c) 2019-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. */ #ifndef DCE_HSP_T234_H #define DCE_HSP_T234_H -#include // TODO: use dce-types +#include struct tegra_dce; diff --git a/drivers/platform/tegra/dce/include/dce-hsp-t264.h b/drivers/platform/tegra/dce/include/dce-hsp-t264.h index f8a0a42f..491f04f4 100644 --- a/drivers/platform/tegra/dce/include/dce-hsp-t264.h +++ b/drivers/platform/tegra/dce/include/dce-hsp-t264.h @@ -1,12 +1,12 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved. + * SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. */ #ifndef DCE_HSP_T264_H #define DCE_HSP_T264_H -#include // TODO: use dce-types +#include struct tegra_dce; diff --git a/drivers/platform/tegra/dce/include/dce-hsp.h b/drivers/platform/tegra/dce/include/dce-hsp.h index abbbbb2f..3ddf947e 100644 --- a/drivers/platform/tegra/dce/include/dce-hsp.h +++ b/drivers/platform/tegra/dce/include/dce-hsp.h @@ -1,12 +1,12 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * Copyright (c) 2019-2024, NVIDIA CORPORATION. All rights reserved. + * SPDX-FileCopyrightText: Copyright (c) 2019-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. */ #ifndef DCE_HSP_H #define DCE_HSP_H -#include // TODO: use dce-types +#include struct tegra_dce; diff --git a/drivers/platform/tegra/dce/include/dce-util-common.h b/drivers/platform/tegra/dce/include/dce-util-common.h index 47c42958..dad2627e 100644 --- a/drivers/platform/tegra/dce/include/dce-util-common.h +++ b/drivers/platform/tegra/dce/include/dce-util-common.h @@ -1,12 +1,12 @@ /* 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 DCE_UTIL_COMMON_H #define DCE_UTIL_COMMON_H -#include +#include #include #include #include diff --git a/drivers/platform/tegra/dce/include/dce.h b/drivers/platform/tegra/dce/include/dce.h index 288892e5..c74496c6 100644 --- a/drivers/platform/tegra/dce/include/dce.h +++ b/drivers/platform/tegra/dce/include/dce.h @@ -1,13 +1,13 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * Copyright (c) 2019-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-FileCopyrightText: Copyright (c) 2019-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. */ #ifndef TEGRA_DCE_H #define TEGRA_DCE_H #include -#include +#include #include #include #include