From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D0BEC433DF for ; Mon, 22 Jun 2020 09:25:33 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 60AC520708 for ; Mon, 22 Jun 2020 09:25:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b="fwT8J/3+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 60AC520708 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C4E386E0D4; Mon, 22 Jun 2020 09:25:32 +0000 (UTC) Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id B31036E0D4 for ; Mon, 22 Jun 2020 09:25:31 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id g21so10538728wmg.0 for ; Mon, 22 Jun 2020 02:25:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=kYACjSKc7kBwIgyJSLeNmla7BncwtBZMkMEVzJSYEZk=; b=fwT8J/3+qL8BpkQJGBJHPmbBj7Txozgx74DsEfJgxiLXJSQt0ME/bZEYc20s7hk+7e 3Ac9V1rM0ER2PlPQQ2zPsop5L2//pb2XxTx5hVgzRV1OOYXnGU9tDjoFMChWyDLroWAT lnl5sWJeLaX0sWzOUEQbOSYl4nlixlFWpgSQA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=kYACjSKc7kBwIgyJSLeNmla7BncwtBZMkMEVzJSYEZk=; b=hhXaNwYx0ndhq8jLCJnZqcbspWuceqiyEtKkUntVhvPPK8xb+SCibjGTcXhS0fNiIc USImZV5uSrWWuFfXCzQt5KyLCC9KmEImt4xSJmJYZRsWXZsrc5LiY8G/1obj/9ACljH9 RLCOCs9O6MxqOL3huRsTyuMwElXlh7UJWVo7yXK58hv1Ou+bbvALeejupmHhTfcfM2jS zKo5tl6fZyn58iPzkciBszBzG7yfzf6KLJQWqoH/aYp4Zl6/Gj57x/TmYQkkvchs3FvU r5i10xEa63GQcvChvY4uraREgnaUScooHozlGSw2wBhQzuvqWA9pz3Pb9njYJ0lTlzZo aV/A== X-Gm-Message-State: AOAM532KdxImlvbOWoCCviIdRDwHtLhk3/f/K0s0KGzv5TdEPoGS2l33 E42aJkFGShttxfK5rcjLS0F/iQ== X-Google-Smtp-Source: ABdhPJy8hUCRZOfsY0DWVJcOEt+p6hxVYJPFuixehc3tBpQW0+P7U4VQVqha5hGxPcXzXl4U6ytOQg== X-Received: by 2002:a7b:cd07:: with SMTP id f7mr6162727wmj.115.1592817930080; Mon, 22 Jun 2020 02:25:30 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id y80sm17101152wmc.34.2020.06.22.02.25.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2020 02:25:29 -0700 (PDT) Date: Mon, 22 Jun 2020 11:25:27 +0200 From: Daniel Vetter To: Laurent Pinchart Subject: Re: [PATCH 1/3] drm: uapi: Use SPDX in DRM core uAPI headers Message-ID: <20200622092527.GW20149@phenom.ffwll.local> References: <20200621020703.864-1-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200621020703.864-1-laurent.pinchart+renesas@ideasonboard.com> X-Operating-System: Linux phenom 5.6.0-1-amd64 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Greg Kroah-Hartman , Thomas Gleixner , dri-devel@lists.freedesktop.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Sun, Jun 21, 2020 at 05:07:01AM +0300, Laurent Pinchart wrote: > The DRM core uAPI headers are licensed under the MIT license, and carry > copies of the license with slight variations. Replace them with SPDX > headers. > > Following a discussion with Daniel Vetter on this topic, add a > clarification in the drm-uapi.rst file that independent closed-source > userspace implementations of software using the DRM uAPI are accepted, > as allowed by the MIT license. > > Signed-off-by: Laurent Pinchart > Reviewed-by: Greg Kroah-Hartman > Reviewed-by: Thomas Gleixner Reviewed-by: Daniel Vetter > --- > Documentation/gpu/drm-uapi.rst | 4 ++++ > include/uapi/drm/drm.h | 20 +------------------- > include/uapi/drm/drm_fourcc.h | 20 +------------------- > include/uapi/drm/drm_mode.h | 19 +------------------ > include/uapi/drm/drm_sarea.h | 20 +------------------- > 5 files changed, 8 insertions(+), 75 deletions(-) > > diff --git a/Documentation/gpu/drm-uapi.rst b/Documentation/gpu/drm-uapi.rst > index 56fec6ed1ad8..de2ecc76dd6c 100644 > --- a/Documentation/gpu/drm-uapi.rst > +++ b/Documentation/gpu/drm-uapi.rst > @@ -107,6 +107,10 @@ is already rather painful for the DRM subsystem, with multiple different uAPIs > for the same thing co-existing. If we add a few more complete mistakes into the > mix every year it would be entirely unmanageable. > > +The DRM subsystem has however no concern with independent closed-source > +userspace implementations. To officialize that position, the DRM uAPI headers > +are covered by the MIT license. > + > .. _drm_render_node: > > Render nodes > diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h > index 808b48a93330..14d57361e580 100644 > --- a/include/uapi/drm/drm.h > +++ b/include/uapi/drm/drm.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: MIT */ > /** > * \file drm.h > * Header for the Direct Rendering Manager > @@ -12,25 +13,6 @@ > * Copyright 1999 Precision Insight, Inc., Cedar Park, Texas. > * Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California. > * 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 (including the next > - * paragraph) 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 > - * VA LINUX SYSTEMS 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 _DRM_H_ > diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h > index 490143500a50..d2c4a597620f 100644 > --- a/include/uapi/drm/drm_fourcc.h > +++ b/include/uapi/drm/drm_fourcc.h > @@ -1,24 +1,6 @@ > +/* SPDX-License-Identifier: MIT */ > /* > * Copyright 2011 Intel Corporation > - * > - * 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 (including the next > - * paragraph) 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 > - * VA LINUX SYSTEMS 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 DRM_FOURCC_H > diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h > index 735c8cfdaaa1..c34a544fdf29 100644 > --- a/include/uapi/drm/drm_mode.h > +++ b/include/uapi/drm/drm_mode.h > @@ -1,27 +1,10 @@ > +/* SPDX-License-Identifier: MIT */ > /* > * Copyright (c) 2007 Dave Airlie > * Copyright (c) 2007 Jakob Bornecrantz > * Copyright (c) 2008 Red Hat Inc. > * Copyright (c) 2007-2008 Tungsten Graphics, Inc., Cedar Park, TX., USA > * Copyright (c) 2007-2008 Intel Corporation > - * > - * 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. > */ > > #ifndef _DRM_MODE_H > diff --git a/include/uapi/drm/drm_sarea.h b/include/uapi/drm/drm_sarea.h > index a951ced60ebe..1e38d028332d 100644 > --- a/include/uapi/drm/drm_sarea.h > +++ b/include/uapi/drm/drm_sarea.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: MIT */ > /** > * \file drm_sarea.h > * \brief SAREA definitions > @@ -8,25 +9,6 @@ > /* > * Copyright 2002 Tungsten Graphics, Inc., Cedar Park, Texas. > * 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 (including the next > - * paragraph) 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 > - * 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 _DRM_SAREA_H_ > -- > Regards, > > Laurent Pinchart > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel