Skip to contentSkip to conversation

drm SPDX updates

PATCH Superseded Dirk Hohndel (VMware) 2 participants 12 messages May 3, 2018 – May 4, 2018

Subsystems (6)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#1 lore raw

PATCH 1/8 drm: add SPDX idenitifier and clarify license

This is dual licensed under GPL-2.0 or MIT.

---
 drivers/gpu/drm/drm_vma_manager.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/drm_vma_manager.c +1 -0
index 23c749c05b5a..a6b2fe36b025 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
  * Copyright (c) 2012 David Airlie <[email protected]>
Signature · 6 lines
2.17.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

PATCH 2/8 drm/amd: Add SPDX identifier and clarify license

This is dual licensed under GPL-2.0 or MIT.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_test.c +1 -0
index 2dbe87591f81..9ae10acd44c5 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright 2009 VMware, Inc.
  *
Signature · 6 lines
2.17.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

PATCH 3/8 drm: Add SPDX identifier and clarify license

This is dual licensed under GPL-2.0 or MIT.

---
 drivers/gpu/drm/drm_global.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/drm_global.c +1 -1
index b2dc21e33ae0..5799e2782dd1 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
  * Copyright 2008-2009 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
Signature · 6 lines
2.17.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

PATCH 4/8 drm/noveau: Add SPDX identifier and clarify license

This is dual licensed under GPL-2.0 or MIT.

---
 drivers/gpu/drm/nouveau/nouveau_ttm.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/nouveau/nouveau_ttm.c +1 -2
index dff51a0ee028..e7083cd75b0f 100644
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright (c) 2007-2008 Tungsten Graphics, Inc., Cedar Park, TX., USA,
- * All Rights Reserved.
  * Copyright (c) 2009 VMware, Inc., Palo Alto, CA., USA,
- * All Rights Reserved.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
Signature · 6 lines
2.17.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

PATCH 5/8 drm/radeon: Add SPDX identifier and clarify license

This is dual licensed under GPL-2.0 or MIT.

---
 drivers/gpu/drm/radeon/radeon_test.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/radeon/radeon_test.c +1 -0
index f5e9abfadb56..573e123c3a16 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright 2009 VMware, Inc.
  *
Signature · 6 lines
2.17.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

PATCH 6/8 drm/ttm: add SPDX idenitifier and clarify license

This is dual licensed under GPL-2.0 or MIT.

---
 drivers/gpu/drm/ttm/ttm_agp_backend.c  | 1 +
 drivers/gpu/drm/ttm/ttm_bo.c           | 1 +
 drivers/gpu/drm/ttm/ttm_bo_manager.c   | 1 +
 drivers/gpu/drm/ttm/ttm_bo_util.c      | 1 +
 drivers/gpu/drm/ttm/ttm_bo_vm.c        | 1 +
 drivers/gpu/drm/ttm/ttm_execbuf_util.c | 1 +
 drivers/gpu/drm/ttm/ttm_lock.c         | 1 +
 drivers/gpu/drm/ttm/ttm_memory.c       | 1 +
 drivers/gpu/drm/ttm/ttm_module.c       | 1 +
 drivers/gpu/drm/ttm/ttm_object.c       | 1 +
 drivers/gpu/drm/ttm/ttm_tt.c           | 1 +
 11 files changed, 11 insertions(+)
drivers/gpu/drm/ttm/ttm_agp_backend.c +1 -0
index 7c2485fe88d8..e2e965ad8e2f 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
  * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
drivers/gpu/drm/ttm/ttm_bo.c +1 -0
index 98e06f8bf23b..7db7dc50e19e 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
  * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
drivers/gpu/drm/ttm/ttm_bo_manager.c +1 -0
index a7c232dc39cb..2b545411bab5 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
  * Copyright (c) 2007-2010 VMware, Inc., Palo Alto, CA., USA
drivers/gpu/drm/ttm/ttm_bo_util.c +1 -0
index 2ebbae6067ab..db7c4e3bfec2 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
  * Copyright (c) 2007-2009 VMware, Inc., Palo Alto, CA., USA
