drm/tegra: Restore licensing consistency
cover drm/tegra: Restore licensing consistency
The bulk of the Tegra DRM driver is GPL v2 licensed, but some of the new subdrivers were licensed under an MIT license. This was simply oversight on my part.
One exception to this is the public header file that will eventually be used within libdrm. Since all the other headers in libdrm use the MIT license, do the same for Tegra.
Thierry
Thierry Reding (3):
drm/tegra: Relicense public header under MIT
drm/tegra: Relicense under GPL v2
drm/tegra: Use standard GPL v2 license text
drivers/gpu/drm/tegra/dsi.c | 20 +++----------------- drivers/gpu/drm/tegra/dsi.h | 20 +++----------------- drivers/gpu/drm/tegra/gem.c | 11 +++-------- drivers/gpu/drm/tegra/gem.h | 14 +++----------- drivers/gpu/drm/tegra/gr2d.c | 14 +++----------- drivers/gpu/drm/tegra/mipi-phy.c | 20 +++----------------- drivers/gpu/drm/tegra/mipi-phy.h | 20 +++----------------- include/uapi/drm/tegra_drm.h | 26 +++++++++++++++++--------- 8 files changed, 38 insertions(+), 107 deletions(-)
Signature · 1 line
1.8.4.2
A message that is not in the archive (sent off-list or not yet received): 1392190238-1717-1-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org
PATCH 1/3 drm/tegra: Relicense public header under MIT
This file will eventually be exported to libdrm, where all the public header files use the MIT license.
--- include/uapi/drm/tegra_drm.h | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-)
include/uapi/drm/tegra_drm.h +17 -9
@@ -1,17 +1,25 @@/* * Copyright (c) 2012-2013, NVIDIA CORPORATION. All rights reserved. * -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions of the GNU General Public License, -* version 2, as published by the Free Software Foundation. +* 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, sub license, 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: * -* This program is distributed in the hope it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. +* The above copyright notice and this permission notice (including the +* next paragraph) shall be included in all copies or substantial portions +* of the Software. * -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. +* 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 NON-INFRINGEMENT. +* IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS 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. */ #ifndef _UAPI_TEGRA_DRM_H_
Signature · 1 line
1.8.4.2
PATCH 2/3 drm/tegra: Relicense under GPL v2
In reply to a message not in the archiveThe majority of the code in this driver is licensed under the GPL v2, so relicense the rest under GPL v2 as well for consistency.
--- drivers/gpu/drm/tegra/dsi.c | 20 +++----------------- drivers/gpu/drm/tegra/dsi.h | 20 +++----------------- drivers/gpu/drm/tegra/gem.c | 11 +++-------- drivers/gpu/drm/tegra/gem.h | 14 +++----------- drivers/gpu/drm/tegra/mipi-phy.c | 20 +++----------------- drivers/gpu/drm/tegra/mipi-phy.h | 20 +++----------------- 6 files changed, 18 insertions(+), 87 deletions(-)
drivers/gpu/drm/tegra/dsi.c +3 -17
@@ -1,23 +1,9 @@/* * Copyright (C) 2013 NVIDIA Corporation * -* Permission to use, copy, modify, distribute, and sell this software and its -* documentation for any purpose is hereby granted without fee, provided that -* the above copyright notice appear in all copies and that both that copyright -* notice and this permission notice appear in supporting documentation, and -* that the name of the copyright holders not be used in advertising or -* publicity pertaining to distribution of the software without specific, -* written prior permission. The copyright holders make no representations -* about the suitability of this software for any purpose. It is provided "as -* is" without express or implied warranty. -* -* THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, -* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO -* EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR -* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, -* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER -* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE -* OF THIS SOFTWARE. +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License version 2 as +* published by the Free Software Foundation. */ #include <linux/clk.h>
drivers/gpu/drm/tegra/dsi.h +3 -17
@@ -1,23 +1,9 @@/* * Copyright (C) 2013 NVIDIA Corporation * -* Permission to use, copy, modify, distribute, and sell this software and its -* documentation for any purpose is hereby granted without fee, provided that -* the above copyright notice appear in all copies and that both that copyright -* notice and this permission notice appear in supporting documentation, and -* that the name of the copyright holders not be used in advertising or -* publicity pertaining to distribution of the software without specific, -* written prior permission. The copyright holders make no representations -* about the suitability of this software for any purpose. It is provided "as -* is" without express or implied warranty. -* -* THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, -* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO -* EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR -* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, -* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER -* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE -* OF THIS SOFTWARE. +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License version 2 as +* published by the Free Software Foundation. */ #ifndef DRM_TEGRA_DSI_H
drivers/gpu/drm/tegra/gem.c +3 -8
@@ -8,14 +8,9 @@* * Copyright (c) 2011 Samsung Electronics Co., Ltd. * -* 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. See the -* GNU General Public License for more details. +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License version 2 as +* published by the Free Software Foundation. */ #include <linux/dma-buf.h>
drivers/gpu/drm/tegra/gem.h +3 -11
@@ -3,17 +3,9 @@* * Copyright (c) 2012-2013, NVIDIA Corporation. * -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions of the GNU General Public License, -* version 2, as published by the Free Software Foundation. -* -* This program is distributed in the hope it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License version 2 as +* published by the Free Software Foundation. */ #ifndef __HOST1X_GEM_H
drivers/gpu/drm/tegra/mipi-phy.c +3 -17
@@ -1,23 +1,9 @@/* * Copyright (C) 2013 NVIDIA Corporation * -* Permission to use, copy, modify, distribute, and sell this software and its -* documentation for any purpose is hereby granted without fee, provided that -* the above copyright notice appear in all copies and that both that copyright -* notice and this permission notice appear in supporting documentation, and -* that the name of the copyright holders not be used in advertising or -* publicity pertaining to distribution of the software without specific, -* written prior permission. The copyright holders make no representations -* about the suitability of this software for any purpose. It is provided "as -* is" without express or implied warranty. -* -* THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, -* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO -* EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR -* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, -* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER -* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE -* OF THIS SOFTWARE. +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License version 2 as +* published by the Free Software Foundation. */ #include <linux/errno.h>
drivers/gpu/drm/tegra/mipi-phy.h +3 -17
@@ -1,23 +1,9 @@/* * Copyright (C) 2013 NVIDIA Corporation * -* Permission to use, copy, modify, distribute, and sell this software and its -* documentation for any purpose is hereby granted without fee, provided that -* the above copyright notice appear in all copies and that both that copyright -* notice and this permission notice appear in supporting documentation, and -* that the name of the copyright holders not be used in advertising or -* publicity pertaining to distribution of the software without specific, -* written prior permission. The copyright holders make no representations -* about the suitability of this software for any purpose. It is provided "as -* is" without express or implied warranty. -* -* THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, -* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO -* EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR -* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, -* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER -* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE -* OF THIS SOFTWARE. +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License version 2 as +* published by the Free Software Foundation. */ #ifndef DRM_TEGRA_MIPI_PHY_H
Signature · 1 line
1.8.4.2
PATCH 3/3 drm/tegra: Use standard GPL v2 license text
In reply to a message not in the archiveUse the more canonical and concise variant of the GPL v2 license text.
--- drivers/gpu/drm/tegra/gr2d.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-)
drivers/gpu/drm/tegra/gr2d.c +3 -11
@@ -1,17 +1,9 @@/* * Copyright (c) 2012-2013, NVIDIA Corporation. * -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions of the GNU General Public License, -* version 2, as published by the Free Software Foundation. -* -* This program is distributed in the hope it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License version 2 as +* published by the Free Software Foundation. */ #include <linux/clk.h>
Signature · 1 line
1.8.4.2
Stephen Warren
Acked-byQuoted 7 lines · Thierry Reding
The bulk of the Tegra DRM driver is GPL v2 licensed, but some of the new subdrivers were licensed under an MIT license. This was simply oversight on my part.
One exception to this is the public header file that will eventually be used within libdrm. Since all the other headers in libdrm use the MIT license, do the same for Tegra.
The series,
I guess this needs explicit acks from the following people outside NVIDIA who touched these files:?
Wei Yongjun <[email protected]> (dsi.c) Emil Goode <[email protected]> (tegra_drm.h)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · Stephen Warren
Quoted 7 lines · Thierry Reding
The bulk of the Tegra DRM driver is GPL v2 licensed, but some of the new subdrivers were licensed under an MIT license. This was simply oversight on my part.
One exception to this is the public header file that will eventually be used within libdrm. Since all the other headers in libdrm use the MIT license, do the same for Tegra.
Quoted 8 lines
The series,
Acked-by Stephen Warren <[email protected]>I guess this needs explicit acks from the following people outside NVIDIA who touched these files:?
Wei Yongjun <[email protected]> (
dsi.c) Emil Goode <[email protected]> (tegra_drm.h)
Does it? Those changes were mostly mechanical in nature, so I'm not sure if that qualifies them for having any bearing of the license of the file.
But if you insist I can resend with Wei and Emil on Cc.
Thierry
A message that is not in the archive (sent off-list or not yet received): 20140212191340.GB2424-AwZRO8vwLAwmlAP/[email protected]
Quoted 16 lines · Thierry Reding
Quoted 15 lines · Stephen Warren
Quoted 7 lines · Thierry Reding
The bulk of the Tegra DRM driver is GPL v2 licensed, but some of the new subdrivers were licensed under an MIT license. This was simply oversight on my part.
One exception to this is the public header file that will eventually be used within libdrm. Since all the other headers in libdrm use the MIT license, do the same for Tegra.
The series,
Acked-by Stephen Warren <[email protected]>I guess this needs explicit acks from the following people outside NVIDIA who touched these files:?
Quoted 8 lines
Quoted 2 lines
Wei Yongjun <[email protected]> (
dsi.c) Emil Goode <[email protected]> (tegra_drm.h)Does it? Those changes were mostly mechanical in nature, so I'm not sure if that qualifies them for having any bearing of the license of the file.
But if you insist I can resend with Wei and Emil on Cc.
Well, it seems simpler if you get an ack; that way it documents the fact, and avoids any issues in the future, irrespective of whether those changes convey (c) owderhsip or not.
I'd imagine you don't need a whole resend; just forward the email?