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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 7FFE8C43334 for ; Sat, 25 Jun 2022 06:51:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7FD7C112E41; Sat, 25 Jun 2022 06:51:19 +0000 (UTC) Received: from mailrelay2-1.pub.mailoutpod1-cph3.one.com (mailrelay2-1.pub.mailoutpod1-cph3.one.com [46.30.210.183]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2A278112E3F for ; Sat, 25 Jun 2022 06:51:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ravnborg.org; s=rsa1; h=in-reply-to:content-transfer-encoding:content-type:mime-version:references: message-id:subject:cc:to:from:date:from; bh=HFniHlLmfzTToSpEzkeJKL2ucb776DqjYdS3khX9zic=; b=l5QtOytkZiMQ3yFeKJ4JwfE1vxDUC6ilV2G1dBjH7GBFxl3A47XfANlCdtpCfZlZIz70K+Ez7a2n0 GH6FyWnEjcd+OYnUmUxZPIDfWgPMDs9Q95wRgFP1NJAkt/cn8H7K8O9/vYxzL5Q5v4hCcjAIYjWtAM bx8blrvPUrrRA/if8P35otQvj9UfwKhtKFc8H9bFnX1OSvjOTNWjWjhVuU3RFLPgiEnoAkygwYt/d/ 4Dy6zBaIP/X62f2SQq6FA1XcFpo8bf5lH9XDJjsWzE+qrO54A5dyZEYOpFBv0bB62Rvkw4Cz3JqSGi Ig/X6pXgJ5i2Eg/rpyRk4RM9mNVYirA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ravnborg.org; s=ed1; h=in-reply-to:content-transfer-encoding:content-type:mime-version:references: message-id:subject:cc:to:from:date:from; bh=HFniHlLmfzTToSpEzkeJKL2ucb776DqjYdS3khX9zic=; b=TRNIYt4Fh7ZOyS08lP6/4pIEHmqHuePoL/VUInQV08Q2iljQPd9h2UMWO9svy77IKpHzGscasxOaf TVR5ewAAg== X-HalOne-Cookie: bfc0a2bc3181a7f8e1ada68bed8613c445e60fbb X-HalOne-ID: 3493d2ee-f453-11ec-a916-d0431ea8a290 Received: from mailproxy1.cst.dirpod3-cph3.one.com (80-162-45-141-cable.dk.customer.tdc.net [80.162.45.141]) by mailrelay2.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id 3493d2ee-f453-11ec-a916-d0431ea8a290; Sat, 25 Jun 2022 06:51:14 +0000 (UTC) Date: Sat, 25 Jun 2022 08:51:12 +0200 From: Sam Ravnborg To: Kevin Brace Subject: Re: [PATCH 04/28] drm/via: Add via_drv.h Message-ID: References: <20220624202633.3978-1-kevinbrace@gmx.com> <20220624202633.3978-5-kevinbrace@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220624202633.3978-5-kevinbrace@gmx.com> 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: Kevin Brace , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Kevin, A few nitpicks in the following. Sam On Fri, Jun 24, 2022 at 03:26:09PM -0500, Kevin Brace wrote: > From: Kevin Brace > > Main header file for the module. > > Signed-off-by: Kevin Brace > --- > drivers/gpu/drm/via/via_drv.h | 437 ++++++++++++++++++++++++++++++++++ > 1 file changed, 437 insertions(+) > create mode 100644 drivers/gpu/drm/via/via_drv.h > > diff --git a/drivers/gpu/drm/via/via_drv.h b/drivers/gpu/drm/via/via_drv.h > new file mode 100644 > index 000000000000..330ab8905417 > --- /dev/null > +++ b/drivers/gpu/drm/via/via_drv.h > @@ -0,0 +1,437 @@ > +/* > + * Copyright © 2019 Kevin Brace. > + * Copyright 2012 James Simmons. 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, 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: > + * > + * 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 NON-INFRINGEMENT. IN NO EVENT SHALL > + * THE AUTHOR(S) OR COPYRIGHT HOLDER(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. As a general note, can the MIT license be replaced with /* SPDX-License-Identifier: MIT */ > + * > + * Author(s): > + * Kevin Brace > + * James Simmons > + */ > + > +#ifndef _VIA_DRV_H > +#define _VIA_DRV_H > + > + > +#include > + > +#include