drm SPDX updates
Subsystems (6)
This series clarifies licenses, removes unnecessary boilerplate and addas SPDX headers for files in drm that are copyrighted by VMware.
/D
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
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
@@ -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
@@ -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
@@ -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
@@ -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
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
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.
Signed-off-by Dirk Hohndel (VMware) <[email protected]>--- 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@@ -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 && MMUdrivers/gpu/drm/vmwgfx/device_include/vmware_pack_begin.h +1
-24@@ -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@@ -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 */ __packeddrivers/gpu/drm/vmwgfx/vmwgfx_msg.h +1
-6@@ -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
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.
Signed-off-by Dirk Hohndel (VMware) <[email protected]>--- 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@@ -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@@ -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@@ -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@@ -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.hfile 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
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.
Signed-off-by Dirk Hohndel (VMware) <[email protected]>--- 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@@ -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 && MMUAs a
Kconfigfile 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@@ -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@@ -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 */ __packedThis 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@@ -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.hfile 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