drivers/gpu/drm/ttm/ttm_bo_vm.c +1 -0
index 8eba95b3c737..90e4a043d5be 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
  * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
drivers/gpu/drm/ttm/ttm_execbuf_util.c +1 -0
index 3dca206e85f7..f7c5bd4912e6 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
  * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
drivers/gpu/drm/ttm/ttm_lock.c +1 -0
index 913f4318cdc0..21a355055c2f 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
  * Copyright (c) 2007-2009 VMware, Inc., Palo Alto, CA., USA
drivers/gpu/drm/ttm/ttm_memory.c +1 -0
index 27856c55dc84..7ff4cfe56c24 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
  * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
drivers/gpu/drm/ttm/ttm_module.c +1 -0
index 66fc6395eb54..79da35a36ada 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
  * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
drivers/gpu/drm/ttm/ttm_object.c +1 -0
index 1aa2baa83959..4964148a0448 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
  * Copyright (c) 2009-2013 VMware, Inc., Palo Alto, CA., USA
drivers/gpu/drm/ttm/ttm_tt.c +1 -0
index 7e672be987b5..81069c3fa19f 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
  * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
Signature · 6 lines
2.17.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

PATCH 7/8 drm/vmwgfx: add SPDX idenitifier and clarify license

This is licensed under GPL-2.0.

---
 drivers/gpu/drm/vmwgfx/Kconfig                |  1 +
 .../vmwgfx/device_include/vmware_pack_begin.h | 25 +------------------
 .../vmwgfx/device_include/vmware_pack_end.h   | 25 +------------------
 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h           | 14 ++---------
 4 files changed, 5 insertions(+), 60 deletions(-)
drivers/gpu/drm/vmwgfx/Kconfig +1 -0
index 8c308dac99c5..6b28a326f8bb 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config DRM_VMWGFX
 	tristate "DRM driver for VMware Virtual GPU"
 	depends on DRM && PCI && X86 && MMU
drivers/gpu/drm/vmwgfx/device_include/vmware_pack_begin.h +1 -24
index 7e7b0ce34aa2..75308bd0d970 100644
@@ -1,25 +1,2 @@
-/**********************************************************
- * Copyright 2015 VMware, Inc.  All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use, copy,
- * modify, merge, publish, distribute, sublicense, and/or sell copies
- * of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
- **********************************************************/
+/* SPDX-License-Identifier: GPL-2.0 */
 #include <linux/compiler.h>
drivers/gpu/drm/vmwgfx/device_include/vmware_pack_end.h +1 -24
index e2e440ed3d44..e93d6f28b68c 100644
@@ -1,25 +1,2 @@
-/**********************************************************
- * Copyright 2015 VMware, Inc.  All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use, copy,
- * modify, merge, publish, distribute, sublicense, and/or sell copies
- * of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
- **********************************************************/
+/* SPDX-License-Identifier: GPL-2.0 */
 __packed
drivers/gpu/drm/vmwgfx/vmwgfx_msg.h +2 -12
index 557a033fb610..f1589964be65 100644
@@ -1,16 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
- * Copyright (C) 2016, VMware, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
- * NON INFRINGEMENT.  See the GNU General Public License for more
- * details.
+ * Copyright 2016, VMware, Inc.
  *
  * Based on code from vmware.c and vmmouse.c.
  * Author:
Signature · 6 lines
2.17.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw

PATCH 8/8 drm/vmwgfx: add SPDX idenitifier and clarify license

This is dual licensed under GPL-2.0 or MIT.

---
 drivers/gpu/drm/vmwgfx/device_include/svga3d_caps.h        | 3 ++-
 drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h         | 3 ++-
 drivers/gpu/drm/vmwgfx/device_include/svga3d_devcaps.h     | 3 ++-
 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h          | 3 ++-
 drivers/gpu/drm/vmwgfx/device_include/svga3d_limits.h      | 3 ++-
 drivers/gpu/drm/vmwgfx/device_include/svga3d_reg.h         | 3 ++-
 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h | 4 ++--
 drivers/gpu/drm/vmwgfx/device_include/svga3d_types.h       | 3 ++-
 drivers/gpu/drm/vmwgfx/device_include/svga_escape.h        | 3 ++-
 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h       | 3 ++-
 drivers/gpu/drm/vmwgfx/device_include/svga_reg.h           | 3 ++-
 drivers/gpu/drm/vmwgfx/device_include/svga_types.h         | 3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c                    | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_binding.h                    | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c                       | 3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c                     | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c                     | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c                 | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_context.c                    | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c                    | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_dmabuf.c                     | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c                        | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h                        | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c                    | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c                      | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_fence.h                      | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c                       | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_gmr.c                        | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c              | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c                      | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c                        | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c                        | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h                        | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c                        | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c                     | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_mob.c                        | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c                        | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c                    | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_prime.c                      | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_reg.h                        | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c                   | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h              | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c                       | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c                     | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c            | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_so.c                         | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_so.h                         | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c                       | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c                    | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c                   | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_va.c                         | 4 ++--
 51 files changed, 102 insertions(+), 90 deletions(-)
