[Intel-xe] [PATCH] drm/xe: Add license identifier to compat headers
Francois Dugast
francois.dugast at intel.com
Tue Jul 4 15:03:47 UTC 2023
Please ignore.
On Tue, Jul 04, 2023 at 02:59:07PM +0000, Francois Dugast wrote:
> Ensure the license is correctly identified using SPDX license
> identifiers in compat header files.
>
> Signed-off-by: Francois Dugast <francois.dugast at intel.com>
> ---
> drivers/gpu/drm/xe/compat-i915-headers/i915_fixed.h | 5 +++++
> drivers/gpu/drm/xe/compat-i915-headers/i915_reg.h | 5 +++++
> drivers/gpu/drm/xe/compat-i915-headers/i915_reg_defs.h | 5 +++++
> drivers/gpu/drm/xe/compat-i915-headers/i915_utils.h | 5 +++++
> drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h | 5 +++++
> drivers/gpu/drm/xe/compat-i915-headers/i915_vma_types.h | 5 +++++
> drivers/gpu/drm/xe/compat-i915-headers/intel_clock_gating.h | 5 +++++
> drivers/gpu/drm/xe/compat-i915-headers/intel_mchbar_regs.h | 5 +++++
> drivers/gpu/drm/xe/compat-i915-headers/intel_pci_config.h | 5 +++++
> drivers/gpu/drm/xe/compat-i915-headers/intel_runtime_pm.h | 5 +++++
> drivers/gpu/drm/xe/compat-i915-headers/intel_wakeref.h | 5 +++++
> drivers/gpu/drm/xe/compat-i915-headers/vlv_sideband_reg.h | 5 +++++
> 12 files changed, 60 insertions(+)
>
> diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_fixed.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_fixed.h
> index e55fed3cbe9e..45e4f129eba5 100644
> --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_fixed.h
> +++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_fixed.h
> @@ -1 +1,6 @@
> +// SPDX-License-Identifier: MIT
> +/*
> + * Copyright © 2023 Intel Corporation
> + */
> +
> #include "../../i915/i915_fixed.h"
> diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_reg.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_reg.h
> index 36d863f4848b..a15d1fd7b1a0 100644
> --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_reg.h
> +++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_reg.h
> @@ -1 +1,6 @@
> +// SPDX-License-Identifier: MIT
> +/*
> + * Copyright © 2023 Intel Corporation
> + */
> +
> #include "../../i915/i915_reg.h"
> diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_reg_defs.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_reg_defs.h
> index 128a9a330c13..bc6332171df6 100644
> --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_reg_defs.h
> +++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_reg_defs.h
> @@ -1 +1,6 @@
> +// SPDX-License-Identifier: MIT
> +/*
> + * Copyright © 2023 Intel Corporation
> + */
> +
> #include "../../i915/i915_reg_defs.h"
> diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_utils.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_utils.h
> index a88a5196c79d..e54b1a5ddd8b 100644
> --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_utils.h
> +++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_utils.h
> @@ -1 +1,6 @@
> +// SPDX-License-Identifier: MIT
> +/*
> + * Copyright © 2023 Intel Corporation
> + */
> +
> #include "../../i915/i915_utils.h"
> diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h
> index c40bb27ac72a..973422c4cce1 100644
> --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h
> +++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h
> @@ -1,3 +1,8 @@
> +// SPDX-License-Identifier: MIT
> +/*
> + * Copyright © 2023 Intel Corporation
> + */
> +
> #ifndef I915_VMA_H
> #define I915_VMA_H
>
> diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_vma_types.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_vma_types.h
> index 99e7a2142a37..0ba42ed6912e 100644
> --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_vma_types.h
> +++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_vma_types.h
> @@ -1,3 +1,8 @@
> +// SPDX-License-Identifier: MIT
> +/*
> + * Copyright © 2023 Intel Corporation
> + */
> +
> #include <linux/types.h>
> #include <linux/build_bug.h>
>
> diff --git a/drivers/gpu/drm/xe/compat-i915-headers/intel_clock_gating.h b/drivers/gpu/drm/xe/compat-i915-headers/intel_clock_gating.h
> index 6e35e0bace9e..fec266fbd5e5 100644
> --- a/drivers/gpu/drm/xe/compat-i915-headers/intel_clock_gating.h
> +++ b/drivers/gpu/drm/xe/compat-i915-headers/intel_clock_gating.h
> @@ -1 +1,6 @@
> +// SPDX-License-Identifier: MIT
> +/*
> + * Copyright © 2023 Intel Corporation
> + */
> +
> #include "../../i915/intel_clock_gating.h"
> diff --git a/drivers/gpu/drm/xe/compat-i915-headers/intel_mchbar_regs.h b/drivers/gpu/drm/xe/compat-i915-headers/intel_mchbar_regs.h
> index f7c0585f277b..306d30e5744d 100644
> --- a/drivers/gpu/drm/xe/compat-i915-headers/intel_mchbar_regs.h
> +++ b/drivers/gpu/drm/xe/compat-i915-headers/intel_mchbar_regs.h
> @@ -1 +1,6 @@
> +// SPDX-License-Identifier: MIT
> +/*
> + * Copyright © 2023 Intel Corporation
> + */
> +
> #include "../../i915/intel_mchbar_regs.h"
> diff --git a/drivers/gpu/drm/xe/compat-i915-headers/intel_pci_config.h b/drivers/gpu/drm/xe/compat-i915-headers/intel_pci_config.h
> index 741ef99dc0e4..9049a1ce1799 100644
> --- a/drivers/gpu/drm/xe/compat-i915-headers/intel_pci_config.h
> +++ b/drivers/gpu/drm/xe/compat-i915-headers/intel_pci_config.h
> @@ -1 +1,6 @@
> +// SPDX-License-Identifier: MIT
> +/*
> + * Copyright © 2023 Intel Corporation
> + */
> +
> #include "../../i915/intel_pci_config.h"
> diff --git a/drivers/gpu/drm/xe/compat-i915-headers/intel_runtime_pm.h b/drivers/gpu/drm/xe/compat-i915-headers/intel_runtime_pm.h
> index 1a7a1224a750..a6e1e4f8b3f4 100644
> --- a/drivers/gpu/drm/xe/compat-i915-headers/intel_runtime_pm.h
> +++ b/drivers/gpu/drm/xe/compat-i915-headers/intel_runtime_pm.h
> @@ -1,3 +1,8 @@
> +// SPDX-License-Identifier: MIT
> +/*
> + * Copyright © 2023 Intel Corporation
> + */
> +
> #include "intel_wakeref.h"
>
> enum i915_drm_suspend_mode {
> diff --git a/drivers/gpu/drm/xe/compat-i915-headers/intel_wakeref.h b/drivers/gpu/drm/xe/compat-i915-headers/intel_wakeref.h
> index 678f22c36d42..d7f78aed8c69 100644
> --- a/drivers/gpu/drm/xe/compat-i915-headers/intel_wakeref.h
> +++ b/drivers/gpu/drm/xe/compat-i915-headers/intel_wakeref.h
> @@ -1,3 +1,8 @@
> +// SPDX-License-Identifier: MIT
> +/*
> + * Copyright © 2023 Intel Corporation
> + */
> +
> #include <linux/types.h>
>
> typedef bool intel_wakeref_t;
> diff --git a/drivers/gpu/drm/xe/compat-i915-headers/vlv_sideband_reg.h b/drivers/gpu/drm/xe/compat-i915-headers/vlv_sideband_reg.h
> index 83166479ffb5..0bebf958c5cd 100644
> --- a/drivers/gpu/drm/xe/compat-i915-headers/vlv_sideband_reg.h
> +++ b/drivers/gpu/drm/xe/compat-i915-headers/vlv_sideband_reg.h
> @@ -1 +1,6 @@
> +// SPDX-License-Identifier: MIT
> +/*
> + * Copyright © 2023 Intel Corporation
> + */
> +
> #include "../../i915/vlv_sideband_reg.h"
> --
> 2.34.1
>
More information about the Intel-xe
mailing list