drm/tegra: Restore licensing consistency
v2 cover drm/tegra: Restore licensing consistency
From: Thierry Reding <[email protected]>
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.
Since I need to respin this series anyway, I'm adding Wei Yongjun and Emil Goode on Cc as requested by Stephen.
Wei, Emil, I'd like to have your Acked-by on this licensing change since you modified some of the files (Wei: dsi.c, Emil: tegra_drm.h).
Changes in v2:
- use the generic MIT license header rather than one modified to include Tungsten Graphics
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 | 24 +++++++++++++++--------- 8 files changed, 36 insertions(+), 107 deletions(-)
Signature · 1 line
1.8.4.2
PATCH v2 1/3 drm/tegra: Relicense public header under MIT
From: Thierry Reding <[email protected]>
This file will eventually be exported to libdrm, where all the public header files use the MIT license.
---
Changes in v2:
- use generic MIT license header (not mentioning Tungsten Graphics)
include/uapi/drm/tegra_drm.h | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-)
include/uapi/drm/tegra_drm.h +15 -9
@@ -1,17 +1,23 @@/* * 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, 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: * -* 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 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 NONINFRINGEMENT. IN NO EVENT SHALL +* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) 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
A message that is not in the archive (sent off-list or not yet received): 1392911292-6438-2-git-send-email-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Emil Goode
Acked-byRe: [PATCH v2 1/3] drm/tegra: Relicense public header under MIT
Hello Thierry,
Quoted 40 lines · Thierry Reding
From: Thierry Reding <[email protected]>
This file will eventually be exported to libdrm, where all the public header files use the MIT license.
Reported-by Erik Faye-Lund <[email protected]>Acked-by Stephen Warren <[email protected]>Signed-off-by Thierry Reding <[email protected]>---
Changes in v2:
- use generic MIT license header (not mentioning Tungsten Graphics)include/uapi/drm/tegra_drm.h | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-)include/uapi/drm/tegra_drm.h +8
-7@@ -1,17 +1,23 @@/* * 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, 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: * -* 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 shall be included in +* all copies or substantial portions of the Software. *
include/uapi/drm/tegra_drm.h line 21
Quoted 10 lines
include/uapi/drm/tegra_drm.h +7
-2-* 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 NONINFRINGEMENT. IN NO EVENT SHALL +* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) 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. */
My contribution was tiny, otherwise I prefer GPL over MIT :)
Best regards,
Emil
PATCH v2 2/3 drm/tegra: Relicense under GPL v2
In reply to Thierry RedingFrom: Thierry Reding <[email protected]>
The 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 v2 3/3 drm/tegra: Use standard GPL v2 license text
In reply to Thierry RedingFrom: Thierry Reding <[email protected]>
Use 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