drivers/gpu/drm/vmwgfx/device_include/svga3d_caps.h +2 -1
index 9ce2466a5d00..69c4253fbfbb 100644
@@ -1,5 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /**********************************************************
- * Copyright 2007-2015 VMware, Inc.  All rights reserved.
+ * Copyright 2007-2015 VMware, Inc.
  *
  * Permission is hereby granted, free of charge, to any person
  * obtaining a copy of this software and associated documentation
drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h +2 -1
index 2dfd57c5f463..3bf75978e155 100644
@@ -1,5 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /**********************************************************
- * Copyright 1998-2015 VMware, Inc.  All rights reserved.
+ * Copyright 1998-2015 VMware, Inc.
  *
  * Permission is hereby granted, free of charge, to any person
  * obtaining a copy of this software and associated documentation
drivers/gpu/drm/vmwgfx/device_include/svga3d_devcaps.h +2 -1
index c18b663f360f..e1c0d94cc1e9 100644
@@ -1,5 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /**********************************************************
- * Copyright 1998-2015 VMware, Inc.  All rights reserved.
+ * Copyright 1998-2015 VMware, Inc.
  *
  * Permission is hereby granted, free of charge, to any person
  * obtaining a copy of this software and associated documentation
drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h +2 -1
index 8c5ae608cfb4..f4606d04556b 100644
@@ -1,5 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /**********************************************************
- * Copyright 2012-2015 VMware, Inc.  All rights reserved.
+ * Copyright 2012-2015 VMware, Inc.
  *
  * Permission is hereby granted, free of charge, to any person
  * obtaining a copy of this software and associated documentation
drivers/gpu/drm/vmwgfx/device_include/svga3d_limits.h +2 -1
index a1c36877ad55..8732490d45d5 100644
@@ -1,5 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /**********************************************************
- * Copyright 2007-2015 VMware, Inc.  All rights reserved.
+ * Copyright 2007-2015 VMware, Inc.
  *
  * Permission is hereby granted, free of charge, to any person
  * obtaining a copy of this software and associated documentation
drivers/gpu/drm/vmwgfx/device_include/svga3d_reg.h +2 -1
index b44ce648f592..bdfc404c91e3 100644
@@ -1,5 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /**********************************************************
- * Copyright 1998-2015 VMware, Inc.  All rights reserved.
+ * Copyright 1998-2015 VMware, Inc.
  *
  * Permission is hereby granted, free of charge, to any person
  * obtaining a copy of this software and associated documentation
drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h +2 -2
index babe7cb84fc2..b45e96309233 100644
@@ -1,7 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /**************************************************************************
  *
- * Copyright © 2008-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2008-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/device_include/svga3d_types.h +2 -1
index 27b33ba88430..df63f24c2e10 100644
@@ -1,5 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /**********************************************************
- * Copyright 2012-2015 VMware, Inc.  All rights reserved.
+ * Copyright 2012-2015 VMware, Inc.
  *
  * Permission is hereby granted, free of charge, to any person
  * obtaining a copy of this software and associated documentation
drivers/gpu/drm/vmwgfx/device_include/svga_escape.h +2 -1
index 884b1d1fb85f..acb41e28e46f 100644
@@ -1,5 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /**********************************************************
- * Copyright 2007-2015 VMware, Inc.  All rights reserved.
+ * Copyright 2007-2015 VMware, Inc.
  *
  * Permission is hereby granted, free of charge, to any person
  * obtaining a copy of this software and associated documentation
drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h +2 -1
index faf6d9b2b891..e5385146e7fc 100644
@@ -1,5 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /**********************************************************
- * Copyright 2007-2015 VMware, Inc.  All rights reserved.
+ * Copyright 2007-2015 VMware, Inc.
  *
  * Permission is hereby granted, free of charge, to any person
  * obtaining a copy of this software and associated documentation
drivers/gpu/drm/vmwgfx/device_include/svga_reg.h +2 -1
index 88e72bf9a534..847e3301c478 100644
@@ -1,5 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /**********************************************************
- * Copyright 1998-2015 VMware, Inc.  All rights reserved.
+ * Copyright 1998-2015 VMware, Inc.
  *
  * Permission is hereby granted, free of charge, to any person
  * obtaining a copy of this software and associated documentation
drivers/gpu/drm/vmwgfx/device_include/svga_types.h +2 -1
index 2e8ba4df8de9..53602a4e7957 100644
@@ -1,5 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /**********************************************************
- * Copyright 2015 VMware, Inc.  All rights reserved.
+ * Copyright 2015 VMware, Inc.
  *
  * Permission is hereby granted, free of charge, to any person
  * obtaining a copy of this software and associated documentation
drivers/gpu/drm/vmwgfx/vmwgfx_binding.c +2 -2
index 55d32ae43aa4..0b9ee7fb45d6 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_binding.h +2 -2
index bf2e77ad5a20..6a2a9d69043b 100644
@@ -1,7 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /**************************************************************************
  *
- * Copyright © 2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_blit.c +2 -1
index e8c94b19db7b..fc6673cde289 100644
@@ -1,6 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2017 VMware, Inc., Palo Alto, CA., USA
+ * Copyright 2017 VMware, Inc., Palo Alto, CA., USA
  * All Rights Reserved.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c +2 -2
index 21111fd091f9..02de216d55a1 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2009-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2009-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c +2 -2
index 9f45d5004cae..e7e4655d3f36 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c +2 -2
index 36c7b6c839c0..3b75af9bf85f 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2014-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2014-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_context.c +2 -2
index 3767ac335aca..750319d95458 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2009-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2009-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c +2 -2
index cbf54ea7b4c0..df55e7d8b4cf 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2014-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2014-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_dmabuf.c +2 -2
index d59d9dd16ebc..df7d1c97eb82 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2011-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2011-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c +2 -2
index 70e1a8820a7c..6e821e831243 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2009-2016 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2009-2016 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h +2 -2
index f34f368c1a2e..49c20e2ef43a 100644
@@ -1,7 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /**************************************************************************
  *
- * Copyright © 2009-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2009-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +2 -2
index c9d5cc237124..47bb7e58a368 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2009 - 2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2009 - 2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c +2 -2
index 9ed544f8958f..c2eeb677cdfc 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2011-2014 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2011-2014 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_fence.h +2 -2
index 20224dba9d8e..c9382933c2b9 100644
@@ -1,7 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /**************************************************************************
  *
- * Copyright © 2011-2012 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2011-2012 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c +2 -2
index a1c68e6a689e..d0fd147ef75f 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2009-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2009-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_gmr.c +2 -2
index 66ffa1d4759c..007a0cc7f232 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2009-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2009-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c +2 -2
index f2f9d88131f2..ddb1e9365a3e 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright (c) 2007-2010 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2007-2010 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c +2 -2
index c5e8eae0dbe2..78fce406e1d4 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2009-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2009-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_irq.c +2 -2
index b9239ba067c4..c3ad4478266b 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2009-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2009-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c +2 -2
index f11601b6fd74..0ab00d041996 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2009-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2009-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_kms.h +2 -2
index 6b7c012719f1..27c41c227120 100644
@@ -1,7 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /**************************************************************************
  *
- * Copyright © 2009-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2009-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c +2 -2
index 3824595fece1..8406ff108686 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2009-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2009-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_marker.c +2 -2
index efd1ffd68185..e53bc639a754 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright (C) 2010 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2010 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_mob.c +2 -2
index d07c585e3c1d..0963d0438190 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2012-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2012-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_msg.c +2 -2
index cdff99211602..0c50848996d5 100644
@@ -1,6 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
- * Copyright © 2016 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2016 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c +2 -2
index 222c9c2123a1..3ced89e70a64 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2009-2014 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2009-2014 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_prime.c +2 -2
index 0d42a46521fc..f2723bef90ef 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2013 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2013 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_reg.h +2 -2
index dce798053a96..e99f6cdbb091 100644
@@ -1,7 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /**************************************************************************
  *
- * Copyright © 2009-2014 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2009-2014 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c +2 -2
index 6b3a942b18df..3063a3e4bd40 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2009-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2009-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h +2 -2
index ac05968a832b..a8c1c5ebd71d 100644
@@ -1,7 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /**************************************************************************
  *
- * Copyright © 2012-2014 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2012-2014 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c +2 -2
index 648f8127f65a..2ab3b884bde2 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2011-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2011-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_shader.c +2 -2
index 73b8e9a16368..e3ba63da396d 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2009-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2009-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c +2 -2
index a0cb310665cc..6ebc5affde14 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2016 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2016 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_so.c +2 -2
index d3573c37c436..e9b6b7baa009 100644
@@ -1,6 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
- * Copyright © 2014-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2014-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_so.h +2 -2
index 268738387b5e..b80c7252f2fd 100644
@@ -1,6 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /**************************************************************************
- * Copyright © 2014-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2014-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c +2 -2
index 67331f01ef32..7934a7523cd4 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /******************************************************************************
  *
- * COPYRIGHT © 2014-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * COPYRIGHT (C) 2014-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c +2 -2
index b236c48bf265..40a439797ae2 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2009-2015 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2009-2015 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c +2 -2
index e771091d2cd3..7b1e5a5cbd2c 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2009-2011 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2009-2011 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
drivers/gpu/drm/vmwgfx/vmwgfx_va.c +2 -2
index b4162fd78600..ebc1d83c34b4 100644
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /**************************************************************************
  *
- * Copyright © 2012-2016 VMware, Inc., Palo Alto, CA., USA
- * All Rights Reserved.
+ * Copyright 2012-2016 VMware, Inc., Palo Alto, CA., USA
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
Signature · 6 lines
2.17.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#9 lore raw

Re: [PATCH 7/8] drm/vmwgfx: add SPDX idenitifier and clarify license

In reply to Dirk Hohndel (VMware)

Hi, Dirk,

Quoted 94 lines · Dirk Hohndel (VMware)

This is licensed under GPL-2.0.

---
  drivers/gpu/drm/vmwgfx/Kconfig                |  1 +
  .../vmwgfx/device_include/vmware_pack_begin.h | 25 +------------------
  .../vmwgfx/device_include/vmware_pack_end.h   | 25 +------------------
  drivers/gpu/drm/vmwgfx/vmwgfx_msg.h           | 14 ++---------
  4 files changed, 5 insertions(+), 60 deletions(-)
drivers/gpu/drm/vmwgfx/Kconfig +1 -0
index 8c308dac99c5..6b28a326f8bb 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  config DRM_VMWGFX
  	tristate "DRM driver for VMware Virtual GPU"
  	depends on DRM && PCI && X86 && MMU
drivers/gpu/drm/vmwgfx/device_include/vmware_pack_begin.h +1 -24
index 7e7b0ce34aa2..75308bd0d970 100644
@@ -1,25 +1,2 @@
-/**********************************************************
- * Copyright 2015 VMware, Inc.  All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use, copy,
- * modify, merge, publish, distribute, sublicense, and/or sell copies
- * of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
- **********************************************************/
+/* SPDX-License-Identifier: GPL-2.0 */
  #include <linux/compiler.h>
