Skip to content

Commit

Permalink
drm/xe: Update SPDX deprecated license identifier
Browse files Browse the repository at this point in the history
The "GPL-2.0" SPDX license identifier is deprecated. Update the
code to use "GPL-2.0-only" instead. Choose this identifier over
"GPL-2.0-or-later" since it's the most restrictive of the two and it's
not fully clear that "GPL-2.0" also allows "GPL-2.0-or-later".

Cc: Francois Dugast <francois.dugast@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231107082440.7568-1-thomas.hellstrom@linux.intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
  • Loading branch information
Thomas Hellström authored and Rodrigo Vivi committed Dec 21, 2023
1 parent e4e4268 commit 670e811
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/xe/xe_pt_walk.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright © 2022 Intel Corporation
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/xe/xe_pt_walk.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright © 2022 Intel Corporation
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/xe/xe_res_cursor.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 OR MIT */
/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
/*
* Copyright 2020 Advanced Micro Devices, Inc.
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/xe/xe_trace.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright © 2022 Intel Corporation
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/xe/xe_trace.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright © 2022 Intel Corporation
*/
Expand Down

0 comments on commit 670e811

Please sign in to comment.