drivers/gpu/drm/vmwgfx/device_include/vmware_pack_end.h +1 -24
index e2e440ed3d44..e93d6f28b68c 100644
@@ -1,25 +1,2 @@
-/**********************************************************
- * Copyright 2015 VMware, Inc.  All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use, copy,
- * modify, merge, publish, distribute, sublicense, and/or sell copies
- * of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
- **********************************************************/
+/* SPDX-License-Identifier: GPL-2.0 */
  __packed
drivers/gpu/drm/vmwgfx/vmwgfx_msg.h +1 -6
index 557a033fb610..f1589964be65 100644
@@ -1,16 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
  /*
- * Copyright (C) 2016, VMware, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.

drivers/gpu/drm/vmwgfx/vmwgfx_msg.h line 6

Quoted 10 lines
drivers/gpu/drm/vmwgfx/vmwgfx_msg.h +1 -6
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
- * NON INFRINGEMENT.  See the GNU General Public License for more
- * details.
+ * Copyright 2016, VMware, Inc.
   *
   * Based on code from vmware.c and vmmouse.c.
   * Author:

The intention of the whole vmwgfx module is to be dual GPL-2 OR MIT licensed whenever possible. It looks like the vmware_pack* files have a MIT-style license already?

The vmwgfx_msg.h file is GPL, but I think that's based on an earlier version of the file that has now been completely replaced by code that's copied from an already MIT-licenced file in the mesa project.

Since we hold the copyright to that file and AFAICT there are no other contributors, we should re-licence that file to GPL-2 / MIT.

/Thomas

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

Re: [PATCH 7/8] drm/vmwgfx: add SPDX idenitifier and clarify license

Hi Thomas,

Quoted 11 lines · Thomas Hellstrom
Quoted 10 lines · Dirk Hohndel (VMware)

This is licensed under GPL-2.0.

---
  drivers/gpu/drm/vmwgfx/Kconfig                |  1 +
  .../vmwgfx/device_include/vmware_pack_begin.h | 25 +------------------
  .../vmwgfx/device_include/vmware_pack_end.h   | 25 +------------------
  drivers/gpu/drm/vmwgfx/vmwgfx_msg.h           | 14 ++---------
  4 files changed, 5 insertions(+), 60 deletions(-)
Quoted 9 lines

drivers/gpu/drm/vmwgfx/Kconfig line 4

Quoted 9 lines
drivers/gpu/drm/vmwgfx/Kconfig +1 -0
index 8c308dac99c5..6b28a326f8bb 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  config DRM_VMWGFX
  	tristate "DRM driver for VMware Virtual GPU"
  	depends on DRM && PCI && X86 && MMU

As a Kconfig file I think it seems unlikely there is a reason to dual license - and given the provenance of this file, I think one might argue that this is derived from GPL-2 code.

Quoted 23 lines
Quoted 23 lines
drivers/gpu/drm/vmwgfx/device_include/vmware_pack_begin.h +0 -18
index 7e7b0ce34aa2..75308bd0d970 100644
@@ -1,25 +1,2 @@
-/**********************************************************
- * Copyright 2015 VMware, Inc.  All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use, copy,
- * modify, merge, publish, distribute, sublicense, and/or sell copies
- * of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
Quoted 8 lines

drivers/gpu/drm/vmwgfx/device_include/vmware_pack_begin.h line 2

Quoted 8 lines
drivers/gpu/drm/vmwgfx/device_include/vmware_pack_begin.h +1 -6
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
- **********************************************************/
+/* SPDX-License-Identifier: GPL-2.0 */
  #include <linux/compiler.h>

This file is a single line that includes a GPL-2 header file. Technically I think one could claim that this could be dual licensed - I fail to see the purpose.

Quoted 23 lines
Quoted 23 lines
drivers/gpu/drm/vmwgfx/device_include/vmware_pack_end.h +0 -18
index e2e440ed3d44..e93d6f28b68c 100644
@@ -1,25 +1,2 @@
-/**********************************************************
- * Copyright 2015 VMware, Inc.  All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use, copy,
- * modify, merge, publish, distribute, sublicense, and/or sell copies
- * of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
Quoted 8 lines

drivers/gpu/drm/vmwgfx/device_include/vmware_pack_end.h line 2

Quoted 8 lines
drivers/gpu/drm/vmwgfx/device_include/vmware_pack_end.h +1 -6
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
- **********************************************************/
+/* SPDX-License-Identifier: GPL-2.0 */
  __packed

This file contains, fundamentally, the pragma "__packed". Claiming any license for this file is a bit ridiculous, but since it's part of the kernel, labeling it as GPL-2 seems useful. And the required boilerplate in order to formally dual license it seems even more ridiculous to me...

If there is a strong technical reason why this pair of .h files HAS to be dual licensed, I'm of course happy to consider them, but right now I'll admit that this seems a bit academic.

Quoted 19 lines
Quoted 19 lines
drivers/gpu/drm/vmwgfx/vmwgfx_msg.h +1 -12
index 557a033fb610..f1589964be65 100644
@@ -1,16 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
  /*
- * Copyright (C) 2016, VMware, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
- * NON INFRINGEMENT.  See the GNU General Public License for more
- * details.
Quoted 8 lines

drivers/gpu/drm/vmwgfx/vmwgfx_msg.h line 6

Quoted 4 lines
drivers/gpu/drm/vmwgfx/vmwgfx_msg.h +1 -0
+ * Copyright 2016, VMware, Inc.
   *
   * Based on code from vmware.c and vmmouse.c.
   * Author:

The intention of the whole vmwgfx module is to be dual GPL-2 OR MIT licensed whenever possible. It looks like the vmware_pack* files have a MIT-style license already?

See my comments above. While /technically/ that is something we could maintain, I fail to see the practical value.

Quoted 6 lines

The vmwgfx_msg.h file is GPL, but I think that's based on an earlier version of the file that has now been completely replaced by code that's copied from an already MIT-licenced file in the mesa project.

Since we hold the copyright to that file and AFAICT there are no other contributors, we should re-licence that file to GPL-2 / MIT.

Since Sinclair is the only author that I can see in the git history, I'm ok with adding a dual license to that file. Will do in the next revision of the series. But I'll wait to see if there are more comments before sending this.
I also have to edit a couple of commit messages where I messed up capitalization - and I forgot to Cc Thomas Gleixner on the series...

/D
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw

Re: [PATCH 7/8] drm/vmwgfx: add SPDX idenitifier and clarify license

Quoted 98 lines · Dirk Hohndel

Hi Thomas,

Quoted 11 lines · Thomas Hellstrom
Quoted 10 lines · Dirk Hohndel (VMware)

This is licensed under GPL-2.0.

---
   drivers/gpu/drm/vmwgfx/Kconfig                |  1 +
   .../vmwgfx/device_include/vmware_pack_begin.h | 25 +------------------
   .../vmwgfx/device_include/vmware_pack_end.h   | 25 +------------------
   drivers/gpu/drm/vmwgfx/vmwgfx_msg.h           | 14 ++---------
   4 files changed, 5 insertions(+), 60 deletions(-)
Quoted 9 lines

drivers/gpu/drm/vmwgfx/Kconfig line 4

Quoted 9 lines
drivers/gpu/drm/vmwgfx/Kconfig +1 -0
index 8c308dac99c5..6b28a326f8bb 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
   config DRM_VMWGFX
   	tristate "DRM driver for VMware Virtual GPU"
   	depends on DRM && PCI && X86 && MMU

As a Kconfig file I think it seems unlikely there is a reason to dual license - and given the provenance of this file, I think one might argue that this is derived from GPL-2 code.

Quoted 23 lines
Quoted 23 lines
drivers/gpu/drm/vmwgfx/device_include/vmware_pack_begin.h +0 -18
index 7e7b0ce34aa2..75308bd0d970 100644
@@ -1,25 +1,2 @@
-/**********************************************************
- * Copyright 2015 VMware, Inc.  All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use, copy,
- * modify, merge, publish, distribute, sublicense, and/or sell copies
- * of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
Quoted 8 lines

drivers/gpu/drm/vmwgfx/device_include/vmware_pack_begin.h line 2

Quoted 8 lines
drivers/gpu/drm/vmwgfx/device_include/vmware_pack_begin.h +1 -6
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
- **********************************************************/
+/* SPDX-License-Identifier: GPL-2.0 */
   #include <linux/compiler.h>

This file is a single line that includes a GPL-2 header file. Technically I think one could claim that this could be dual licensed - I fail to see the purpose.

Quoted 23 lines
Quoted 23 lines
drivers/gpu/drm/vmwgfx/device_include/vmware_pack_end.h +0 -18
index e2e440ed3d44..e93d6f28b68c 100644
@@ -1,25 +1,2 @@
-/**********************************************************
- * Copyright 2015 VMware, Inc.  All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use, copy,
- * modify, merge, publish, distribute, sublicense, and/or sell copies
- * of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
Quoted 8 lines

drivers/gpu/drm/vmwgfx/device_include/vmware_pack_end.h line 2

Quoted 8 lines
drivers/gpu/drm/vmwgfx/device_include/vmware_pack_end.h +1 -6
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
- **********************************************************/
+/* SPDX-License-Identifier: GPL-2.0 */
   __packed

This file contains, fundamentally, the pragma "__packed". Claiming any license for this file is a bit ridiculous, but since it's part of the kernel, labeling it as GPL-2 seems useful. And the required boilerplate in order to formally dual license it seems even more ridiculous to me...

Quoted 3 lines

If there is a strong technical reason why this pair of .h files HAS to be dual licensed, I'm of course happy to consider them, but right now I'll admit that this seems a bit academic.

Ah, yes, I didn't look too closely into the contents of these files, I agree completely.

Quoted 34 lines
Quoted 19 lines
Quoted 19 lines
drivers/gpu/drm/vmwgfx/vmwgfx_msg.h +1 -11
index 557a033fb610..f1589964be65 100644
@@ -1,16 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
   /*
- * Copyright (C) 2016, VMware, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
- * NON INFRINGEMENT.  See the GNU General Public License for more
Quoted 8 lines

drivers/gpu/drm/vmwgfx/vmwgfx_msg.h line 6

Quoted 5 lines
drivers/gpu/drm/vmwgfx/vmwgfx_msg.h +1 -1
- * details.
+ * Copyright 2016, VMware, Inc.
    *
    * Based on code from vmware.c and vmmouse.c.
    * Author:

The intention of the whole vmwgfx module is to be dual GPL-2 OR MIT licensed whenever possible. It looks like the vmware_pack* files have a MIT-style license already?

See my comments above. While /technically/ that is something we could maintain, I fail to see the practical value.

Quoted 4 lines

The vmwgfx_msg.h file is GPL, but I think that's based on an earlier version of the file that has now been completely replaced by code that's copied from an already MIT-licenced file in the mesa project.

Quoted 8 lines
Quoted 2 lines

Since we hold the copyright to that file and AFAICT there are no other contributors, we should re-licence that file to GPL-2 / MIT.

Since Sinclair is the only author that I can see in the git history, I'm ok with adding a dual license to that file. Will do in the next revision of the series. But I'll wait to see if there are more comments before sending this.
I also have to edit a couple of commit messages where I messed up capitalization - and I forgot to Cc Thomas Gleixner on the series...

Thanks,
Thomas

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel