From patchwork Fri Jan 15 18:12:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363662 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp88613jap; Fri, 15 Jan 2021 10:13:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3fHWtSiH7JQ6vuy+yojly3CAdflhhWOmCBEJeIx0yK7tRV3OmNUQgmGsDFk77BIKShkBP X-Received: by 2002:a17:90a:df15:: with SMTP id gp21mr11618850pjb.63.1610734408382; Fri, 15 Jan 2021 10:13:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734408; cv=none; d=google.com; s=arc-20160816; b=r7QVIeMNH7asOcaeKbG8nV49C6xPC13IE0FGHSYIvtGEc0suZs/SnNYbp+dlZ3iENk 61VvVW5li6D/J/bmck9FrJkfEuWOaH2ZGcEaZDn/TcOkPN2TyDu3ySOW69jiv6/tAzgE /Z4wgnYYlZulDOEOqZ++xyxeUb3sFWO2/9/PfuTXIPZdAFTDBHLueYe6PZspGkLGzRms mKTjm5Y0bJFXrZX4Uoec/rodkLakCQSNg50W2MDff7NCxHOTvZb5rZ6EtaM9LNFz+oPn Bc3DLSiB2l0+7DbXEAlHQWbYp6Qc7vwfdBgvoFaOwzJRiAMgB4Dh1tkJK5aiYOjQUF2o HHWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=bqJTW7SNSVJo2bWO8l9MQQ0/aoUEJtbShe4syGxEAHU=; b=Coitx/sz2FrIN1iVhAkjRS010M1nHZ2ovoKd+js2udcT4pANkOG4PqMTiJmuHwuwko 1uSG5wSg8ATijvl4GKGKNT8AAvtNugZIKdeuhB0ivoLoEFo9gG7IUGXS+vi6BevuhWAv i5N7IRwef19q819WWzGFcXiP1s+fR2/yCrnUBTgB44I9f4y/1lB2ICJ4sj7+IhLx5jdT OG8WzJcl7k0baj2AY1LCKzpmlQbX7neNij8dvv4VmK3uWBR1IT9/uU8gvcf+lgPbPxUm axAvnAkA6BCvBq1Jlq1QVxgoPBN7bnLcorW0/Ohxe2Ww4kslCvJ8RCc9lk2zFPIPe70E 65vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=tdtp5zVr; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id q12si10261665pjl.3.2021.01.15.10.13.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=tdtp5zVr; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 04B846E0CA; Fri, 15 Jan 2021 18:13:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2DE416E0CA for ; Fri, 15 Jan 2021 18:13:19 +0000 (UTC) Received: by mail-wr1-x42a.google.com with SMTP id a12so10177822wrv.8 for ; Fri, 15 Jan 2021 10:13:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=i/V01bC2aUdNKYNoe3MIVez12Kd/PhheE7jFqPPyQbE=; b=tdtp5zVrXSZ9xCEWq4wDPWmDszIKiusvcCkT6+xOPlHugBuesmhOgr3x1e4Z1OvImt YBwqb6DRNCPOoNnezFV4nQx8TcVWfiHyn1lz8M4xrPH4DJi5oPAofFeKZcXTlbkFMiYC uiVEGcGwGl2hIiDmeJ1sB2lVCBzc5Yi12NMoCTclsFDsYOwl3ulgHNosfoEeFZtm4Ept TK4A8V+lCzJV4yhbrKF3ikkh+h3v2S370L1myjRFFVbW1/TKrLROLVRXtwlkevNxDDLK VonyoP1VxEhoJbflJ3z5jzdRX9JPjqbg5KlCZ0aBbZTT6bSh50NemXefSKW21TW3Fig1 8leg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=i/V01bC2aUdNKYNoe3MIVez12Kd/PhheE7jFqPPyQbE=; b=Ld42egukPmZAZC8VWylXnaV/WIFIsIuwsmIHWMbA44I43gemnTPZYw4RCR6ZPijW3a NM3tJahcc6JCZUxSb3KFR0zf7f3swVx94Ik4q8hpNGqyOPJbOi026Z0VaMWD6hYBLuKl mDu/HiubVtA5kU/htD1wQfcDhxX/I1qNDeSHZ9+RxM0iNZk3PrZXKO2xqFekq3+b7Gq8 zHS5VbqcOiyLCbrtgxOOY4N1bT5ZdqtavvKgps0j4hQPCdflM/Cs+SSkL0c+9ZbIYE9W QEeX7oR0+jhpo3kbC9VFt8NSgJJ0R4w//XurScaDJnlDK3QuVL/nTXurusDBnVyGnHay 47cw== X-Gm-Message-State: AOAM53189arNUrEuKyB8tlJ0HjH4DFBBQkJTr0TDF94n8BM2uSJBoO5c MxFZIgIzKRWlaG2nE8PBu9oGaWjtBeQiBg8N X-Received: by 2002:a5d:4307:: with SMTP id h7mr14649674wrq.353.1610734397874; Fri, 15 Jan 2021 10:13:17 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:17 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 01/40] drm/r128/r128_ioc32: Document headers do not make good kernel-doc candidates Date: Fri, 15 Jan 2021 18:12:34 +0000 Message-Id: <20210115181313.3431493-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/r128/r128_ioc32.c:2: warning: Cannot understand * file r128_ioc32.c Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/r128/r128_ioc32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/r128/r128_ioc32.c b/drivers/gpu/drm/r128/r128_ioc32.c index 6ac71755c22dd..187bdc435cb54 100644 --- a/drivers/gpu/drm/r128/r128_ioc32.c +++ b/drivers/gpu/drm/r128/r128_ioc32.c @@ -1,4 +1,4 @@ -/** +/* * \file r128_ioc32.c * * 32-bit ioctl compatibility routines for the R128 DRM. From patchwork Fri Jan 15 18:12:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363663 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp88651jap; Fri, 15 Jan 2021 10:13:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJwIwEE05FZWF9eJTF8B3aPnnN4jwHB2lZTGm7TI/UGU48z+8RVD5LpfAY8WCMImpeFUPxPq X-Received: by 2002:a17:90a:5d03:: with SMTP id s3mr11394117pji.150.1610734411861; Fri, 15 Jan 2021 10:13:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734411; cv=none; d=google.com; s=arc-20160816; b=GBJEBUFHH6LsicVJ2SEqwu1veBL4lBH8SPG3Yl3u0FpoUF3tly6sYde7/n7iJBBmYM +EKgABj+80aUOGkJIuGDyyAZKAELPi3xvgeRGpmyo8A6nAS08qbLl6ZGWGFA5WaOtAeS rbo5ucAhqVzXOjbGfj269Hl33BjMdyENA8lWC2bZ1pwxUacIiidDZ9rqweYgU1JDCxqb Fdf45Wj8KxUeZ29x22kbmIiSyFnQN0lDPWtKD/i0/c9K9dQkQyslP2Na8amG84QtWGZN dlwH4OtReGbd6TDX+d/R10ieUCyrt+v2+UXLTJcUVMZTHAaUn2vXtPsBvHbrCyeKzpBj /6lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=ed4XjfsRufLJyv8QzZClSK3a9l6PMXzE0cvIOtFlfQ0=; b=P1+UQo3IeANqx72ndQsGjF4oB51Rxy8SUC/y740dZcYyV0Yz+07P45DM3E8ZdwNy10 1d0SzNkB+PZrBMv/sMa2D8ZqXIq3fQRHuEevRjzm0V2Gz69J1IF8TqUsKPU94Daos0WF I6wYGV67NspcoIJaL9IFixPvJEuLaDBEIA+RUrRL4HVVM538AFmIhBxGRy3G2nMO637i RMfcMPxibjUfjVa9P5Yna94aiQcOv3SgLENW+5JkgE5wNqxC8XhYWF6y5Sm5N7nsGGgC rd5szBDNlIOksMRPGLHCKthlDHukCl0IxMJXfF8Aiif7A9lNMf48vU4D8aaNSnh6EYn3 iN1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Xu1ET1nm; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id p3si10338558pjn.75.2021.01.15.10.13.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Xu1ET1nm; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 34E136E120; Fri, 15 Jan 2021 18:13:24 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5D5076E0CA for ; Fri, 15 Jan 2021 18:13:20 +0000 (UTC) Received: by mail-wr1-x429.google.com with SMTP id y17so10189069wrr.10 for ; Fri, 15 Jan 2021 10:13:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jZXgyLMN5uQO65wHWj6R5etzWm7XSdTARLD88YxZwNc=; b=Xu1ET1nmvjXAUY6crjgaR39cbqwSVmVo2ScDDgeSRVpgynPUOLLekfR/OCdafkS4hP bfhZawflBkkwYwH2VwzGuWy7DCzAd4ZXKoH/q6aLI5a8/rpVnORkJKn+QZaWpKiLlMre 9miXu/DVCub/uSXDfBagraPMWIufaRC8UzzkiGX+Z9/fOFXq0TU6jnlEkURMsIBcpd4+ cQ2RbBCZlLwZp9dPYyyKEg8yKxrNT9cAur22wGnT0TZe5xSCwkEk+9mlbIt1w5G0eexA PzPxXN5op6KJ5MhfYL7nfl0Ig7vQzhqQh3mPBU42Ge7Vdg8v6svlDSlCkajtjaeqjW5C m+DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jZXgyLMN5uQO65wHWj6R5etzWm7XSdTARLD88YxZwNc=; b=adq4lj07Otwbg7dXAnqiu2G7ZLaWD0q7xLukpAQnPEaAN8tN79MSE6BaMs410nW7Eu w3xJAgLoMorE7S23ltpkgocvie198UoHUAq2XwbKMDjzWTCSSBEGHTc6HicvJC7B9yZb SvR8B0KADcNJBOkr04Nscjt93Wc3ExU+lIQhhewuh8Vqo9CA7r9S5v/PA1okqZ0U0ckO B9HFupL/N1hZXAY3/tm874WAW01bDH6p/O1AahFQNXaMW7hxTQihA9AGL9NDW5zFKRgS lkyWDOAiOYlJZN5q5M5SgprTvZDo1RC4ZxM7GZuqv979HFgKk7pTqckbIGeo/zHeg7R0 dcRA== X-Gm-Message-State: AOAM533oHkhYX9GIr6zeSLB2jn/sKcpYyLKHQBTQxZN86cas9Hhv7FB1 WvvgnlloKoPmT6ua/kfb2VGGSA== X-Received: by 2002:a5d:6a4c:: with SMTP id t12mr14481400wrw.249.1610734399016; Fri, 15 Jan 2021 10:13:19 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:18 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 02/40] drm/mga/mga_ioc32: Document headers do not make good kernel-doc candidates Date: Fri, 15 Jan 2021 18:12:35 +0000 Message-Id: <20210115181313.3431493-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/mga/mga_ioc32.c:2: warning: Cannot understand * file mga_ioc32.c Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/mga/mga_ioc32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/mga/mga_ioc32.c b/drivers/gpu/drm/mga/mga_ioc32.c index 6ccd270789c6b..fd2160ea71fe1 100644 --- a/drivers/gpu/drm/mga/mga_ioc32.c +++ b/drivers/gpu/drm/mga/mga_ioc32.c @@ -1,4 +1,4 @@ -/** +/* * \file mga_ioc32.c * * 32-bit ioctl compatibility routines for the MGA DRM. From patchwork Fri Jan 15 18:12:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363667 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp88820jap; Fri, 15 Jan 2021 10:13:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJxqioyfFCfkX0kb8qF8kki/jgFVekHBq3qNxkN81N93oopJgXfO9t5nsOsjY4xOOA3uMsTD X-Received: by 2002:a17:90a:430f:: with SMTP id q15mr11822470pjg.218.1610734421855; Fri, 15 Jan 2021 10:13:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734421; cv=none; d=google.com; s=arc-20160816; b=bUwRYNMMDHjJyHNH+lR3FFijTrk0JsbmOelWfCzZod4MUWgzdKYDDy4zpDTb7FqoPe XG3VM3OsZF+7wgYd/+GegvUtLwQYHcJTokK3J4U1oerAEkGWGoiJIeUwAyR8pVqaMNE6 PnvaiPFeABAJxr9xz5tipOIY47QPX6RzkpunIv1FA8+Mw8cwNdYh+o1XsVsR0SFOdPbS 0TEp7QwVxt0c4aGp3Gq3Q9f/eb9DKxk8FcS2nEu8iN5fU8JfqbFfa6IyQSa5uEdeEW3f ydnMRdLIKw1Ec8IV91LTp55SaVMMdZsbvYnSU3sJIxo8gz7Xe4KqJ6EnQgnoIPm/pO3s faWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=lTrKgQQxnL2CQbqRxPlRcVZZnHMzZasv4RzA1faeKf0=; b=HZCeOC8hJgIhJ1l42Xe9cGCmRu2m4csEOV1vqWJsoLZT2THxr5qQNjU2zKYhaHhuVm +p7FhZw/z8I/CyzTR/h7xRrG1+b3fOIixJ9/DYE64yb+b3sHc6tEkp4AHbcqy8gk7WfR eCPoj7iSkxzKB5mXn5RfIh1Vdw5XBbBPrEk872vrg4vqrR5BnjJyZP+QNWcuT+xbFxwq PPDNIHl3VhwbNBoRmdmN0IwHtgiGvAhA6UE8oxRkYRf3uOAj7avtnn7yCeLTetG3bFKp wVrbrQ1N50fRBB1spSquy5uD32TyfzSaerDvELIzT37JdqjwLr6oteQk5/AJ1mDzvvQk S4rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=HWECHTiz; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id i13si10639988pgf.34.2021.01.15.10.13.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=HWECHTiz; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8E48C6E471; Fri, 15 Jan 2021 18:13:31 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9EF406E0CA for ; Fri, 15 Jan 2021 18:13:21 +0000 (UTC) Received: by mail-wr1-x434.google.com with SMTP id c5so10200366wrp.6 for ; Fri, 15 Jan 2021 10:13:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AAulnEPH2cuzAQ+QE1skPa/vRaGeTOHaeG3APrLY8jg=; b=HWECHTiznfSDEFUnhR6yHMWFXZkOVsFdiCtVUsuRrlYB81kcXzwAYL/dwDStIkFQbq w51jc8DJRNf/zRNcDUz7Qp/4WyP5zAYg/fpQSHyDxtJItXwVBbykBTSEY16yGtHgNYmq WDXERBDxRky0v3qiA1GPoyPOHMfR1EIdghWZQChS8XWjPRnY54Tqjd70ZMF0QQT0+lyD gwvbHGqvPixJKyuEACIczrLieROzmeO0OwuSn7VJh6paOjfC+Zg1qBJLdAv0RqmcDVAn MHGs4liNHWHLfPsxNAGmfOFqwC+/Ymvm4e48P6OFyYlUp7TWoiT1E1dne1FTl4oG1nyM j18g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AAulnEPH2cuzAQ+QE1skPa/vRaGeTOHaeG3APrLY8jg=; b=mo+ki4lFncWkfLM0qy8YSXqT19Bu7AGVZzmi8I2eQQE/F254DzKGrrXJuQpoQqVPmo s2nZ0dkc85qLWeKjJeqwnw6Um6luLTpqH1G/MireQ2vlnBnvcpRrtXKbJFxFZ82HNtJt Lexd2Cb3f4kJtsQBLOSMeZ9Ba0ardeT1c8UiO1VH2ZbRhoxVi55MMqPldjPHYguDqjkQ Teh9XS1/vPCntz8132/DD9ocotHwazUHIKdIEQU0bqn9HUtRyEGGKe52VBvszNtseQ5G Zk4aZRJ6g21OCIXCWoLb3sD71W0n30WvmJPXsyi5IpUAxnkenQkAXcnRXEuaGUQVVdxH aTag== X-Gm-Message-State: AOAM5314sS4yaVCIPSjxB+muNLo6giK4DOScFZWWsrzVSRn/YchYEP94 wfmpUv2LVKKqUBWbRCe/hhNHNw== X-Received: by 2002:a5d:6cd4:: with SMTP id c20mr14443657wrc.57.1610734400384; Fri, 15 Jan 2021 10:13:20 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:19 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 03/40] drm/vmwgfx/vmwgfx_execbuf: Fix some kernel-doc related issues Date: Fri, 15 Jan 2021 18:12:36 +0000 Message-Id: <20210115181313.3431493-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, VMware Graphics , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:89: warning: Enum value 'vmw_res_rel_max' not described in enum 'vmw_resource_relocation_type' drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:136: warning: Function parameter or member 'func' not described in 'vmw_cmd_entry' drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:136: warning: Function parameter or member 'cmd_name' not described in 'vmw_cmd_entry' drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:212: warning: Function parameter or member 'res' not described in 'vmw_cmd_ctx_first_setup' drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:523: warning: Function parameter or member 'sw_context' not described in 'vmw_resource_relocation_add' drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:523: warning: Excess function parameter 'list' description in 'vmw_resource_relocation_add' drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:653: warning: Function parameter or member 'p_res' not described in 'vmw_cmd_res_check' drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:653: warning: Excess function parameter 'p_val' description in 'vmw_cmd_res_check' drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:1716: warning: Function parameter or member 'res' not described in 'vmw_cmd_res_switch_backup' drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:1716: warning: Excess function parameter 'val_node' description in 'vmw_cmd_res_switch_backup' drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:3757: warning: Function parameter or member 'file_priv' not described in 'vmw_execbuf_fence_commands' drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:3757: warning: Function parameter or member 'dev_priv' not described in 'vmw_execbuf_fence_commands' drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:3757: warning: Function parameter or member 'p_fence' not described in 'vmw_execbuf_fence_commands' drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:3757: warning: Function parameter or member 'p_handle' not described in 'vmw_execbuf_fence_commands' drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:3954: warning: Function parameter or member 'kernel_commands' not described in 'vmw_execbuf_cmdbuf' Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: "Christian König" Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c b/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c index 462f173207085..7a24196f92c38 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c @@ -80,7 +80,8 @@ struct vmw_relocation { * with a NOP. * @vmw_res_rel_cond_nop: Conditional NOP relocation. If the resource id after * validation is -1, the command is replaced with a NOP. Otherwise no action. - */ + * @vmw_res_rel_max: Last value in the enum - used for error checking +*/ enum vmw_resource_relocation_type { vmw_res_rel_normal, vmw_res_rel_nop, @@ -122,9 +123,11 @@ struct vmw_ctx_validation_info { /** * struct vmw_cmd_entry - Describe a command for the verifier * + * @func: Call-back to handle the command. * @user_allow: Whether allowed from the execbuf ioctl. * @gb_disable: Whether disabled if guest-backed objects are available. * @gb_enable: Whether enabled iff guest-backed objects are available. + * @cmd_name: Name of the command. */ struct vmw_cmd_entry { int (*func) (struct vmw_private *, struct vmw_sw_context *, @@ -203,6 +206,7 @@ static void vmw_bind_dx_query_mob(struct vmw_sw_context *sw_context) * * @dev_priv: Pointer to the device private: * @sw_context: The command submission context + * @res: Pointer to the resource * @node: The validation node holding the context resource metadata */ static int vmw_cmd_ctx_first_setup(struct vmw_private *dev_priv, @@ -509,7 +513,7 @@ static int vmw_resource_context_res_add(struct vmw_private *dev_priv, /** * vmw_resource_relocation_add - Add a relocation to the relocation list * - * @list: Pointer to head of relocation list. + * @sw_context: Pointer to the software context. * @res: The resource. * @offset: Offset into the command buffer currently being parsed where the id * that needs fixup is located. Granularity is one byte. @@ -639,7 +643,7 @@ static int vmw_resources_reserve(struct vmw_sw_context *sw_context) * @converter: User-space visisble type specific information. * @id_loc: Pointer to the location in the command buffer currently being parsed * from where the user-space resource id handle is located. - * @p_val: Pointer to pointer to resource validalidation node. Populated on + * @p_res: Pointer to pointer to resource validalidation node. Populated on * exit. */ static int @@ -1700,7 +1704,7 @@ static int vmw_cmd_check_define_gmrfb(struct vmw_private *dev_priv, * * @dev_priv: Pointer to a device private struct. * @sw_context: The software context being used for this batch. - * @val_node: The validation node representing the resource. + * @res: Pointer to the resource. * @buf_id: Pointer to the user-space backup buffer handle in the command * stream. * @backup_offset: Offset of backup into MOB. @@ -3739,7 +3743,7 @@ static int vmw_resize_cmd_bounce(struct vmw_sw_context *sw_context, return 0; } -/** +/* * vmw_execbuf_fence_commands - create and submit a command stream fence * * Creates a fence object and submits a command stream marker. @@ -3939,9 +3943,9 @@ static int vmw_execbuf_submit_cmdbuf(struct vmw_private *dev_priv, * On successful return, the function returns a pointer to the data in the * command buffer and *@header is set to non-NULL. * - * If command buffers could not be used, the function will return the value of - * @kernel_commands on function call. That value may be NULL. In that case, the - * value of *@header will be set to NULL. + * @kernel_commands: If command buffers could not be used, the function will + * return the value of @kernel_commands on function call. That value may be + * NULL. In that case, the value of *@header will be set to NULL. * * If an error is encountered, the function will return a pointer error value. * If the function is interrupted by a signal while sleeping, it will return From patchwork Fri Jan 15 18:12:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363664 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp88699jap; Fri, 15 Jan 2021 10:13:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJzBjvep3ct2JQgHUmHgazB4jWKkoMC9ND4pkgx9z8Y+LxU3b/YCguJIl7MymkPQhPxA5lVt X-Received: by 2002:a62:80ce:0:b029:19d:b280:5019 with SMTP id j197-20020a6280ce0000b029019db2805019mr13960789pfd.43.1610734414810; Fri, 15 Jan 2021 10:13:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734414; cv=none; d=google.com; s=arc-20160816; b=ivNEqA9lftv4oH0eUCJnj7DvuJPngn3nX+PqrOE0nSWXIqbEcgnOPqpYO9sKJpGrlL E0moBSQZVUjfigfgB7Wtmd6UdZXRlxVczkfwx0kpLzLDnvMWrJXmYvcw7O+t8BE/vNjT BV2WAhQrElv/IJvEvNBhHrxgayJbM70x5/V2aWz8pzZLZNnD4cf27oRq5/B/0bsqL8EZ QGj0vbTRznicnie9QP0sUnvad9ubpZHww932AypjjdPz6Mjxq+datAhRGCb6YT4sNCmN vIQmNQ7yS3EVNUWEjEDx39s6erNk/8/Cs506DuEtVATi0rP51Y5KgF5nDHPlcqmH/OSr rWWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=wim0xuiN4M9H39Q1YG68w7utsunJ5+3Ey/NQ/pUDx7Y=; b=ofWkwRyKtXYq88e1mPulb65T2R1nIGmK8/RgLxdgVVKBqBOlE14TN25yxLBjERu+nk //Qjgnnz7AOR2zPmUyqr4Fn9OdC6fZQEvd3Q3E9C059a4oNMWo3tZ3NsXc2O/GTHDKM+ czTUUfAd+SjzcGO5wT2Xn7gRxYf0yAmLuLSyjwwpbnBv6wNBOQMNL0IFYlCsoSzYtBPE TIiKMExRfRfnuO/Altz1BkkXdlas4T8VSt3p00YNqd4+oUrR3cC/0Ky79gKwdBlRYllX ZtgWz4cnckYAVppKJFy8fMIiEWDHnj5F8TAP1kZ7u0GxpoB4ORSkp5A7frMaDXFUC6dY 6INg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EXlvQ1xk; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id 17si10399427pfj.43.2021.01.15.10.13.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EXlvQ1xk; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CCBB66E42C; Fri, 15 Jan 2021 18:13:24 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by gabe.freedesktop.org (Postfix) with ESMTPS id DA8316E42C for ; Fri, 15 Jan 2021 18:13:22 +0000 (UTC) Received: by mail-wr1-x435.google.com with SMTP id y17so10189194wrr.10 for ; Fri, 15 Jan 2021 10:13:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=A6joXVovshGu0VUNPPEN8i/itJp2RBRid6Z1nZigsRg=; b=EXlvQ1xkuYaB0Z7MdEmm5WdvyxotwscXh8F9NHedDJhTWXPeZU2gdBVPYu2OMHO23K dJ1ancfIwxMzShrNifaoMD53u0iTsFUFLLs6DAH9RK+2Q52Dm1lQUbrkxG0psDGfvKZQ 1q23GTqrN2ZlUI1/IGj7veXKtmNjfJrkK8xDHtZ4QHbvzK4yxaf0me/Bu1PmlP/rH1D5 HjTLgfrnW1un6iLvAUuHfNUXBa5aGyYYh68Akri/+EqvSmQqc3TTb0ka82S/NodzUXbi 50Fpepn8Iu6zfCgWWi5e2tJ4pPnKvyPkYTsgOxqzq3X5UIpDk/eC4DdZt0G0SexixD7z o0kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=A6joXVovshGu0VUNPPEN8i/itJp2RBRid6Z1nZigsRg=; b=F5A6gRcQGwq1GdtzvjHFxCclAnQSYmSfwkhYnv8uj8j03Vm6Fyx1SwNhWjpR0xr5m1 ayci6iNgpgaXuLP6iua9hC8zriIPFFZTf59SLsor1eadBoUTaM5T6e+Y0NVm8y4CzU2g oqK2dqmSt5cBdwM+raR9++g1M3HXkNJhENdznxwkt54O3ljgzpWC+gl6C7VPdhvHdks1 LT1nuEJIrNPjVB8ceCk6Y/kNMku5uhbiA4rXX3FvOQ5A2+3IHbz1gUVBgGmNLlxA5+sP 2MBDB/8mJK5FgmkGC15jSx5dznG6rRqFe2hk2ORazJTWGjUjfBWdnzOUo+qBEfPBq5Td lkig== X-Gm-Message-State: AOAM5303M8ruScbJKctZGFbQa1fiD50xaRbBEQQJZP7YhRUuwWC7ohcK mEPNk8VPp/LoEZhKYhmnWHma9A== X-Received: by 2002:adf:eac7:: with SMTP id o7mr14550950wrn.23.1610734401637; Fri, 15 Jan 2021 10:13:21 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:21 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 04/40] drm/vmwgfx/vmwgfx_kms: Remove unused variable 'ret' from 'vmw_du_primary_plane_atomic_check()' Date: Fri, 15 Jan 2021 18:12:37 +0000 Message-Id: <20210115181313.3431493-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_kms.c: In function ‘vmw_du_primary_plane_atomic_check’: drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:460:31: warning: variable ‘vcs’ set but not used [-Wunused-but-set-variable] Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c index 9a89f658e501c..9293dc19a7683 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c @@ -453,10 +453,9 @@ int vmw_du_primary_plane_atomic_check(struct drm_plane *plane, if (!ret && new_fb) { struct drm_crtc *crtc = state->crtc; - struct vmw_connector_state *vcs; struct vmw_display_unit *du = vmw_crtc_to_du(crtc); - vcs = vmw_connector_state_to_vcs(du->connector.state); + vmw_connector_state_to_vcs(du->connector.state); } From patchwork Fri Jan 15 18:12:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363666 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp88793jap; Fri, 15 Jan 2021 10:13:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJyQyXCKdoRGewD6FaviyZv7+fIYyzTcXJXkdI66V5awbZ2J+PMB56ylRPG6wied9WRS70Wz X-Received: by 2002:aa7:85d2:0:b029:1a2:73fe:5c28 with SMTP id z18-20020aa785d20000b02901a273fe5c28mr14030198pfn.40.1610734419798; Fri, 15 Jan 2021 10:13:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734419; cv=none; d=google.com; s=arc-20160816; b=HWLoMPzCTOGSrKNUJRgFcvNqOTG2yZPYvacDi4Fj+Vtig/5mPmka8+i+KMkNByPpBd E2c3H5G7TMDeEd9YKrOcu4bnRpHiGk27mIOXSa4c3ViAjcFRnDwWFUCgXxt+6ixbp/8a GQ8DlBQXpiTmb20wJO6aL9v5yZkf6M/P1lFd72iBQ9JLNs7ddHOYcSf6RrGzWCjQOu6G OKIbNx10uxGNHn0Xn4TcH0V1yb8CqyyWtpS2Zmwc+tbAApz+Khd2Y4cXuAE9FgiKjbCs zlqUWyTOJL23edDVYhvb/YWqOqhGAApQMZSwo9w/BI9IUoUyw0lrHPFLduRPP6StHwIV G1rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=QX3xLlcTo5hkNZA9BhC00wbnXKH6JZ0P/qdWZD9WA0k=; b=aJJCwAiI5z2rKASek2seByc+3UgZ4WNwcBMihBy+/504kSwnSZpDc69MoqQhpPeljg gafuUxxhHIt7chUrNRs4mCumxqyWhNbCLqwk5zgvWee5U9WHjZUNEFekj3+6k8KKu0nB FCEOJZHd1mPlEljZqBESJQ83L/ZM/IZqC/5l3vQFlMEKpGyDV4s5HKcOcbkJBS0LgdhJ ARyzFZRJWmggU958yYWBLWOr42coqL7sOKOy7XfB++EKRgYi5tElJo9nJ5Ea6j3wzX/1 5dKSFZnLuQSmPcZOK7c3gGf0gl//uTZFql6JkLW1QUQJx+IVBfHce2LgaVDQfGOqj57b 4rgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=LxwyehuC; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id lr9si10284484pjb.72.2021.01.15.10.13.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=LxwyehuC; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6DF986E45D; Fri, 15 Jan 2021 18:13:28 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by gabe.freedesktop.org (Postfix) with ESMTPS id 50FE66E42C for ; Fri, 15 Jan 2021 18:13:24 +0000 (UTC) Received: by mail-wr1-x435.google.com with SMTP id l12so4976510wry.2 for ; Fri, 15 Jan 2021 10:13:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=K2J3GjpOO3HekYRLC9b6PVtgl9N3gd4w+azAVwpWeog=; b=LxwyehuC8GrWwvLbGs+Rh5yjqTjMc92zt0+XsCWcB2L6OviLjYZJ+vhBjbplszNCXn g6TyGID0z2rgR55jgd2irYjclgl+gS0Jqnisd8W2QFF8g1EtL6hZu2p57vGbErjXtCbh FQB1weosVOThVbi05jFtscL+11qNHfhw1DZfFu4Rqp22rz+Q2TxSRx9vgqHlaaH2pQjx r5LyEptMvzxNzv/Au4o2h/UsGeDxr/p7tv9/ip9axINBqq9d/tuojLnV4JwHHFYOgL67 zn36WMzXqgJ+z8DBDANHuLJcsV4OOEsOCWwOYWfeoRnL6u0C1MZjtX0kdt8k8KHMCIs8 gGGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=K2J3GjpOO3HekYRLC9b6PVtgl9N3gd4w+azAVwpWeog=; b=L8SVeH+Ege6oJ6pW5JLLUcjnh9uSCYKsjiSgIsBisMClSIK246hMnUJOqbtYN5/4y+ nQ1eZ/gEpLkhv5Ue+CEyALvvZzIuL4J/E9m5J5nhb4AQ+LecoDRTcK5mCXAsRusyvjqr r8pBAeO6nKOH72gMLNwliHACAe6NWFgFkc0R1ItZlqFK7+EQk4HBnPYqHzj6LnZVsS7U ybjo9sq24uiNgna3br5/7F04wimSwa4pnCncPOntFgj1ITjoJfrlAzqgyias9gi0FpYW GaRNzzUxtedv7pX0E1J6FTlUl/l350UDYlUGXFmqJEZK8UBPZWHMqwxGVSdfAd6J57x9 4quQ== X-Gm-Message-State: AOAM531cguufKJnP7AWHalP/lkbqDXO36DajU8egjys2zMrfhtO75+LB c5fgLPaDVxB/l5r1E2mX9+irjA== X-Received: by 2002:a5d:6884:: with SMTP id h4mr14406677wru.174.1610734403031; Fri, 15 Jan 2021 10:13:23 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:22 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 05/40] drm/r128/r128_ioc32: Fix formatting issues in 'r128_compat_ioctl()'s header Date: Fri, 15 Jan 2021 18:12:38 +0000 Message-Id: <20210115181313.3431493-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/r128/r128_ioc32.c:182: warning: Function parameter or member 'filp' not described in 'r128_compat_ioctl' drivers/gpu/drm/r128/r128_ioc32.c:182: warning: Function parameter or member 'cmd' not described in 'r128_compat_ioctl' drivers/gpu/drm/r128/r128_ioc32.c:182: warning: Function parameter or member 'arg' not described in 'r128_compat_ioctl' Cc: David Airlie Cc: Daniel Vetter Cc: Lee Jones Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/r128/r128_ioc32.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/r128/r128_ioc32.c b/drivers/gpu/drm/r128/r128_ioc32.c index 187bdc435cb54..cdeb1db872226 100644 --- a/drivers/gpu/drm/r128/r128_ioc32.c +++ b/drivers/gpu/drm/r128/r128_ioc32.c @@ -170,13 +170,13 @@ drm_ioctl_compat_t *r128_compat_ioctls[] = { }; /** - * Called whenever a 32-bit process running under a 64-bit kernel - * performs an ioctl on /dev/dri/card. + * r128_compat_ioctl - Called whenever a 32-bit process running under + * a 64-bit kernel performs an ioctl on /dev/dri/card. * - * \param filp file pointer. - * \param cmd command. - * \param arg user argument. - * \return zero on success or negative number on failure. + * @filp: file pointer. + * @cmd: command. + * @arg: user argument. + * return: zero on success or negative number on failure. */ long r128_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) { From patchwork Fri Jan 15 18:12:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363672 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp88984jap; Fri, 15 Jan 2021 10:13:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJyuq6tp/2KB8jv4rNXAxDmQ2SXdhv0hBw3Jd1jsIaJ9TSYfQc6M9nHyAY63vl04NKzqz9lZ X-Received: by 2002:a62:d142:0:b029:19e:6b61:7f80 with SMTP id t2-20020a62d1420000b029019e6b617f80mr13743808pfl.9.1610734433078; Fri, 15 Jan 2021 10:13:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734433; cv=none; d=google.com; s=arc-20160816; b=0L75O+WYLzCKSus8TCaRIfByUFfxb/bZ8potTrE0YqxxKgbWH0sIN4Bt1A84/EP0Tc FlcXNtaV3bBzW5FOXTzpMOHbrF/k5O/ThZ37sOXY5SpXY3ThaEvp9TF/dZmCymSe6udE N9FvaRXYGzKzEQBW04B2FIN1PuqMbecbxibf0Mg3G7iiAITroWbrYEh+hWWN6Dm+jBB6 JTvVtYVKBlXokP8afoRPlkSIrQcFmnOYU42B+6hjdaA/GWtUlsCGo6yATEA+UwkU4YZJ eIUTzPjOvKGAbgch5A3wHkLJUAzQ1xj/V65h//7pOQXH/7N9yFXqoWAWjhhfDxIDxjoN Vf8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=wz1MFhOYUIAvc/UyuRhA3CohtDY0jhProF8kUBdbjqQ=; b=DO9wWUnGtks1gjKqyBAELxgE/5Z8vCYTwnue9BGPKhYjfHYxmxsVIntDcC1QMuZH+2 +pTSb/c4A0VUj+kMgI28dmoFPaI0zYHPNpl7KM6FfflAMLiwPONOuEwph7FN2L/N0pxf ntL1IBZBcOlQuK5U2GFHk4tzwtuzPhP4TKNS5t2vveF9tA20T6+j0JnMm77EiivogDeM 5TCcvXDbEtmbjKMPLWqRiNqHZgyHnd65immRFjXRMpvGfnzfvXI6fnwkmzO3PuiyElZV ut4dk9k7G4tdNEZ7N4gvrLdEFDBAg2vVKBJPaOpUGWbGnLYpAHxJCabfDVwdyEapKYxr D9LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=xZIH7SwI; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id j12si10489213plj.266.2021.01.15.10.13.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=xZIH7SwI; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 18BEF6E47B; Fri, 15 Jan 2021 18:13:40 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8219C6E457 for ; Fri, 15 Jan 2021 18:13:25 +0000 (UTC) Received: by mail-wr1-x431.google.com with SMTP id c5so10200533wrp.6 for ; Fri, 15 Jan 2021 10:13:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gpHmuC5+6mrLTxCF96eU2jys1HshdL5VNQtWWDrXTEc=; b=xZIH7SwI6Fbbu2RKOQ3Emd0mDzyDXntheoo+T/kqfqEo8d5VJgHNI0gYye37CB7WwI T6Fqnprv+zHjajpyH+7J0eE5X89LiDsWKh5p43VT1uK9niZVeF6c2ks6yd0LI0mwPPv8 /tL+KSim+ajMJwBegccStwEHWZ1+94Afsz2yZfzsFiY62lLvOwgL8K1v0HSWBV639nfT Mg3WUxmoypi+KvEVm8XlnUdWMmqkKeZPi8NjMHjMZl1XahqRv9TuxFvWZmGVUZH4pRoN 6RfeHl6eHVpW7LExiU4xc1myTcYTPV+jR+p/7A6R3RYscZAwo9BMPmDKFkZoqkQesHRV FeLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gpHmuC5+6mrLTxCF96eU2jys1HshdL5VNQtWWDrXTEc=; b=t4n5QwY3nqFYD2GqnjmLqCpHYtMpKl6NmDoo503YdU/Ngbqy4Sjv4Ra5e4V7Zg9VEc VLrIybXGSLGvx2qJgKnkF0Vg88gb8NV7Pu60hno0LWIk7LFrctYyDF+TtKiiCtvftIDt GzHOSiDfhu5fbBa5zFTFdkjE5BTA7VEgZXDkIGOMEItU5t12Cn8pCIgDkQgI6thm8dD2 0lJFNkBx0Za4Tgy/EfYDh8rFzXzo28Wrn4ehsfNJrhoCmg2NvOkIHeCjGRWQMWgUDU/7 44P4JUIby9BOJkfgliOjh2H51lOjxiVHk2tzGCgAdlDm0/JIZwjTvP5lfmuOj+CGsrlw 6edQ== X-Gm-Message-State: AOAM530CYgB7gk+wrq09ENx2k0QGAWplVdhh/LDaklj3VkRCKZuq3DAy 8sLvUvHsN5rjiYuhVHA+iO7DQw== X-Received: by 2002:adf:c444:: with SMTP id a4mr10945203wrg.164.1610734404198; Fri, 15 Jan 2021 10:13:24 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:23 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 06/40] drm/mga/mga_ioc32: Fix some formatting issues in 'mga_compat_ioctl's header Date: Fri, 15 Jan 2021 18:12:39 +0000 Message-Id: <20210115181313.3431493-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/mga/mga_ioc32.c:171: warning: Function parameter or member 'filp' not described in 'mga_compat_ioctl' drivers/gpu/drm/mga/mga_ioc32.c:171: warning: Function parameter or member 'cmd' not described in 'mga_compat_ioctl' drivers/gpu/drm/mga/mga_ioc32.c:171: warning: Function parameter or member 'arg' not described in 'mga_compat_ioctl' Cc: David Airlie Cc: Daniel Vetter Cc: Lee Jones Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/mga/mga_ioc32.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/mga/mga_ioc32.c b/drivers/gpu/drm/mga/mga_ioc32.c index fd2160ea71fe1..4fd4de16cd328 100644 --- a/drivers/gpu/drm/mga/mga_ioc32.c +++ b/drivers/gpu/drm/mga/mga_ioc32.c @@ -159,13 +159,13 @@ static struct { }; /** - * Called whenever a 32-bit process running under a 64-bit kernel - * performs an ioctl on /dev/dri/card. + * mga_compat_ioctl - Called whenever a 32-bit process running under + * a 64-bit kernel performs an ioctl on /dev/dri/card. * - * \param filp file pointer. - * \param cmd command. - * \param arg user argument. - * \return zero on success or negative number on failure. + * @filp: file pointer. + * @cmd: command. + * @arg: user argument. + * return: zero on success or negative number on failure. */ long mga_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) { From patchwork Fri Jan 15 18:12:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363665 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp88783jap; Fri, 15 Jan 2021 10:13:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJzBAO/KGKYTRF6KHe2vgFzuV5RvrmDj0Z7j4rao+T2rcKMrrmkziBlC9dFa+rXwzvwMBwg7 X-Received: by 2002:a62:f943:0:b029:1a5:43f9:9023 with SMTP id g3-20020a62f9430000b02901a543f99023mr13783587pfm.75.1610734419504; Fri, 15 Jan 2021 10:13:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734419; cv=none; d=google.com; s=arc-20160816; b=B8zEjDGVqkoyTjYMmAGFJjOl0CS6T0mtP/OlRBbQ0nz6iQcIoTEOYDws6qJ72JQd73 /G5Zeh+e6Ak02HCpiZJch5+tL+bAeuO5uTcbrAnRwBttacXqzY1EWtlUs+UXBS3Ghp54 YemTMVLm8+WBbBafL2yFebLJXINBPBqFQ9A/PRWc0mdW/sRn/Uae1g616tClAXuQenV0 zFnaR3MqNY3lzXuVMOb1x8tpLWQi3EedLnBYtx7OM1+n2lGYWbGT7qdQYhy1jlWzgQJv qJNDybVr64jAnTXoXN8w8EBc5GYl5tER3ix5KLxmI9ahjUzfmv9iil8M6mRa8gI9Hc/L X+Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=+aryOJggHVGHUzdaxAwJsGT4WdKj6mAQq1qe6OZe6gQ=; b=tHat5faHaG/sbf7if4CCnMWbnOyzgIV3TsuGvzZH61SwTQGviG+1oRqVQr3rBRAShk hn8110L7rAomb1+mdvwRn9Hb38awBv2Fy7V3MLbpKMCWFgEfOroI5A9o0ktEcbuKoMVB APZc5l8IXSq35use8CzXIYHkFSb0fNCbxZCW+Qnu8GUYUgdT5CehGma+r4vDjdzj+tTv Qc7N/FtQBQpQns6gzbT4aKkc1xo+X6Gn1eqqY5kGStUBYGk90wLQFFTdvvjORr/2H45r Ec4pQrfWVcC+Znvs7egwadd+CFK4MNlkZI/pZ3ZHlYUBOVTp5lZiSh3Rqms5meQzdXKq 2RnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="VLv18T//"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id z8si9857348pge.299.2021.01.15.10.13.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="VLv18T//"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6F9606E45E; Fri, 15 Jan 2021 18:13:28 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by gabe.freedesktop.org (Postfix) with ESMTPS id D2ABF6E457 for ; Fri, 15 Jan 2021 18:13:26 +0000 (UTC) Received: by mail-wr1-x430.google.com with SMTP id 7so2965756wrz.0 for ; Fri, 15 Jan 2021 10:13:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8fzZ9731GhrMXMJmVGpMkWndZV2lCJZqnwJ5TjxPTSs=; b=VLv18T//m35e1+2dIqkH1SvDm6ep+u85+YiYVoBayhkJq0Fo5kGhkzJednDi3CEhS7 MQMCgq3ZXwij7qecAqGBES8zNlTtzDwbYxWmLwEVtInsV/7/5s8HK9SYgD0+YImGxUZa d4zqkA/OoYXoywIjLGYOiLiTdT/4vjUgOPBlhH+jOShM1ppshX1o44aHw0lgrwwS8R2b oSXF5ldU70vZ/ypBG955toEAbw+ie77kqQE90uSIs1cywTgldkiFsA8Isapd7EhNL2n7 zsQg/SAPRlcjSRyJlBVIRYvUCkm3Cn0ipnW5cE3CWA0KLOnp18viSfxPwMGN1JZ3r3/O 2M9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8fzZ9731GhrMXMJmVGpMkWndZV2lCJZqnwJ5TjxPTSs=; b=t/Uw5RImy8Mu39Q5UIQio3IyMWjrhOZU0CewoAyMOwSZSg4jGZ6gsodC0A5zz/EZLa oF59vH/FW8ArKQW8xoAckDgYEdMQteOoxx3A8SXPRQvGJTKJdjIK7ED45qBpvw4ygDS3 BStQqZ3W9PXQPIh3GtWK2rK1Ye4N+jGMdmdooeUAPNfu3aEkdOevbmT47Ppb2DV2cfuM XIFZX9R3y6tqfh4A72KO+YMA85BVZGuNUSxRVX1/eyeJRQW3Ht6/bmTJU3y1GqOxHLL3 0aQtieAvZY0e0/ciahYf3xdX4TZxlFydT0nGb+vkTdJ2tvCyhR9vl2jsoOiZK8eLl0JW 9X+w== X-Gm-Message-State: AOAM533vOEYuBDY/TFKxV5WJPYDIfDTo1c0Zhm7E45Ar3Sn4372OV5DH TBO0CGnYmd4lIqL6W+i5FPEM6A== X-Received: by 2002:adf:ab56:: with SMTP id r22mr14631360wrc.351.1610734405570; Fri, 15 Jan 2021 10:13:25 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:24 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 07/40] drm/vmwgfx/vmwgfx_kms: Mark vmw_{cursor, primary}_plane_formats as __maybe_unused Date: Fri, 15 Jan 2021 18:12:40 +0000 Message-Id: <20210115181313.3431493-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_kms.h:256:23: warning: ‘vmw_cursor_plane_formats’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/vmwgfx/vmwgfx_kms.h:248:23: warning: ‘vmw_primary_plane_formats’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/vmwgfx/vmwgfx_kms.h:256:23: warning: ‘vmw_cursor_plane_formats’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/vmwgfx/vmwgfx_kms.h:248:23: warning: ‘vmw_primary_plane_formats’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/vmwgfx/vmwgfx_kms.h:256:23: warning: ‘vmw_cursor_plane_formats’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/vmwgfx/vmwgfx_kms.h:248:23: warning: ‘vmw_primary_plane_formats’ defined but not used [-Wunused-const-variable=] Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.h b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.h index 03f3694015cec..6267ccf54944e 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.h +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.h @@ -245,7 +245,7 @@ struct vmw_framebuffer_bo { }; -static const uint32_t vmw_primary_plane_formats[] = { +static const uint32_t __maybe_unused vmw_primary_plane_formats[] = { DRM_FORMAT_XRGB1555, DRM_FORMAT_RGB565, DRM_FORMAT_RGB888, @@ -253,7 +253,7 @@ static const uint32_t vmw_primary_plane_formats[] = { DRM_FORMAT_ARGB8888, }; -static const uint32_t vmw_cursor_plane_formats[] = { +static const uint32_t __maybe_unused vmw_cursor_plane_formats[] = { DRM_FORMAT_ARGB8888, }; From patchwork Fri Jan 15 18:12:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363671 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp88970jap; Fri, 15 Jan 2021 10:13:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJzxwm6xmDHeIB8Of0sfiQ8MpYJITmDOSrN+xsJaWza3zk6x3cgSw1PIVYHygk1pgWTAVEyn X-Received: by 2002:aa7:98cb:0:b029:19d:e8b8:3d30 with SMTP id e11-20020aa798cb0000b029019de8b83d30mr13955036pfm.40.1610734431452; Fri, 15 Jan 2021 10:13:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734431; cv=none; d=google.com; s=arc-20160816; b=XRHm9/4UM0umoh0vCviJ31h3xk7rV/tlN6DfZS5SRTE+ze9CE5nm9dXMQegPyerS1S 1Q5AGQABrgyFtBaDo+mdgte58gTn31YpB+4DKQI1FQIzH4i8hxJany1E4i5miNoJimbH +9rDkhxbdDYKBo6p+FCB4aqRcoYgG6/9bYZ/FiEuq274HgGrQpUaAjHhAVYcETNzKfS+ mykuIYjPys/UQUCzg7oTbRKXBVoTk2C6qH3jJrUQyvmrauPTYdDmJ45kbI+m3XXu1VzH aybqOOJPVeSeleqG+ds0NeDun0yJkk5onAeLUYJDXYDxmRmUra5UsRrD+q/EVzzT0Aed wnGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=x3ldl1j3S5WLROU6DJ9PJti0gvAAx6QfZGnuflVKgxw=; b=N6rYuQsB0OqSYiuO6qKDjyCgBxgsn8QtgDo1DZO1qjw3/mAZetVbLWifzG3H38vTqX 8oQ+l8XtuRZH0GYEJorr8VU5+FA9kOL6XtDdTWRrjB2IPFTHLLf/mUtoQ5ozOAijkmin PsTC034VGJezZPiwYIuZLdwJZ0ompvDbF8sFK42SzDBMrydTXggBRVAgpPf2zgYMpEiv aEv4DdEEZ+ubZ5bJxZaBKoxnmiZ5MYSweni846jKAuJwGmb2Z/fdR5rsCdwQ7VaznjUA SCfmzu78FkTzk2hctSEKgYXzVY0QZsoZNMz8NldQ6actqIDe11FxtxVRmhItDFiFFWz+ 3SAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fSoRh3q4; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id p23si9703017pgh.566.2021.01.15.10.13.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fSoRh3q4; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D02636E479; Fri, 15 Jan 2021 18:13:39 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4E1966E457 for ; Fri, 15 Jan 2021 18:13:28 +0000 (UTC) Received: by mail-wm1-x336.google.com with SMTP id e15so1995502wme.0 for ; Fri, 15 Jan 2021 10:13:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eZ4SXqHjDfEhTUNGWQvOBhYeab3UcCqVCuaDiiVfWAQ=; b=fSoRh3q4uz6YIds/3B+belP3eN9OBqn0u5m7KCnG8CbRMmEvaqB7U80UUa6QIW3gTh kjqT2NQYZK2IbR+DpvFCnwsVGmUveVCyBZYD6Dyr212ln1LTaB2qGLUx2J5d8EutCb/p fVS8KDR4Dg2VQ+mK6CRyyfsRi/s5yrSTcl4jKymczHxftpNGvUcODxvmxtTJk0ph3XO1 LohbVA6FPotDa1Hq2Dqj9DUrzWgCaSynqxdoHmVrt8dEmxtfuidOplLkYDk2zJ87+D4E Hh7hHNDbC85FOcWHYZYJKcgJOcs0Pdhd1i85xa66akt6YUzqQ/0jFcH+/aDf8gBFU2Vi DOyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eZ4SXqHjDfEhTUNGWQvOBhYeab3UcCqVCuaDiiVfWAQ=; b=NRF3Nrg0na7FILSDEZ3gnxX85HHVYNw9pQJci4keYmiQXW+y8JTJkAiKBlleelvmxH 0flww2bu55rGSqSNZTBUJRWw8dPmIbC0ZbjiXg9LcFpW/pDoj7Q4DVtMXuo5Ohoi+87P dy+HXJQ/T5no9B3Vm+8xMMtgxXbyqamOeYlvVihWGBHMYWOnmilOvq4MsocJrXyeF3oL Ijr2nvdXX1xKUM7QtQ30OuVHzf0AODAF13O0EfpBClpQaTh8zowIBfh6qxpWSVXt0qLS 2NpkZTwmQgAOUfHb/7zUZxj2ZQqk1zrlvuymncBRv57Dtp/LD6rfVsft3Bh+AcL3mkKH gAtg== X-Gm-Message-State: AOAM533INgt094ZpcofUZGzlZ8pe9TOSdTRtDWzMiWEmlMR3yHdAdQDi 7TY9vO+MWyzCCfV5crPNqOh2yw== X-Received: by 2002:a7b:ce92:: with SMTP id q18mr9611096wmj.113.1610734407001; Fri, 15 Jan 2021 10:13:27 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:26 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 08/40] drm/vmwgfx/vmwgfx_drv: Fix some kernel-doc misdemeanours Date: Fri, 15 Jan 2021 18:12:41 +0000 Message-Id: <20210115181313.3431493-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:164: warning: Function parameter or member 'ioctl' not described in 'VMW_IOCTL_DEF' drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:164: warning: Function parameter or member 'func' not described in 'VMW_IOCTL_DEF' drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:164: warning: Function parameter or member 'flags' not described in 'VMW_IOCTL_DEF' drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:170: warning: cannot understand function prototype: 'const struct drm_ioctl_desc vmw_ioctls[] = ' drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:542: warning: Function parameter or member 'dev_priv' not described in 'vmw_get_initial_size' drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:611: warning: Function parameter or member 'dev_priv' not described in 'vmw_dma_masks' drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:611: warning: Excess function parameter 'dev' description in 'vmw_dma_masks' Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c index 8c3eb00e8b54d..a77b70347aab0 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c @@ -153,7 +153,7 @@ DRM_IOWR(DRM_COMMAND_BASE + DRM_VMW_MSG, \ struct drm_vmw_msg_arg) -/** +/* * The core DRM version of this macro doesn't account for * DRM_COMMAND_BASE. */ @@ -161,7 +161,7 @@ #define VMW_IOCTL_DEF(ioctl, func, flags) \ [DRM_IOCTL_NR(DRM_IOCTL_##ioctl) - DRM_COMMAND_BASE] = {DRM_IOCTL_##ioctl, flags, func} -/** +/* * Ioctl definitions. */ @@ -526,7 +526,7 @@ static void vmw_release_device_late(struct vmw_private *dev_priv) vmw_fifo_release(dev_priv, &dev_priv->fifo); } -/** +/* * Sets the initial_[width|height] fields on the given vmw_private. * * It does so by reading SVGA_REG_[WIDTH|HEIGHT] regs and then @@ -599,7 +599,7 @@ static int vmw_dma_select_mode(struct vmw_private *dev_priv) /** * vmw_dma_masks - set required page- and dma masks * - * @dev: Pointer to struct drm-device + * @dev_priv: Pointer to struct drm-device * * With 32-bit we can only handle 32 bit PFNs. Optionally set that * restriction also for 64-bit systems. From patchwork Fri Jan 15 18:12:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363668 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp88866jap; Fri, 15 Jan 2021 10:13:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJw5U/9vaS8rFxajlS4RK9ce6d2cupJxtREFN1ygkt2Sd/dHyPIbg/X6G+2H/dV7zp52GTvx X-Received: by 2002:a17:90a:3d4e:: with SMTP id o14mr11668690pjf.44.1610734424284; Fri, 15 Jan 2021 10:13:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734424; cv=none; d=google.com; s=arc-20160816; b=Nbkb9czvPwcF7nA8MEuLV+Yx5FGGb331/dylPWBVnnboMJogeKbC3SAHMjJFH0Sj9o nmn2IypqnpPhgl10Z5oCc/jjCPwpgRdtS440HKsXZZgKWCCSuFeJKRq4Opsuf2giTf25 9NxIhYQgCJp5YaH6b5C6yumnUGklrfoBR+QE7f0vaAZ0pFeCs+iTIK+esCxUYW0lbRsc I0JrpE/gOROC3esyE6LJY6yDog5WE2ipJc/6usIMYTHAEShbv9LPpX11qwGsZ0HwbqCh 7wmKwSG3Bx/pQjV2OG035IlSQLLmUbuhg0suCeyqi/vopUxtp033j4mCYnXV8/mVgYAw Q89A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=yKi3s3OKPFeO9FPu0Fa87Iji+hfoiZJvQGIa2100hxM=; b=DEpQrkc8K7VCNVTZ8gWq929CPOxJk+4jXjk5h4guZxOTMsYZOH/s9emEvTX0OkpMNz 7hkyWnP/+qT/SEiEYHLgF1F1rwpibx6652aqmaFYQxZJN4CfZIOlv291LYFoJef8zN0c Sxft6xJ3lHVlOqMjLmvpKDQDVPaRxkkM7aTiEtSXL/9KaWGIz1OWmIvwgzdnrKekw5ni gQVlQI4EiUCqyXaMrmXrzSNK3w/TATEHBcw3ZNCy1I0V8F3V+MJi7FX2jIryX/bskiu9 fxP4pgUaSQxKAJdmfBCYRSBfRsMyVHKpVm8XrlLlZBtMvRSIEItt9rIvbI2T/LYLiqwi hvfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=SjYJ2xl8; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id n4si12333598pgu.82.2021.01.15.10.13.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=SjYJ2xl8; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EC85A6E46B; Fri, 15 Jan 2021 18:13:31 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by gabe.freedesktop.org (Postfix) with ESMTPS id 19EF76E466 for ; Fri, 15 Jan 2021 18:13:30 +0000 (UTC) Received: by mail-wm1-x333.google.com with SMTP id h17so8028401wmq.1 for ; Fri, 15 Jan 2021 10:13:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sDWfHFckN6NRo0EoYWwvHoK4Npcgdey+k/hT6ivHjRc=; b=SjYJ2xl8Kpk+haoC/WNAe19ka70TzQyHnukPq1XElB5bfIleTUP+UyDJS8Gh4FQj5Z Kl2nKN4tGIrvVbBS1KuO9xZxIrei4eyCFBrW4gl5Y0oDQr0EY0no4iJLSEtH6jmo9qo3 LDjQcjt2A3sPpH5f5PMAgHzA68Hz1sCGX6dL9/S/J+1zUi6h6DsewtD6AiabgNcx7w7D 7XMzT1titKw7oaDP9ZWGVFoddv0NNblbjqZXv6KKEXg2ZOrsSu1d8j9RLIz5Hon1OCHR /4Er5YRgwio31zKplqQDl3c9YYzA2n9JYh1VcNUDjKs5HO2nkEDlcJ+iXzcxXz2RqvFx ZAJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=sDWfHFckN6NRo0EoYWwvHoK4Npcgdey+k/hT6ivHjRc=; b=aZBLCFzyZbxpgy4EaLff3k8JbLQehY3yb4LfG+dpFxTIKvy/SQJnYTLL4PAq+oHPUK tBg0zyqYbP8mWfnymhMTTPV2BFHhSSJT7yTlLL5FCbuRhUkKt8uX8gGs4s94U2n6B9T9 pieFPNN+ly6yJpNpIQRrBJ8jI/URRDK2iUVZs/W37RejiM+/e6S0dICYCTQN/EeBpXsB ONoW0N9aKYO0U74Z925e2aR97oPI1ccVUxJGWuotnXzqh7quP2wlJjRJLs+OfT2Xfvgu whw3zOiyg7EOZfmLNpjezay2/aHbYmRFHN8hCjXZCbaMKNBWPF3k96lFPVwO41DxuBqh kPyA== X-Gm-Message-State: AOAM530YdA/q4BpYu/BqvheRv3I6qCGqDe+iOigVvTUc/d2wbH0x+3Dv x438q4Rq44FoidlG6bsPfJAcMw== X-Received: by 2002:a7b:c385:: with SMTP id s5mr9872346wmj.170.1610734408578; Fri, 15 Jan 2021 10:13:28 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:27 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 09/40] drm/vmwgfx/vmwgfx_ioctl: Provide missing '@' sign required by kernel-doc Date: Fri, 15 Jan 2021 18:12:42 +0000 Message-Id: <20210115181313.3431493-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c:30: drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c:448: warning: Function parameter or member 'offset' not described in 'vmw_fops_read' Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c b/drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c index 80af8772b8c24..b36032964b2fe 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c @@ -437,7 +437,7 @@ __poll_t vmw_fops_poll(struct file *filp, struct poll_table_struct *wait) * @filp: See the linux fops read documentation. * @buffer: See the linux fops read documentation. * @count: See the linux fops read documentation. - * offset: See the linux fops read documentation. + * @offset: See the linux fops read documentation. * * Wrapper around the drm_read function that makes sure the device is * processing the fifo if drm_read decides to wait. From patchwork Fri Jan 15 18:12:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363669 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp88911jap; Fri, 15 Jan 2021 10:13:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJwJJC4OkJrJfypdoS1HuBL+WM6OWzA+52YhhdueWtxWjQgTKaM3QpR6QYIqvSzVL/Nb3EZ6 X-Received: by 2002:a17:90a:34c8:: with SMTP id m8mr12047973pjf.103.1610734426408; Fri, 15 Jan 2021 10:13:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734426; cv=none; d=google.com; s=arc-20160816; b=YeaQQHNa6kdCTyNh8DQnkmexLqThDnIfg1s34kCjNIY0iIupl9eCFdUUIMFBENUD0/ qdCOR5kWIhVyhvtpZ7Xdp+E//ojhM5LldOZOWLzS17pu51H7grgTh5RmskyJC4O5sPWx M/5+JcyZwm2vbK0dtWt+LTx8MsgqtWrlrw7fSuBLMsMos1WauDMVDR/LWxi3zz8CrhKY 8fLPVe7VHPFcKJ3auGP2xmieFZTn8Jp6n3d3hc8iGtLnFiCgIqqx0WFaeM62KlN3en2V t0DjQUs08rbc8w2XH/eDWwOqiv4LMJ1mIOtouHcHX+Wit3VozJBDCGDGj3zbtPfdEWYL A5Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=5NZBp97A3j6jFjF19sU7zWsUH84pVCZPPi4goAQ3sWU=; b=Vp34JFzl9oU999rE20a9dNcDL18n+p8MIrgpiFwgUnMwV/XbCidY2B/kXEU8hgJ9FL j7ToPi0I3tC913TOm+3OaEHCTG9oIsSkhumSRcPXQCBIT7bsfrEdWR82hbMCRLwZoaJA 7foS/OQO8fiTsx0ZbLOrjK2fhnX1mwSfkXsEcw3MzFWPmm5of4gNB2cpEPoaVOTAFehN yuc70Cvy6sFng6Hvhs5Xe7cHb8Ad1eiYvuu1fTk9uB0xquWGBOu5RHqgkUcmOatsh67t vypuuIcrSEiJcrf5ZU4GTGy9BDE36ub+WQNoCUUip0IedvO3FmYza8IranbjFgRD3JBy 44Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=gcPt2Yf8; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id y3si10117988pfb.59.2021.01.15.10.13.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=gcPt2Yf8; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BEBA56E466; Fri, 15 Jan 2021 18:13:34 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5CF7C6E46B for ; Fri, 15 Jan 2021 18:13:31 +0000 (UTC) Received: by mail-wm1-x330.google.com with SMTP id y187so8408039wmd.3 for ; Fri, 15 Jan 2021 10:13:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=o+NaOzslIuLS5J9pNZb4fvgzik/FyZn/jqm9ZPQuWdU=; b=gcPt2Yf87b/ShsbMtAB8DSJHWxzobsp+uEVJTJI8p8rCo2GuGHF5+eKwGBC0VlyZ90 KDq7HXSj5S5B5z9bM2lVkWFOT+UmimXzXqfmrecElufbv02xRhPOpxQg7CcLG8e+U+ah C9Kpj3hgXdSl0ykXUVVW9CjYz6qDFtjFEVaVW8Zgl+qJsPUsHaQV1vUkEgdMXHD1LMOS lkIXZiIMAMNE+cU+Ll0q/wWAvibFwPRmW6z7fGevaAskVyng7rIdQnkX1n86PRss8Bl5 RSwJ215w8Wz6Q1NxFC80W47W5e146q5CCR/k4Wc5N+wJNIFR+LA1WsGr9Jn2ZBSLwh3R R+JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=o+NaOzslIuLS5J9pNZb4fvgzik/FyZn/jqm9ZPQuWdU=; b=PTcjlvO9M+nmxtFSWXerIQQL2o3+1eS0Okoeds/lCjUk0SBMiayqHFZ4qPnhTQ9R4y zm3prPOEh9UsztxD8C7/+8I2JwhRJT4LwfFkC789IspN6/1Oj9eoiujc/jFvkf1l6HWF f/3xfNjXZ5e+ezB2y5uEqrUBneBRqH0iuoxp34Ex7NGLIPQf/COsj0GM59QtNXOsORnO CX/57wAXQzGRH9CST9o6xQxZ+X5V/Z7rN/YJtmLZXkBCb73eEEYKnpwGkCxifsux2rPZ GDt239BbCiMe02e8VcCHLJnKcbOLU8/AzoJPsQMLMzibCOQWelhP4Q2xu3y3SuKYBEXW UaCw== X-Gm-Message-State: AOAM532lwC4BGgZp4kRJjbC/3HIZL8OSP7WK3YzXy8iYdmXSxqeVttNd duc9UkfWul5Q44s/4tsxpWWOCRts9Erw5V52 X-Received: by 2002:a1c:de09:: with SMTP id v9mr10274031wmg.0.1610734409886; Fri, 15 Jan 2021 10:13:29 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:29 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 10/40] drm/vmwgfx/vmwgfx_resource: Fix worthy function headers demote some others Date: Fri, 15 Jan 2021 18:12:43 +0000 Message-Id: <20210115181313.3431493-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_resource.c:215: warning: Excess function parameter 'obj_type' description in 'vmw_resource_init' drivers/gpu/drm/vmwgfx/vmwgfx_resource.c:303: warning: Excess function parameter 'p_res' description in 'vmw_user_resource_noref_lookup_handle' drivers/gpu/drm/vmwgfx/vmwgfx_resource.c:328: warning: Function parameter or member 'dev_priv' not described in 'vmw_user_lookup_handle' drivers/gpu/drm/vmwgfx/vmwgfx_resource.c:328: warning: Function parameter or member 'tfile' not described in 'vmw_user_lookup_handle' drivers/gpu/drm/vmwgfx/vmwgfx_resource.c:328: warning: Function parameter or member 'handle' not described in 'vmw_user_lookup_handle' drivers/gpu/drm/vmwgfx/vmwgfx_resource.c:328: warning: Function parameter or member 'out_surf' not described in 'vmw_user_lookup_handle' drivers/gpu/drm/vmwgfx/vmwgfx_resource.c:328: warning: Function parameter or member 'out_buf' not described in 'vmw_user_lookup_handle' drivers/gpu/drm/vmwgfx/vmwgfx_resource.c:398: warning: Function parameter or member 'dirtying' not described in 'vmw_resource_do_validate' drivers/gpu/drm/vmwgfx/vmwgfx_resource.c:601: warning: Function parameter or member 'interruptible' not described in 'vmw_resource_reserve' drivers/gpu/drm/vmwgfx/vmwgfx_resource.c:601: warning: Function parameter or member 'no_backup' not described in 'vmw_resource_reserve' drivers/gpu/drm/vmwgfx/vmwgfx_resource.c:987: warning: Function parameter or member 'interruptible' not described in 'vmw_resource_pin' Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_resource.c b/drivers/gpu/drm/vmwgfx/vmwgfx_resource.c index d1e7b9608145b..c4df51a2a9262 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_resource.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_resource.c @@ -202,7 +202,6 @@ int vmw_resource_alloc_id(struct vmw_resource *res) * * @dev_priv: Pointer to a device private struct. * @res: The struct vmw_resource to initialize. - * @obj_type: Resource object type. * @delay_id: Boolean whether to defer device id allocation until * the first validation. * @res_free: Resource destructor. @@ -288,8 +287,6 @@ int vmw_user_resource_lookup_handle(struct vmw_private *dev_priv, * @tfile: Pointer to a struct ttm_object_file identifying the caller * @handle: The TTM user-space handle * @converter: Pointer to an object describing the resource type - * @p_res: On successful return the location pointed to will contain - * a pointer to a refcounted struct vmw_resource. * * If the handle can't be found or is associated with an incorrect resource * type, -EINVAL will be returned. @@ -315,7 +312,7 @@ vmw_user_resource_noref_lookup_handle(struct vmw_private *dev_priv, return converter->base_obj_to_res(base); } -/** +/* * Helper function that looks either a surface or bo. * * The pointer this pointed at by out_surf and out_buf needs to be null. @@ -388,6 +385,7 @@ static int vmw_resource_buf_alloc(struct vmw_resource *res, * @res: The resource to make visible to the device. * @val_buf: Information about a buffer possibly * containing backup data if a bind operation is needed. + * @dirtying: Transfer dirty regions. * * On hardware resource shortage, this function returns -EBUSY and * should be retried once resources have been freed up. @@ -586,7 +584,7 @@ vmw_resource_check_buffer(struct ww_acquire_ctx *ticket, return ret; } -/** +/* * vmw_resource_reserve - Reserve a resource for command submission * * @res: The resource to reserve. @@ -973,7 +971,7 @@ void vmw_resource_evict_all(struct vmw_private *dev_priv) mutex_unlock(&dev_priv->cmdbuf_mutex); } -/** +/* * vmw_resource_pin - Add a pin reference on a resource * * @res: The resource to add a pin reference on From patchwork Fri Jan 15 18:12:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363670 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp88949jap; Fri, 15 Jan 2021 10:13:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJwkhLmdPT/G0VMEFyU+Ozq/mlcrZ9it1yLhqsKv5NunKA82kJBU2RhiYJg5xLA9P0c3XzBo X-Received: by 2002:a63:9dc1:: with SMTP id i184mr13822583pgd.409.1610734429384; Fri, 15 Jan 2021 10:13:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734429; cv=none; d=google.com; s=arc-20160816; b=XLZEYos0Z7Wo3NnhjD/Jg7pGunjkPZgE3kDZlQ6JWHApZNN0ZyYUpO5UxPgufUrwpy bUWCs4UlDQSeXrmN8HBq6e6ByfTnAxdM14QQfzTlEsJXg986pDHn1hMiEphnCv+DRgUo WZeflGtHh+PZ8e7LANfqUFJt7vujsfv6Y7GzOddCAwDpn8stp1nbeIMBkJsGgfGeS0oR RIezeJck3B6apXXTwhWvxamruQaiqSeWvLQJK7wVjwTrVwFqMTstcSQnBW7Xjv72WXZF Ca/wmKWQlUgkcs8j5Ai0CCxbetS9x+kZu3RhA0+3/jUGB/pKeXtxjijbhaMxMDW3NnFR K13w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=1TMSxO7OnfjYije1GIfkVMm/fBFzVAabSVmtPa1yET0=; b=WOZ4fp7/sEbYC9aLNHtw5X3D8mWhqmJcjnnUsLUxjIpyj/8ugrSCoB0x6WbvnhfFdS BXxsDf/PMo0xHNfAjQTKDPgBBD1W7sPOjBtKMgC7KYLymn6+JdiakKvUuI8JyWQYaIbZ DHCUhaVEtsghaTKkkWJbb/bXoL8wjuZcqc8eECT18gEumobpHcqXBfE7QA2N9cG5qCr6 Ab8WmpEj/FXmrv2k8NlYceSydL1jjO0Nv5mp/gv9YmCMjkE/PRB7voRT29tpOZZmXqda 8sEIVo09VdbqyVKM5daqzTk+m4eJPeehUwJr6uIWNG2hQZ5VD+f/zaPXIQYTvZRfF2VU BuFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ghF0kG8r; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id v4si11881133pjn.41.2021.01.15.10.13.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ghF0kG8r; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 38EDD6E480; Fri, 15 Jan 2021 18:13:35 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by gabe.freedesktop.org (Postfix) with ESMTPS id D73CD6E480 for ; Fri, 15 Jan 2021 18:13:32 +0000 (UTC) Received: by mail-wr1-x42e.google.com with SMTP id a9so6746937wrt.5 for ; Fri, 15 Jan 2021 10:13:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ja/1FFTGOv6AaggbEFEZcUW2YjyBuvrOQaBJpOOoCfs=; b=ghF0kG8rNEQVOXAUreNjXGcJ48KjNg9l5Ypq/mQHTLuOAZzim1Tgi51UYfBff6o/5k SqJZsUxrQ2OQ2MC4A/in2xeKuyglvlerxtbegG8LeZMZWP5cxJRHQK0X354kmcGB6Ran s9B8lpGNLa3wdOJvkz7ETmHhR9fgPWpeJ6rsQF3l8L7MsEelRNXwQqZqKso6zKDgNR8C e6DcT9hKAhYY+8mR7q/15hXGU0+6zlJjE1MoYm4ZEF8FQkcJxX1KOEhVNUBsIhSjt7kf cN1gw5k2GbmPbroZiq6Hv+zvbSvAQBcsJ4nrPDlKUVifSUUV8B8dCoQokTHyAQm3r3wt Qzsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ja/1FFTGOv6AaggbEFEZcUW2YjyBuvrOQaBJpOOoCfs=; b=TfTBvydTOoA6GvGZb4L7SbJ3CDL1XWSkIc6mo08y4kjlxW1EN642n/wdf3+sNF8p9O LVa7iIQfw4ZzrRX8tFPYIINU7uQukAKtGz3ToGa8uzUKgreIffiH56FUKepZD3Stu1ve d/SSi6tpyIr6kA0gz6vjO79XgjjprnD7TMm9FLtC5o3UFTzevtgbS1FtPt8tojTDbrOB uNNUz4NlknTlzvnwOKCsdXRUXWT03y7L9duLIO0PFaz5z02f0/GZGnB0Be+smk+jCHzX Oded9g1/+hxq83CtGk7eHcRL6C8PpU93QBOU5PpczU/zaT5GM+SIod2EIhQ0NYr50iUv fFXg== X-Gm-Message-State: AOAM533s7Ot+WxxVylL+0baImUolnThTFkwkFeFsbKastJo+7zl/e1cj f8yZJnYLFszKTuuK1ssnWR1tJA== X-Received: by 2002:adf:ab5b:: with SMTP id r27mr14285129wrc.282.1610734411548; Fri, 15 Jan 2021 10:13:31 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:30 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 11/40] drm/vmwgfx/vmwgfx_ttm_buffer: Supply some missing parameter descriptions Date: Fri, 15 Jan 2021 18:12:44 +0000 Message-Id: <20210115181313.3431493-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c:275: warning: Function parameter or member 'p_offset' not described in 'vmw_piter_start' drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c:676: warning: Function parameter or member 'evict' not described in 'vmw_move_notify' Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c b/drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c index dbb068830d800..6a44567e4ba52 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c @@ -265,6 +265,7 @@ static dma_addr_t __vmw_piter_sg_addr(struct vmw_piter *viter) * * @viter: Pointer to the iterator to initialize * @vsgt: Pointer to a struct vmw_sg_table to initialize from + * @p_offset: Pointer offset used to update current array position * * Note that we're following the convention of __sg_page_iter_start, so that * the iterator doesn't point to a valid page after initialization; it has @@ -664,6 +665,7 @@ static int vmw_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_resourc * vmw_move_notify - TTM move_notify_callback * * @bo: The TTM buffer object about to move. + * @evict: Unused * @mem: The struct ttm_resource indicating to what memory * region the move is taking place. * From patchwork Fri Jan 15 18:12:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363676 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89109jap; Fri, 15 Jan 2021 10:14:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwGYCmCPuZXa2Z1i/Yh0psudJNU2H1kewuc0ZEadSx2nHl4gUyFj8Gg+y37W/2IeepK6pBn X-Received: by 2002:a17:90b:ece:: with SMTP id gz14mr12255952pjb.158.1610734441051; Fri, 15 Jan 2021 10:14:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734441; cv=none; d=google.com; s=arc-20160816; b=PnVlDZurweX9lJc5wtr2XuplokU/TzNGPngGUtUuJGbXfnl7JJzr9R1Tuf6q37LIMV wfqGiiFLnA4n9ajiktUSIVQj3CxOXRU59ie3FNeciE9/U8bGNjU06xKdMTWr3Gj5ACdq o2MbhKsKmyo4Cwdi/THW+6QqktlJu9g1QVbbDj7WojINQYC53HwhcjnQ+ykRUTvT9BnQ ycoCALaHALL5Bstkrogki/lR6FB43Rsx6TiBRY00OnGIG8yn2EeMhzlZZPar/FXW8voA tJohF42ZvMZl8XsaqlZl0r0ZVuMMVUvP4I8VQ5F+VCgD5h4eMj/eMIsRLeRefTgaclON mhTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=fwjkRT7lZaAkkn77de4BpE2fuoWDjrH12gPd1hwT20E=; b=GeWPE457sjLZgIucjnJ5F/WBZzQbHBqe8tPDIZM3SlTBhNjgmgQvwVGBjCVuLqMEXF WXj8FdQMK3RfIRjkYrYdcP41auWWFBy+08eZDaeMJm9nbf48Nq35zzC4PDUjLuFoTdA2 t+59ID7FpT7JNTg//B8i+8W7zOI0A8WDW+sXhMFfE/l25zToixRQX+4TPMjyf2S+sZYu EdJgbNCA9I7w+z+u1Uz1fPJtMjfUwoyuX9qHC56nx/Dr67vm0HPBmwuQupAAFXoVaOdZ uh3lnvSVD7l2xtW7wydRF2GcAZX14dO/ftA7/6n6yvQDfYxOpnc1OlzIy5X9j+lWAtnv 6qUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RNlz61U6; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id b1si2483429pld.152.2021.01.15.10.14.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RNlz61U6; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 674426E483; Fri, 15 Jan 2021 18:13:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by gabe.freedesktop.org (Postfix) with ESMTPS id DA9616E480 for ; Fri, 15 Jan 2021 18:13:34 +0000 (UTC) Received: by mail-wr1-x42c.google.com with SMTP id d26so10186986wrb.12 for ; Fri, 15 Jan 2021 10:13:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fAAEuD3RlEr/SK+ua/zk+cZbQLwjXz0Jv5gG/pDSRFI=; b=RNlz61U66+BUG1s+nfI5teKJXRzuhAMcV/qAFVRXV+wo32MjqVdz82qZ+lAO7fU6y1 6AeYS8NZOV1XOpHbW/l8uDFRm91lwC39apk+K9velV1B1eYzstpRzlMpCDA8KTHqXr9w UKqvIVaChpMvb5Xu2BYeV67rF7W62o/haTbVgcfVDoNHWaS2uYXSsrYQuwtsaA7cFUD0 1d4o9RxUprSwq8f+2rKLEt1HiQFe3SzaQ+tFDP7FSt6o6cK8dxAjmEmaTxYFQuKq5WbD s1Im/XIHYHvruuyaGxAt3cLHIhdXy44KcuI/A0h5AKziCv8119TfPyA8Cbu5/MZhOwBg 4szw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fAAEuD3RlEr/SK+ua/zk+cZbQLwjXz0Jv5gG/pDSRFI=; b=q33uAj0kRLsYI+u9OAmr9rhrvILMmSiBkdsHWuAtyN94XlYaO40ORsa8jzIavSGiiG //1xNaEr30qw0pEHm4/i2NkqgHU6+phqR9Gu9YjUzrZcsegpznFis+iemH0SqpLeWyyy s3/FW5oZ0PBWuFPKqQfEflzUv341jzoxLVW0+7jsf/oGm1WraZHHvHlwUhS9z8JavKjA o5k2lZm50mAADqVHHOlrbJmQsETV72rgiW0xskmomeB2R9H3QBWIYN/fi3TE9fdX/RJk rEICDqN5nnoP9zLC5HDqoVS39tRk7nTWyEPIJ202b2eeskRYh3TRneHCuzBeFOpdBIo4 n3cA== X-Gm-Message-State: AOAM530x+/3L7PNvcBF1TLR6aM/FXQ2LFEEfKZXjEKCEFjiQG9PaUkaw DlwU1Igu621HTgjty1hErxAiz68UWgwzkniX X-Received: by 2002:a5d:4c45:: with SMTP id n5mr14777366wrt.396.1610734413540; Fri, 15 Jan 2021 10:13:33 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:32 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 12/40] drm/vmwgfx/vmwgfx_fifo: Demote non-conformant kernel-doc header Date: Fri, 15 Jan 2021 18:12:45 +0000 Message-Id: <20210115181313.3431493-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c:299: warning: Function parameter or member 'dev_priv' not described in 'vmw_local_fifo_reserve' drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c:299: warning: Function parameter or member 'bytes' not described in 'vmw_local_fifo_reserve' Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_cmd.c b/drivers/gpu/drm/vmwgfx/vmwgfx_cmd.c index 7400d617ae3cc..20246a7c97c9d 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_cmd.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_cmd.c @@ -276,7 +276,7 @@ static int vmw_fifo_wait(struct vmw_private *dev_priv, return ret; } -/** +/* * Reserve @bytes number of bytes in the fifo. * * This function will return NULL (error) on two conditions: From patchwork Fri Jan 15 18:12:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363673 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89010jap; Fri, 15 Jan 2021 10:13:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJxbWgRxB615etVJDI1obhbcVU1aG25iqQIWBco7gy+iV0m+M+ycjVrjQ+XLgKmJnRWThaIK X-Received: by 2002:aa7:9e91:0:b029:1b4:7f36:e3e3 with SMTP id p17-20020aa79e910000b02901b47f36e3e3mr2140761pfq.55.1610734434809; Fri, 15 Jan 2021 10:13:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734434; cv=none; d=google.com; s=arc-20160816; b=Kyd0pm2BrwBljDzo7j5OE2TL2czeND5TzVATMZvE6TEM8iiXos1Hqnqe3Fjb+K5n+/ HXZ5yytKmM53Bx2vazD2MXNTRH9yUTsMDvEv8uNumztz2o7lgK6ellkkqz3VY6bBuhKs auSWVQEHhk2bGe3bGrQE7xFS70kYnq1G7oLgvyK/IOVSzgA73JksPZ87tAp/QaVku7QX EfX1QzLo7Qq5L6jI4E6VxV4FJB93PBbCJ1WZAgIzcrcbQlJmrnolPoavhTjJ4ab4X8Sa 4aY5HSA0uWZ9nXrZoWSF//WoYxQTty94oX9lNPNsZRQQn2ccMEK2v62QLv8jBjzxZTN7 tkrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=mCekj5G+vF3htA3VS+4ghek5SPvEwPesnJT61ApTxGA=; b=xGAwHNKANeGPFjlxtmGWVznyL9b1oX3Nbd4UErckmaZyAxqDyWXD6uANyrJg0SScFd RoHef4X0ZpgjF1lzfLNzHd9PXuKb4+xL7VYe9QQrQ66irUuxkk/dGEruOffjS8xlw2Qe abFB/PayvVG0eh8tKndfbLoGAhLNZmRO4O3oRV8WyJ3AnQBugdclLgy84OIeqFB3M6RV uL4uI6CqOlCu47Nu4rAHLzemY8dEd8/vPhPXQuBFDxp3QUepq4iDIhItUBTwsO0Tkh3W wdrdNicANosxUGBzbNqUziYGJz3CL96uUyTI3a4bCm9vfQm2ucZNwH2npgddIpX/LTvd jLMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Xhjjfcqb; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id l13si10505935plb.379.2021.01.15.10.13.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Xhjjfcqb; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 074C66E47A; Fri, 15 Jan 2021 18:13:40 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5398E6E479 for ; Fri, 15 Jan 2021 18:13:37 +0000 (UTC) Received: by mail-wr1-x429.google.com with SMTP id w5so10180306wrm.11 for ; Fri, 15 Jan 2021 10:13:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jvyHS8XiQc1oAzz859zgo3XkDd1Co0kNwC7up5M68+w=; b=XhjjfcqbMACLLu1UbUwoqoD/8t48q+La60pp5xe4eCTr0EMZJnWkSTnd6IyBDzec+Q RHflyw7Qx5MObqDYdfUNRRhZb5tcQlDS93CBk9n8BvSp//3B3HXS7yDQ20yIBhpDjm7J CJecEL0ZPE8v+KQyGPehSrFI59nJ68dHfp6WhLpKaprgpNczqjT2o6uR2IhUfx7Oi11t SHGVxSBkHz1lL/PVJIlI2NtCTuHfxTPAzO+7XDJYkI017xs7WIYnJz9Of+IQrLWENyS9 LWVqRaqiy+jGvXeOmpQa99Xoe8wK0qekcEgWyk62TXSV6S75tLeGP5zkpNenv8umJU4L rIPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jvyHS8XiQc1oAzz859zgo3XkDd1Co0kNwC7up5M68+w=; b=Awp54PYaWpOKP4NvDnmnStHhmX/bnk83VOqek+SxbEu4TLKCO47HcjsCL4ZiKDN+kd +ltPCqGbqaxQWO0jyOAb6P5qnhkSePYYYriQmLsCBavCvrB7/xqDJ/WFOXkQwrBEu4Jj Zafc5m0olBUeWta8+s7WXRb6OBf5Oky2cT8PdAnss4boN5GOuzVsur6ZA5Rg3B1QeHPg /7mMoloudZbpqnqG5S1OIgCBObzZiFfSQf21uZfC2lpGhxP4SQmaLcMn7jJl/krQR8lF BZOcaaBhMQBVluWAB9VLBCqlUShd1IIDcL/tVfLKzBI58Cf6UJePSRAhZJFKXEPHOYj9 6WVw== X-Gm-Message-State: AOAM530PSre7qi+nnlhkGxkJrqUuasbIxoFFBH86W4XyLXaZ4QRd/m1P 9Mp2vRBfOuC7ZCT1hxo7SNu9Gw== X-Received: by 2002:adf:902a:: with SMTP id h39mr14398191wrh.147.1610734415837; Fri, 15 Jan 2021 10:13:35 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:34 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 13/40] drm/vmwgfx/vmwgfx_ldu: Supply descriptions for 'state' function parameter Date: Fri, 15 Jan 2021 18:12:46 +0000 Message-Id: <20210115181313.3431493-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c:55: warning: cannot understand function prototype: 'struct vmw_legacy_display_unit ' drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c:218: warning: Function parameter or member 'state' not described in 'vmw_ldu_crtc_atomic_enable' drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c:228: warning: Function parameter or member 'state' not described in 'vmw_ldu_crtc_atomic_disable' Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c index 9a9508edbc9ed..acae92a07f4f3 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c @@ -49,7 +49,7 @@ struct vmw_legacy_display { struct vmw_framebuffer *fb; }; -/** +/* * Display unit using the legacy register interface. */ struct vmw_legacy_display_unit { @@ -206,6 +206,7 @@ static void vmw_ldu_crtc_mode_set_nofb(struct drm_crtc *crtc) * vmw_ldu_crtc_atomic_enable - Noop * * @crtc: CRTC associated with the new screen + * @state: Unused * * This is called after a mode set has been completed. Here's * usually a good place to call vmw_ldu_add_active/vmw_ldu_del_active @@ -221,6 +222,7 @@ static void vmw_ldu_crtc_atomic_enable(struct drm_crtc *crtc, * vmw_ldu_crtc_atomic_disable - Turns off CRTC * * @crtc: CRTC to be turned off + * @state: Unused */ static void vmw_ldu_crtc_atomic_disable(struct drm_crtc *crtc, struct drm_atomic_state *state) From patchwork Fri Jan 15 18:12:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363675 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89083jap; Fri, 15 Jan 2021 10:13:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJypwd6HFIuptWWLBHAuvRa2erUZHYhPSll1HDW6zqU5f/kWU4NasUl/MAvq5GWPFXMQfxxk X-Received: by 2002:a17:90b:b0d:: with SMTP id bf13mr11905493pjb.194.1610734439437; Fri, 15 Jan 2021 10:13:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734439; cv=none; d=google.com; s=arc-20160816; b=M2yiHdR74lawmEQd2IBLyd936vJxbWPanrgqeXE4mZbwQUgqTFvvHcyTT3htyP6LPT sjDke68NkHckFOBSFd3xQqIzP/Rb96d+Hw2HNmVqKrMKcxkF7vGnqrAUTPj+d0P36Mi5 hmj/VIDkpJ9/92cRK/xb8MPHYWLhj38evF8m64h+2NUZpETng5a9ru8TXYgig0Lg3b3f hCYPSd6nBC59xKxRxIPM08gnedVUWpl+9rE62SW0JcvX2ohq+kmNJkpc2RRvuz7vp5rE R6137YiVdHiv9cfsfdEAPjOZPA2yQampUn3w7gbE3V2VCL31e6amAUJRbMCu5tjh/kl+ +dKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=FQxFntN1NQUobd4oKo4a8mE0jkP0micjX4uERXg1j/A=; b=SNKFey3W1lFIBPeM0MVn2qAQlUVEJDHxyyb5mITzT23Uh4a+8CjMrCK5yp7ktDKLSC xbY+Tf+Xx5vqrc7qmFoBAgq+4bOOeugl1j7Zm5EOvKtC/ql/2Uu8iDGQuSjzVKp6iP5m ct0XHPN4CtSXH6GJOb6vFxQ9O69lh5YnT7X0e5lZYPf/6nepdRJzOQsscgtLQk8uZHQl xwCkvjnSpFaEvdoknR4WlIv47UMcBKpuY7owjd0vn749BMSMhUxVIprANf1B6+vaIYmT wnY2W5s69lX7Gw1dvMVmyubNSQ2rGrDq+bHgNDijYtaB3mMfRrAEHGxjMUGvXD6Jef47 kHng== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jjY6jrbj; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id j18si10699980pfe.133.2021.01.15.10.13.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jjY6jrbj; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 970406E486; Fri, 15 Jan 2021 18:13:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by gabe.freedesktop.org (Postfix) with ESMTPS id 447C66E479 for ; Fri, 15 Jan 2021 18:13:39 +0000 (UTC) Received: by mail-wm1-x330.google.com with SMTP id c124so8203629wma.5 for ; Fri, 15 Jan 2021 10:13:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xM/nZ90UZtBcAp5QNv/pK0XIOjFNxIv5JhwEyUdhjVM=; b=jjY6jrbjNmOrQiQDYOGRkAAIiAp/6KDE3vmYhx4DqYAVJjpaPO83rezynTkZus38Qc t4wRn0YT/RSRwfnRTuWoEOpz/oXXr745uuuvPdCu+12MhIBHFSt2gJEvgsBLyW/9NYTv ly0ALvUs7CphR/MaClnLwLV8D5t+U1d613DS5Ggu7iVr21IFw0AJkn2+X1AVVVnIYVy7 g5brib7pVjxVa/FshrKlb7Rwar9BQtK7rSn4J+HPC4TEdSofTkNVdXk5EfoJXoj/pd6L QoZ0ZMeczQrR7iFB5Q3YWBBBQnw5ClVzOK+CTQ2dAlRZP7Yi5bldSl6piHZfCrjplOtm eoDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xM/nZ90UZtBcAp5QNv/pK0XIOjFNxIv5JhwEyUdhjVM=; b=VwbqsMt43mxEonq783xb+8ujdGIKt/1om4vRXtTMzMPVI/cgn7oCYRLJvjo7t8jqum WsQYvf932il0qkV1wMG/xiw9uBqG4EOjhA0+rI4Ti4ZekFdcgUM9pBFnpi3XMtija5Mh TG48xY8d7mpJujtBGsCPcYUuV/Jn85jAjVbz3vBbITVmH7PRiW1huMy0UD6LABXcQq67 4nMemo91gZsTri2iujtPLtaE5bbX8R+js0zUMJo1gKtRmB9SjS/5VVk1i5Q/NYGyBcns lmAbj56PBGapaE0JXjkPdORKyQlT8uNvP63E46pw2XJHsEWJ8A3XqRwI8thwSB7zafN8 dE+g== X-Gm-Message-State: AOAM533MaI3y9gvz78riVvyWk++nUQvEToTRoKoESHs6jYsvP6KgBnqT /9uzzZUe9ky0rWb4DDPP5q4UmQ== X-Received: by 2002:a1c:356:: with SMTP id 83mr10209410wmd.31.1610734417929; Fri, 15 Jan 2021 10:13:37 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:36 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 14/40] drm/gma500/framebuffer: Fix some possible doc-rot issues Date: Fri, 15 Jan 2021 18:12:47 +0000 Message-Id: <20210115181313.3431493-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/framebuffer.c:171: warning: Function parameter or member 'obj' not described in 'psb_framebuffer_init' drivers/gpu/drm/gma500/framebuffer.c:171: warning: Excess function parameter 'gt' description in 'psb_framebuffer_init' drivers/gpu/drm/gma500/framebuffer.c:212: warning: Function parameter or member 'obj' not described in 'psb_framebuffer_create' drivers/gpu/drm/gma500/framebuffer.c:212: warning: Excess function parameter 'gt' description in 'psb_framebuffer_create' drivers/gpu/drm/gma500/framebuffer.c:262: warning: Function parameter or member 'fb_helper' not described in 'psbfb_create' drivers/gpu/drm/gma500/framebuffer.c:262: warning: Excess function parameter 'fbdev' description in 'psbfb_create' Cc: Patrik Jakobsson Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/gma500/framebuffer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/gma500/framebuffer.c b/drivers/gpu/drm/gma500/framebuffer.c index 22c80e87aeb41..ebe9dccf2d830 100644 --- a/drivers/gpu/drm/gma500/framebuffer.c +++ b/drivers/gpu/drm/gma500/framebuffer.c @@ -159,7 +159,7 @@ static const struct fb_ops psbfb_unaccel_ops = { * @dev: our DRM device * @fb: framebuffer to set up * @mode_cmd: mode description - * @gt: backing object + * @obj: backing object * * Configure and fill in the boilerplate for our frame buffer. Return * 0 on success or an error code if we fail. @@ -197,7 +197,7 @@ static int psb_framebuffer_init(struct drm_device *dev, * psb_framebuffer_create - create a framebuffer backed by gt * @dev: our DRM device * @mode_cmd: the description of the requested mode - * @gt: the backing object + * @obj: the backing object * * Create a framebuffer object backed by the gt, and fill in the * boilerplate required @@ -252,7 +252,7 @@ static struct gtt_range *psbfb_alloc(struct drm_device *dev, int aligned_size) /** * psbfb_create - create a framebuffer - * @fbdev: the framebuffer device + * @fb_helper: the framebuffer helper * @sizes: specification of the layout * * Create a framebuffer to the specifications provided From patchwork Fri Jan 15 18:12:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363674 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89040jap; Fri, 15 Jan 2021 10:13:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJxGjnKJkXs3mjGuuzvxRggTcZFAsEZEUP450Ylikg/3h/KkASCCw7+uMyKdSYiC1VWNKMnc X-Received: by 2002:a17:90a:d24a:: with SMTP id o10mr10135289pjw.160.1610734436619; Fri, 15 Jan 2021 10:13:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734436; cv=none; d=google.com; s=arc-20160816; b=q0ENs7knxR21DEz1ao9/oRsRvCzDxgdfJxkL7Ayw0ZIJ1OaYhXNtvuoprDaieaHX4T Gqv+J8FiyI/SE7TzKebdA83Z2cl6QnU8ygpT7PZ+1+U5qJztg+bR4YBhaT99pKDNnQ58 InEWQ2mcl/OnWZr5waqNrrHiKwvwZ3eLKpAR68sRv1Fkg/klqsw/HJxV714H/oLgnEcJ gsF7zrrZAOzqbsdnL1hNUp5tKQNFwv09GujdvB+zaY5BGxnZRoFiHdPlDQhcE3Oloyeu EcMK2adbLKbcmA7/sxCals8hxuxxMZPuMAkcWVNNoV4xGa2CKuVL22jf3F5KTba422Tr EbTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=0SDxdoE6EDIoTy/zjbRBXkSu+Zulry6EkpazEA83LD8=; b=pC3KqlyTKCddJ4LIKNQuKtlmEbhKa/YIWaBfZ7KAtMmUNmnnL+OdcpJAdDjBunvwpr taP9H+0I8z2c96hhUIUqIZBPX7bNYAzx0glF1fu5fzi/zi3rRY0IQc7FlZP9+BiTvz/A OvBCRzfg5dGCw8YwDyssruaJHurBKehw21Wx+mRsMyeVLxTZOD47HYsosI8E7WMyZv8b VDJBooHjpRat85o2PWabdLu/NuavqLTDAQfek5ftVLVxvxn4UH1EaJTiNnQiobAJ7hP5 F9M70PFc+4TBTXfIwKuwrCIAa9DWyx4IMJ6J4KKdAknn2TBcHbNNnFH+pknDOSUTzmVi 6Wgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="uF/0vIlB"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id q22si10968773pgl.28.2021.01.15.10.13.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="uF/0vIlB"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 30E336E47E; Fri, 15 Jan 2021 18:13:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by gabe.freedesktop.org (Postfix) with ESMTPS id C62736E486 for ; Fri, 15 Jan 2021 18:13:40 +0000 (UTC) Received: by mail-wm1-x32d.google.com with SMTP id g10so8392548wmh.2 for ; Fri, 15 Jan 2021 10:13:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=J8jnXbYZh9fQLGbXGQ/O0REzwyF7YhVgi5AkTd6twPI=; b=uF/0vIlBVC846lYN4HISdxnnS7K8yJ+3K/lfoibQMwkvdkdW1pKP/jh6fQ3gVoS9DA VIwmyj5LSrRc/XtozbDaXoUExRLAfyrQOFdiV/o1k3v32UjqQXeZ02YrXYIwbJ418a7X KGMiWIg3PhKnYEnxeDp94ruSxvdzn1VRb2iUPR1NKnkGlOcnpOgbvmHn7jucnhF/CO1X Vv8mqhwmgXj78y3TC0NcSG6YV3Udw6VRK6/89Hp2/XetCnbN5nVwvc4e7racI41l8zAW Y3CFATlEdyGbecMlUCoVJ6U5yJMiFQvDwf/ziz8hJ0s/wpbJe6M9MEfGlReSz0+cFrDn q2IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=J8jnXbYZh9fQLGbXGQ/O0REzwyF7YhVgi5AkTd6twPI=; b=fs4AyHGRZyRhvWdOSAXF4IWhI/Q/XTI1uuSwGh9ChEKC8MN5wdzQG5fdqdjM5/ipuH 14aj05futOEpJg+6r7hNrJK4f7uOxhkV2umBd15mRheOy1EZ1z7jEC+h8cWpsxij9+65 w+VhHeVJFy4BLnrIwm/pqj9ZGibhoqUc1U6QrN/kMy1TVxtyIWmHHgUnbir64rjIVu/1 iyRaq0MWDwLuqahlM3xjUJMU9Dg4JXnpflAWcegJodv3pGf3GUMrKlb1VzZF/c4hDi/8 l2yFaeOT05A34cxfAlUlv3qZyeBrHknj0vTbWbxL2LLLWWbPK05YIAbXkgcqka0qu39X ocjg== X-Gm-Message-State: AOAM530EJOgXZ803YGAL5QPH2zNK6ESM4X5tpLiAj0H2j9ea67Ny6pi+ pT4qkN5lDJ0RcE4i/DhU44WzHg== X-Received: by 2002:a7b:cf08:: with SMTP id l8mr10045620wmg.189.1610734419371; Fri, 15 Jan 2021 10:13:39 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:38 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 15/40] drm/gma500/gem: Add and rename some function parameter descriptions Date: Fri, 15 Jan 2021 18:12:48 +0000 Message-Id: <20210115181313.3431493-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/gem.c:57:5: warning: no previous prototype for ‘psb_gem_create’ [-Wmissing-prototypes] drivers/gpu/drm/gma500/gem.c:59: warning: Function parameter or member 'stolen' not described in 'psb_gem_create' drivers/gpu/drm/gma500/gem.c:59: warning: Function parameter or member 'align' not described in 'psb_gem_create' drivers/gpu/drm/gma500/gem.c:110: warning: Function parameter or member 'file' not described in 'psb_gem_dumb_create' drivers/gpu/drm/gma500/gem.c:110: warning: Excess function parameter 'drm_file' description in 'psb_gem_dumb_create' drivers/gpu/drm/gma500/gem.c:135: warning: Excess function parameter 'vma' description in 'psb_gem_fault' Cc: Patrik Jakobsson Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/gma500/gem.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/gem.c b/drivers/gpu/drm/gma500/gem.c index db827e591403c..5ef5480f999e9 100644 --- a/drivers/gpu/drm/gma500/gem.c +++ b/drivers/gpu/drm/gma500/gem.c @@ -49,6 +49,8 @@ const struct drm_gem_object_funcs psb_gem_object_funcs = { * @dev: our device * @size: the size requested * @handlep: returned handle (opaque number) + * @stolen: unused + * @align: unused * * Create a GEM object, fill in the boilerplate and attach a handle to * it so that userspace can speak about it. This does the core work @@ -97,7 +99,7 @@ int psb_gem_create(struct drm_file *file, struct drm_device *dev, u64 size, /** * psb_gem_dumb_create - create a dumb buffer - * @drm_file: our client file + * @file: our client file * @dev: our device * @args: the requested arguments copied from userspace * @@ -116,7 +118,6 @@ int psb_gem_dumb_create(struct drm_file *file, struct drm_device *dev, /** * psb_gem_fault - pagefault handler for GEM objects - * @vma: the VMA of the GEM object * @vmf: fault detail * * Invoked when a fault occurs on an mmap of a GEM managed area. GEM From patchwork Fri Jan 15 18:12:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363677 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89129jap; Fri, 15 Jan 2021 10:14:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJxBU1CN4JLu/A4kvX1nMCRrHeZ7zoGevnH63mEH5qo81Ol7xET4v8fnwk3vVB8dnj+wjSgV X-Received: by 2002:a17:902:758c:b029:da:a6e1:e06 with SMTP id j12-20020a170902758cb02900daa6e10e06mr13593246pll.67.1610734442911; Fri, 15 Jan 2021 10:14:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734442; cv=none; d=google.com; s=arc-20160816; b=Hu2pgA+mkOxJLvo7qMhftKsaz1N8nclkLbYHtRUFwCz/kCdG4N6EojuuXfI/2lV/Hc wHOf4FgZ9lZkAD7SEEMspVUx+CfOs8kHBAbxbseEGHGkgJhRDfzXLtwBHN2K/E9dwSLT j+CeBBnvVxq5/MJnhUokP3h8EcK1BLDPHCfKGgqDP+lySVS7HGzaLViU9uRRDk5CdwEV cOk5oWR10gOE3Hb4YnFbYaU0MsvYmR1PzRejmulitv8OdeHnH9Fz5JATwBG0mK+16ATc GxYVDZTFaVgCq7PoEzczBF5Yb2Y3vTX7nmo05pNdqzFiaGjqfT8XVRdoUCmrN7HwQB9B o37g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=zQpBSdDGLcuR1dQRZi/BzxCfZveKxZgCb6TvFqntxxg=; b=l2/8Fz51JvY3DdJBEm82xqcHjnQU+6bMQyq1XvGDIzT/hcIMpVgOVtpXeSKZvFTDDC dQkqy8toRyEkAnCYw3wShopkDnf13Rz0WT+SpS9Gcwv5Bq6LDktkbrLw99Le2FaZBsXH M1Y6nbBwngj1XoI2R9kw9Lld6xgj53s9R/Ab+taycAyl8WXZDQIJQPuJ7v9EzP4uFSzq stba7/pyMEt2037pocJOlF7jnNq4UlrqKW3bfgn3I/wuAg6DPjfjjdqK1+xZWsZG8HKY t72jF4Opl/LDnqf2/DV0ZJRja04nnNzbRdFWVSrw1yh1+E1XnnT+HnCptrWkjmSMZTBM CoLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=U8irOcup; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id r1si10122401plo.283.2021.01.15.10.14.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=U8irOcup; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0B0286E488; Fri, 15 Jan 2021 18:13:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 90E726E47E for ; Fri, 15 Jan 2021 18:13:42 +0000 (UTC) Received: by mail-wr1-x42b.google.com with SMTP id 7so2966410wrz.0 for ; Fri, 15 Jan 2021 10:13:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fYtw8GzoU8Bqr/iSnXTLs/UzdpcC7+8OaiBwfsZ40Oc=; b=U8irOcupICW0AmAfXBUsHfVL2wyDZgSXZaObAH//1x1fRMn1cg1To4KbPNc5oTas1c apyd8AV8gA6lEiNxVwlntq8O/K6LORf9JQhFMZ18wqw2aYzxYeHPD69K5vZ7lLX3pWf3 9KrGDXnG8CKL/7C0pIiBtaML3+s/HHkifHwl3ZCSwnQLeqXuU+k/A6BrZmP7BUWf9iJx Gw0bof7iS/mi53tvZmrFuhxB8rPE8DwM3m3P325uwrmUYMF2vXLq+3QZZU5kEN74w9bT zL7O8AojKXlr0DS1tU3U5WOy4IU/UJizeFIaJWuvtY0Ls/UrPhlKLFZ13UOquviqGxem JuOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fYtw8GzoU8Bqr/iSnXTLs/UzdpcC7+8OaiBwfsZ40Oc=; b=Sts9IY7HjVyT2nAqguq4PiK8zK8h9MHL0pd9BJLpNg6WjuSaE4zVgglgemNFOxhiTI y80ty6fiSMZZ6b+iEkUSJ6NFJkdINqyFJ7FAmUJxXhoZo2b14VPI4PVISN5rRCNy7pcJ 2/PnXkp11fxzKlc4+ooqTWt5S7UgrSy8Pw2ZrIasCp+IAl5eJqwuDw1GRKAdHU/Wqn3O UNN3yQc+OPHXfp/WmTxh1xBwL7BEQH9TuhdQHEZAOk0Ow0Ju9iiKexnURYzv/R1DXj5d /AJpMWSL9QNIVE21Ec3BVnTqVkGivE6cAy+imBZ8Otam9m/LYaCiPci/sKN7FqRx4ShU yIVA== X-Gm-Message-State: AOAM533sAYnT/dFvOj6hI9lCwMC8A7OziQcNQpc2hQ+ppxPov1A8G8yQ hfTRQa2C2n1UUgzsi4emaWdEJQ== X-Received: by 2002:adf:c444:: with SMTP id a4mr10946428wrg.164.1610734421283; Fri, 15 Jan 2021 10:13:41 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:40 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 16/40] drm/gma500/intel_bios: Demote non-conformant kernel-doc header Date: Fri, 15 Jan 2021 18:12:49 +0000 Message-Id: <20210115181313.3431493-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/intel_bios.c:581: warning: Function parameter or member 'dev' not described in 'psb_intel_destroy_bios' Cc: Patrik Jakobsson Cc: David Airlie Cc: Daniel Vetter Cc: Eric Anholt Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/gma500/intel_bios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/gma500/intel_bios.c b/drivers/gpu/drm/gma500/intel_bios.c index a3b843316f4e5..d838369f01194 100644 --- a/drivers/gpu/drm/gma500/intel_bios.c +++ b/drivers/gpu/drm/gma500/intel_bios.c @@ -574,7 +574,7 @@ int psb_intel_init_bios(struct drm_device *dev) return 0; } -/** +/* * Destroy and free VBT data */ void psb_intel_destroy_bios(struct drm_device *dev) From patchwork Fri Jan 15 18:12:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363678 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89149jap; Fri, 15 Jan 2021 10:14:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJxSMjFP6nU5aMY71EAwQOpxopWGrqkY5P3t2NedxvfgYTIJFbz4In+38c/9oiWJu5rlGuXL X-Received: by 2002:a62:115:0:b029:1b4:c593:acd4 with SMTP id 21-20020a6201150000b02901b4c593acd4mr1565703pfb.2.1610734444911; Fri, 15 Jan 2021 10:14:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734444; cv=none; d=google.com; s=arc-20160816; b=0QxFEfYmtwu8LVeQA4dxKLkuyKPNlxa2XGY6VDXKDbWI6k5++PN6cAAUw1pqL0Ct/E zdlEvCQI50iJVIPo6Zhw0egfMjc4wxLFz3EHNU5GAuPFss8FDP9nlyFQSZex5DKtUUVB tEIaq1XHA9llRmxiv16+LsqMJOiySeHCNNgOX2C8ob5yYTijjNIYUIB+XN27JO7zs6wQ f9iQspbV063adgboV/MyZMY8eDFb8BHpLFHKQCHI2ya7pYLUGRBN8CwV108zRBfcJwuq pEMoQqZ8iUaDZgwIrWcP90lf1UkTtH/XIfxyyVnF2Gb2I6tkUB25fNfhNurd6jY07zQZ ZT2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=XwiUFuSpOhu4IsY1RCsJXKT3wOf8/a4ec8WwqKLNuT0=; b=Qi4Ru4hZvEV66QrLP/BEOQHKl31+Ela/kbIhDDlpAmzoevGG/NN0aki/r153/ShT43 oR9zvYkvgTUACqT23U7AR3VdUGbh4twFNO7/abmyYc55imIRpDVLoXcMpstaM0EtwJTH aJXY78rzq75I64txnSTNjoaMQq2o8lwNRsKTfHO55Hz9fhlpMENVW1BswlHpo02E+AoS X8cdwQroR/dG7SUcIRUt6kSlhGMefvn7UvBpnvwpJAYdIixQrgLn9Hqt/eN7ZKI8pKrf 3OGpv5no2i3Sv5N8D8r2YQgIH+1u7cuIxxlGPjpW+pH6l1fMDJaudkwcfwarSE/ImE2e g3JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="w9NoGSZ/"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id r12si10719053pgm.453.2021.01.15.10.14.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="w9NoGSZ/"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2F3AF6E48C; Fri, 15 Jan 2021 18:13:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by gabe.freedesktop.org (Postfix) with ESMTPS id 662666E47E for ; Fri, 15 Jan 2021 18:13:44 +0000 (UTC) Received: by mail-wr1-x42c.google.com with SMTP id d26so10187389wrb.12 for ; Fri, 15 Jan 2021 10:13:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2Sf7UxFKe3Y/0LIWjexcpC2JdFLtpHY5KwvFx7/VFjA=; b=w9NoGSZ/l11wfSZSeAI4t499CVHwCdmjQnsIudKi0BoQ1Qmcl/PevP5g/9yIqF1VZI zNb7qldTqI8Z8+nqxO3I0vxh6xYD4hsB/C1KIT71zz1hTeHDc3e1oztvaUrGon+1UwRd wPbyfic0PGsGSerU7GReFRPZW0JhETAtUZYpzyB/nM76gZBnlCXcJH4OZsu6Pslu+mha gjkrHspJ9en30gn8UHW92S0gUfchzdIRqmXAMzN+iJqizZAEc9UftalWpWiYmcZE6+/l 23zmbg3+KPPZKhAiwhCoWV1v56PowvyZ96BIZLbFruHIadxswgoFKCDU85BHETPzOlmB 6LBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2Sf7UxFKe3Y/0LIWjexcpC2JdFLtpHY5KwvFx7/VFjA=; b=rqd8FVqXUIR+yUpwS+mUwVj01tiCNSdLjajq5rZv4RXm13bNgY1RxgyggBZxuFFvgH KBpAKMknNKKS97+dibnjIUxbHoK1TJ0mIL/KsNDFX0gl+5ppG54xJZlOZiWhuViQ9INm l420CraXN4jf5Xb3Hjrrd0oPbg92eRDTPR1A0BaBNDKCBMTyXMklO2NuRG55+9m/3wXP p84/U+Y8AdspqGTVi6GHfix+I3NswZWf4ITfY7eSSE+BsXdgT8m3jnYthxJuWvm1AsCw daE9aUbQ61cC0one2NWllH+WO9hMadTjuqaukKB0A0BmXYsOG+5QLGYr5mti7mhIS51H XeEw== X-Gm-Message-State: AOAM530pDslfB7QGSM36bobVowJa9qjDaK2BH+TzqEzZZFa1PXe1zGJ/ pCNPiHqbsy0HmzgjeeS7vie+3A== X-Received: by 2002:adf:b1db:: with SMTP id r27mr4599002wra.125.1610734423051; Fri, 15 Jan 2021 10:13:43 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:42 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 17/40] drm/gma500/intel_i2c: Remove superflouous parameter description and rename another Date: Fri, 15 Jan 2021 18:12:50 +0000 Message-Id: <20210115181313.3431493-18-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/intel_i2c.c:108: warning: Excess function parameter 'output' description in 'psb_intel_i2c_create' drivers/gpu/drm/gma500/intel_i2c.c:153: warning: Function parameter or member 'chan' not described in 'psb_intel_i2c_destroy' drivers/gpu/drm/gma500/intel_i2c.c:153: warning: Excess function parameter 'output' description in 'psb_intel_i2c_destroy' Cc: Patrik Jakobsson Cc: David Airlie Cc: Daniel Vetter Cc: Eric Anholt Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/gma500/intel_i2c.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/gma500/intel_i2c.c b/drivers/gpu/drm/gma500/intel_i2c.c index cb92f24e6f1c5..5e1b4d70c3171 100644 --- a/drivers/gpu/drm/gma500/intel_i2c.c +++ b/drivers/gpu/drm/gma500/intel_i2c.c @@ -85,7 +85,6 @@ static void set_data(void *data, int state_high) /** * psb_intel_i2c_create - instantiate an Intel i2c bus using the specified GPIO reg * @dev: DRM device - * @output: driver specific output device * @reg: GPIO reg to use * @name: name for this bus * @@ -145,7 +144,7 @@ struct psb_intel_i2c_chan *psb_intel_i2c_create(struct drm_device *dev, /** * psb_intel_i2c_destroy - unregister and free i2c bus resources - * @output: channel to free + * @chan: channel to free * * Unregister the adapter from the i2c layer, then free the structure. */ From patchwork Fri Jan 15 18:12:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363680 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89186jap; Fri, 15 Jan 2021 10:14:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQYhxeEanyBmC0/s9jvkBGzSBN0As0iw+dkUBjWz6NySJMVwZAAFlFoFAidn5iwq9JiC7Z X-Received: by 2002:a63:101d:: with SMTP id f29mr13695429pgl.165.1610734449000; Fri, 15 Jan 2021 10:14:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734448; cv=none; d=google.com; s=arc-20160816; b=w1ky9/SJq5lfOx4yshPDyzTxXy10pAmLLTSplcUjBpMA8QtgrWPiuxh0lgDe1og8+9 sMJlGGtf3zf20NP2f0BDkXep9dnag8IkItr1gMFblSzbDm6pj3jQ8DzJDjKywAdD23WT Iq5tlnm9vFNqo9vPhp7g4BMlhZrG7ybGoXAg6upr3JHLbnSmEPwgrZAT+SDdloMJR0c7 ImZSVekuc4kFpaTuhibFFtNc1/TjPmd+k5IrO+ArAw29WDmbRIplShULcYeGiSxKeIFz J9UrMmQzLj57y7I7CViIgJWowNq6NN3pBSAgQQK5Dm086NUuOd68NFDPbzcucpib1oIr YobQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=G3vI+7cKQ0aSh5I7EE5M0l+B5MH/zX/WIGZP25IngG8=; b=KzXbCzAAyk/w6iFgGE7Hmj/ms1kFX5cO2WkXko9ObqLZ0L6eHIwdhyEyOimXkRr3V7 fAlLBXCM0+v0X8t5n9rp/rnoo4WiB50Mv8M9JPo617/S1776GMlk4g9qW/dEjFMszJ+k ekWEbdYfu4ARaqdFNYPgZ42e8tBtvqRWiXefs5xNNAm3awSVu28ps9/QEG+FFzufHZ2w 3H63QuyujdQvpqd3Oek874k/shoQT+o+AXLhK8bUAlZj+NPQvJ9a6bOx201XHivUkSdV ZCf6Awa2MgsvcRxKcaDEnhF2XW4bSSibEvroY/zGkzJcQRt3GeHX76JRy9MtdvRBMcsI 6SEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Si13WZnj; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id o37si10440191pgl.473.2021.01.15.10.14.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Si13WZnj; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3BAAD6E487; Fri, 15 Jan 2021 18:13:55 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by gabe.freedesktop.org (Postfix) with ESMTPS id E00D76E487 for ; Fri, 15 Jan 2021 18:13:45 +0000 (UTC) Received: by mail-wm1-x32e.google.com with SMTP id h17so8029052wmq.1 for ; Fri, 15 Jan 2021 10:13:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1yMxGlPEfyzvXa2UJQqEx7ekNRCoKDflK8zni2fkeUs=; b=Si13WZnjdkXdJogyfDIMI1YTp5PsWFLMpQMp5+G1UHdeypDKUAtv7h1aQEV+fImecK ivSNlCJIoBYyFxMYvF1bmuFw1vIxMuj4SR40JJeDLZlAs6g64j6LnFt4NvHwvcgEXMOW ENqxiXMpECNBXjjUQGYMobSUGV+OaIWcCeoOlBdlJpAxvfKp84rV1MLqS6vr6wlsWtm7 PejC1um/TxCI8YN3jCuYMgatzgnru0/ZU+o1W4uLWLXLXZKw/076lH/ZMRK7Kw4kbqY8 Afdk/FKH7TM76838J/DvbxysuQMyJrWeU70SfyL19qyQhEy0/8EKcpxgfbdtvNqDOrL9 F5bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1yMxGlPEfyzvXa2UJQqEx7ekNRCoKDflK8zni2fkeUs=; b=U6SEQBrv+vXe9NdmxZK90OwywdjefdD1WFNsejJ4jMiiu0OCIHdLW1SzfApwvsIf6u OoKkmUD78//+bpg0JaKke3q6hTyOBxlS3hNHBnJJgYfjaGdoEDIQZ0WGqPGlGcUCdEHQ fDLI+PbExe6vnOhiZw6IhFlupBsISvKVhZdr+85YHn9KG7udY04Ckk5wsOQJLspcyAQa ZsHIKzjZIY40P+8jz0YqyXy+Oj7CdVkrO6y5hzOJTm2PFAO10GZEaHtgPR4lQMkW0yoC tbe4gKNTmsmizdgcZo85AnKdI8M21Vk9vj3DpFbrJy3ulr9zX9kjHqErkk7jaQAmjgwo xpDg== X-Gm-Message-State: AOAM532gF1t2lOKLvvjyJI8BWuvTuljs03LZ2SQXCsGjvAReDss+yUQV lH9XkhsmnNDJWPIm6pDFkEzoaA== X-Received: by 2002:a1c:68d5:: with SMTP id d204mr9861675wmc.178.1610734424527; Fri, 15 Jan 2021 10:13:44 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:43 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 18/40] drm/gma500/mmu: Make local function 'psb_mmu_pt_alloc_map_lock()' static Date: Fri, 15 Jan 2021 18:12:51 +0000 Message-Id: <20210115181313.3431493-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/mmu.c:316:20: warning: no previous prototype for ‘psb_mmu_pt_alloc_map_lock’ [-Wmissing-prototypes] Cc: Patrik Jakobsson Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/gma500/mmu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/mmu.c b/drivers/gpu/drm/gma500/mmu.c index 505044c9a6732..42b53c01b79f4 100644 --- a/drivers/gpu/drm/gma500/mmu.c +++ b/drivers/gpu/drm/gma500/mmu.c @@ -313,8 +313,8 @@ static struct psb_mmu_pt *psb_mmu_alloc_pt(struct psb_mmu_pd *pd) return pt; } -struct psb_mmu_pt *psb_mmu_pt_alloc_map_lock(struct psb_mmu_pd *pd, - unsigned long addr) +static struct psb_mmu_pt *psb_mmu_pt_alloc_map_lock(struct psb_mmu_pd *pd, + unsigned long addr) { uint32_t index = psb_mmu_pd_index(addr); struct psb_mmu_pt *pt; From patchwork Fri Jan 15 18:12:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363681 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89208jap; Fri, 15 Jan 2021 10:14:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJxgY4XNX/AKQg1CiNFy+knqM8y2Mr+pfSaPrHDVHIRH7zXbCNBivoZ6r7JD7/UGeJER/MyR X-Received: by 2002:a17:90a:5802:: with SMTP id h2mr12234248pji.68.1610734451129; Fri, 15 Jan 2021 10:14:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734451; cv=none; d=google.com; s=arc-20160816; b=DwUOTWXoAgscFcSFf8oXD6MJMabWz8VWVTDc32iQV4OYxMG2Yy1VvImBpJSit+gv7h ykVHl7cH8FjzCXIXAX+Kz5Cs96PNWSCXQHPofLuoU2fVPfM8kdO0HKPw5ijFoOrIeEv0 Z03+e74jKnxuk9m0jlpIefe3jeijARDRdzFb4/j2G4CSx5wMWS3Wcq3u1YI0LRl1BDTx zrC2UoVCrq0oZq3Q93jUUwj0SmX6NWTyXLfQRWUvvDry76NbopuyGfIVqtcaezJsuJgA ThQfbmqwCk/X4YLqyVher8rccztif9Q8ehtjojuMuId8F1k2tF6nFyBfIyZssbTcw0N4 g5Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=dNa04uT6pTWVlqsBVcosNvvVjKnhb9CTMUvwi1Kxfcw=; b=xIm4e9fLY6Orfd+0/r9kZp3eBRHZD2FsW7K6trQyyMpe8poMaJAS92BuiiliscX0zs q+8ATSpOB84HulsQ6V+ffqz9qKKzkVvNP7Erb/gXx5BtV/jZpAD+vhGgmU6Yb1GWOYpt aE3am1vMTV9ztrb2rsCvVBQaEzG0eoXhhH8hSlgU3Rb4X174RhgiNWFvtyJcHcKp0z+K ouDreD5Yua5nCxK/QjMLMrSVo8uWHv1jcoWvVsQUcjeFassVJGP88y+4VHdXGW7FBIHG qEypLbffA+cN0LejH1bKiXazIVZdz+hv9tc9gYrbdjuDcCUICz3KgBpIU6rUCmbwGeI5 /BSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=eVFjcBEj; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id c17si10142030plc.89.2021.01.15.10.14.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=eVFjcBEj; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A452D6E48F; Fri, 15 Jan 2021 18:13:55 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by gabe.freedesktop.org (Postfix) with ESMTPS id DF0916E499 for ; Fri, 15 Jan 2021 18:13:47 +0000 (UTC) Received: by mail-wm1-x32b.google.com with SMTP id o10so2358861wmc.1 for ; Fri, 15 Jan 2021 10:13:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JrCpsOWXkuV27y08h0Q+/ggDFvdkszKPoUD+Vqs5v1w=; b=eVFjcBEjg45hUFWoVNeBlMVtPQHjgY33qJV2wsQfY8RkMAyofnRpc0YZ1XYm+r0A7Y Zbtu3nTeYVVwJ0jgnSciJOe2iz1iAebYEOimoRIIy5WqtDESpunxBekCZ7xDMWEMoHdZ rLV9mZvOvRDJ/dBtu6HIjJtJSljsv2pn9y+p2be/yBdsXEG3llyBDmQekQKxQLHH9D0i CfIbL+qXIcylUVdMz/dkHb1N+PS3jTYTpb45WnOA47U6ex0lSL88A2NUfuFPAH8eaqOV 4nzXINrDwQoCI00pVGUjquUOFC4sguTTyQTZ6+iOqwYnnbKhsXefFRKH/xVaCVWYkCKc YLlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JrCpsOWXkuV27y08h0Q+/ggDFvdkszKPoUD+Vqs5v1w=; b=qNmeMzl5c3IPOOeQicv5au7wi0J/ieykikKvkbbjRVkRfSQdmeT+OpuAGGI8kCmGTi JqwgPcHkjPmmm37mQySKPJKhctjWXkduAmq5kCRuhirp4iR0iDDyNx4iJJnMytkp6Bh4 Ksrph5ZhL8d4nJjNXnpyTTTVJRhYWEsQMi4Eq9nizJmrn2Qa9gU78BWUgTonm/ggSFjs UsAk9hopSjq2KO4F4iutXkTXlW83c6GcyhFeiQ4KZ8pNtT9nRkx+HYY++oLd8Y+MCEs/ v47tCU0+iKcXr9kre9U1YsTb7nfwAoVqf6/rXCpMpc261PKSV5yGabcJmW1WgOQ4EUq5 1Ljg== X-Gm-Message-State: AOAM530zSABjDmRf6V7riONbZLZPHAhZndEW+VjbXua+0N3jLDtlQzcd uc4RZISwhkFcPwQ5UXjiqswZOA== X-Received: by 2002:a1c:4c14:: with SMTP id z20mr9997363wmf.149.1610734426511; Fri, 15 Jan 2021 10:13:46 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:45 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 19/40] drm/gma500/power: Fix a bunch of *dev documentation issues Date: Fri, 15 Jan 2021 18:12:52 +0000 Message-Id: <20210115181313.3431493-20-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: Rajesh Poornachandran , David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Benjamin Defnet , Alan Cox Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/power.c:101: warning: Function parameter or member 'pdev' not described in 'gma_resume_display' drivers/gpu/drm/gma500/power.c:155: warning: Function parameter or member 'pdev' not described in 'gma_resume_pci' drivers/gpu/drm/gma500/power.c:155: warning: Excess function parameter 'dev' description in 'gma_resume_pci' drivers/gpu/drm/gma500/power.c:189: warning: Function parameter or member '_dev' not described in 'gma_power_suspend' drivers/gpu/drm/gma500/power.c:189: warning: Excess function parameter 'pdev' description in 'gma_power_suspend' drivers/gpu/drm/gma500/power.c:189: warning: Excess function parameter 'state' description in 'gma_power_suspend' drivers/gpu/drm/gma500/power.c:216: warning: Function parameter or member '_dev' not described in 'gma_power_resume' drivers/gpu/drm/gma500/power.c:216: warning: Excess function parameter 'pdev' description in 'gma_power_resume' Cc: Patrik Jakobsson Cc: David Airlie Cc: Daniel Vetter Cc: Benjamin Defnet Cc: Rajesh Poornachandran Cc: Alan Cox Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/gma500/power.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/gma500/power.c b/drivers/gpu/drm/gma500/power.c index f0fc171e6705e..89842e09cd2aa 100644 --- a/drivers/gpu/drm/gma500/power.c +++ b/drivers/gpu/drm/gma500/power.c @@ -93,6 +93,7 @@ static void gma_suspend_display(struct drm_device *dev) /** * gma_resume_display - resume display side logic + * @pdev: PCI device * * Resume the display hardware restoring state and enabling * as necessary. @@ -146,7 +147,7 @@ static void gma_suspend_pci(struct pci_dev *pdev) /** * gma_resume_pci - resume helper - * @dev: our PCI device + * @pdev: our PCI device * * Perform the resume processing on our PCI device state - rewrite * register state and re-enable the PCI device @@ -178,7 +179,7 @@ static bool gma_resume_pci(struct pci_dev *pdev) /** * gma_power_suspend - bus callback for suspend - * @pdev: our PCI device + * @_dev: our device * @state: suspend type * * Called back by the PCI layer during a suspend of the system. We @@ -208,7 +209,7 @@ int gma_power_suspend(struct device *_dev) /** * gma_power_resume - resume power - * @pdev: PCI device + * @_dev: our device * * Resume the PCI side of the graphics and then the displays */ From patchwork Fri Jan 15 18:12:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363686 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89324jap; Fri, 15 Jan 2021 10:14:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJwIpOh8HTgSb6FPAdbF3N/Y367+BcjCq4Ib2aGaoYv01LOl98dhVXU6wu0lsqDfo0IN862X X-Received: by 2002:a17:90a:cc06:: with SMTP id b6mr11914858pju.94.1610734459708; Fri, 15 Jan 2021 10:14:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734459; cv=none; d=google.com; s=arc-20160816; b=WOuon6neYYMMbZGnNltmxaCfglKxTvmIyAFoTdqpipTFbjKKLMI0BDQ3AmNbiU7lFT yK07Hmnhj6JalYzDeHy8OQQpO/HmNE86wK1ukMV91po+b6vlHlUG7Avh38Bg7Rb/ds3a 0dwK0g29ERG4yKX+1n75QiX6Rxz3Msb/NUK2BsNZgmOd3OiEcVWJ8pAK3R10NG6kbA7B gESY/9jvjjA6xsThXZAypj01V3Wg7a6D/WvYbqDpZRj4SbRSBxolcfTW1ksyOj3GuRg4 XoTOzH8NsYTkp20X8sBy2TdV4hPnovt2QdX311kS1Dj9voFGrJR72Q/j9Q08IJOx3+l8 lr/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=R/3YLFGgOxfNm4H8F6PvNUuVGn2Yk0pqINqQ6C5+gqQ=; b=e6g5QnKFdBd7x0WpfEP9vwmArai+HWz6nq73+Bv9hs+YYbyBQegpugEuTy2QEMrShX SFBVIKjoOvyyLevfSZghzMqTna3daBCTFwYgu1VzcfcpJefGdNnnKxqSZE1wA6PfIN6K Wlv0iajzYa5MbAy7RHVUYlZeNZeXEDInx01Td5gres0bLx8yPx4HIgDJt7UQKPj+jMl5 L7hhxAqEETwa9HxHzqq03PBo9t6KiXDYWYCxoVVtJzq8/jVV3BYAO7sfebhLCqNZsunM ZKkhljkcnyQLJe5KQUMAvVUr3igLpbXyXO2k8oJiCXHPTjhaSyrWjtUYCaihzPr4aGI3 Ja1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ueBZVZqM; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id z20si10720056pgu.454.2021.01.15.10.14.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ueBZVZqM; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 974006E0B8; Fri, 15 Jan 2021 18:14:08 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by gabe.freedesktop.org (Postfix) with ESMTPS id 69EE26E487 for ; Fri, 15 Jan 2021 18:13:49 +0000 (UTC) Received: by mail-wr1-x434.google.com with SMTP id m4so10184314wrx.9 for ; Fri, 15 Jan 2021 10:13:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DX8peXw6vQkx3jgWc3AcDMwXWV0VAjfbUs3tjUz1hsU=; b=ueBZVZqMr1lRsNLHjtgml8MUHZ8WPI5E1fhSjTu3fXUJMjMMvwHI/uSOLq9dNiDaBZ l8D48/8MD8sGUTJ7ok+RfTlAepBXTN0/ReLbpyiQ1n5RfIrI7AU71FkZBZlsTKbFbl9C GX699dS+59SbIwW+me01VcUegxQz5X+mAv7xP7fiqrUmFKVcuWVZuN5rxP/oyPjX3Xmb N4jiZhb9Y3K5PK6yRxA1B+pKsXR7dGiJ+EJyQsUhFa7erqWQesY0p9ab6HkI1sTX/xCW pKLVT6RzBila8u6b82o61DhEIKLiKLrfc20PA2LnNCSJ/9d8omqrEejSGYsA5Uprv/26 pQfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DX8peXw6vQkx3jgWc3AcDMwXWV0VAjfbUs3tjUz1hsU=; b=GNRZ/1GwU1hLz+baCE9q8RtRcFgPaqLksg8ZaZAHVQWYn1bLcaEBizH+EgHFWaqE1w mUcuOYuG0OPygt7Ay1FohF3MLIusGv5QFlmhNPcqqSRW3YDzxzsBuSJFOMVhZvUZUzN4 MtuA4+cPoS204JEbwbmCFJBfpOw+ArQUO9H8Lvwi1/22uwN5u1jxZZcIqE+shw2NRWBX 3Pr1+OwgZasASx7HmPSmpG44yxtuTD1TcsXCt0wUp2CORQBhruTvD52q/sPI5Z0niA1u LsOKRx8627zSfnxvIaGGyyXeIF9gVIBJMNpiJYmwb37+ZZ/O5o7nt/a/kNtCK3dDLOhr hRpA== X-Gm-Message-State: AOAM5330zXtamqRQvuIIH0UgOxls9MZWWZA4tgQMprcNpGMrUL9IxRvC ka0jiS1PrJ40AabtrKw2fUn28g== X-Received: by 2002:a5d:6607:: with SMTP id n7mr14020998wru.206.1610734428099; Fri, 15 Jan 2021 10:13:48 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:47 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 20/40] drm/vmwgfx/vmwgfx_kms: Update worthy function headers and demote others Date: Fri, 15 Jan 2021 18:12:53 +0000 Message-Id: <20210115181313.3431493-21-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:37: drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:483: warning: Function parameter or member 'new_state' not described in 'vmw_du_cursor_plane_atomic_check' drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:483: warning: Excess function parameter 'state' description in 'vmw_du_cursor_plane_atomic_check' drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:1069: warning: Function parameter or member 'vfb' not described in 'vmw_framebuffer_pin' drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:1281: warning: Function parameter or member 'dev_priv' not described in 'vmw_kms_srf_ok' drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:1907: warning: Function parameter or member 'crtc' not described in 'vmw_get_vblank_counter' drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:1915: warning: Function parameter or member 'crtc' not described in 'vmw_enable_vblank' drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:1923: warning: Function parameter or member 'crtc' not described in 'vmw_disable_vblank' drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:2131: warning: Function parameter or member 'mode' not described in 'vmw_guess_mode_timing' Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c index 9293dc19a7683..84143b707cd32 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c @@ -467,7 +467,7 @@ int vmw_du_primary_plane_atomic_check(struct drm_plane *plane, * vmw_du_cursor_plane_atomic_check - check if the new state is okay * * @plane: cursor plane - * @state: info on the new plane state + * @new_state: info on the new plane state * * This is a chance to fail if the new cursor state does not fit * our requirements. @@ -1057,7 +1057,7 @@ static const struct drm_framebuffer_funcs vmw_framebuffer_bo_funcs = { .dirty = vmw_framebuffer_bo_dirty_ext, }; -/** +/* * Pin the bofer in a location suitable for access by the * display system. */ @@ -1267,6 +1267,7 @@ static int vmw_kms_new_framebuffer_bo(struct vmw_private *dev_priv, /** * vmw_kms_srf_ok - check if a surface can be created * + * @dev_priv: Pointer to device private struct. * @width: requested width * @height: requested height * @@ -1896,7 +1897,7 @@ bool vmw_kms_validate_mode_vram(struct vmw_private *dev_priv, } -/** +/* * Function called by DRM code called with vbl_lock held. */ u32 vmw_get_vblank_counter(struct drm_crtc *crtc) @@ -1904,7 +1905,7 @@ u32 vmw_get_vblank_counter(struct drm_crtc *crtc) return 0; } -/** +/* * Function called by DRM code called with vbl_lock held. */ int vmw_enable_vblank(struct drm_crtc *crtc) @@ -1912,7 +1913,7 @@ int vmw_enable_vblank(struct drm_crtc *crtc) return -EINVAL; } -/** +/* * Function called by DRM code called with vbl_lock held. */ void vmw_disable_vblank(struct drm_crtc *crtc) @@ -2120,7 +2121,7 @@ static struct drm_display_mode vmw_kms_connector_builtin[] = { * vmw_guess_mode_timing - Provide fake timings for a * 60Hz vrefresh mode. * - * @mode - Pointer to a struct drm_display_mode with hdisplay and vdisplay + * @mode: Pointer to a struct drm_display_mode with hdisplay and vdisplay * members filled in. */ void vmw_guess_mode_timing(struct drm_display_mode *mode) From patchwork Fri Jan 15 18:12:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363679 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89172jap; Fri, 15 Jan 2021 10:14:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJzL0bVqFTJjtdnktF3XcrdiSRWtJAc+0MnyXDYZsfT27sevUdUOUGMkn3Ay3L/wt/nPJuQE X-Received: by 2002:a62:7c01:0:b029:19e:1e23:1821 with SMTP id x1-20020a627c010000b029019e1e231821mr14214632pfc.72.1610734447431; Fri, 15 Jan 2021 10:14:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734447; cv=none; d=google.com; s=arc-20160816; b=gwtrT+rD4iVdqRKAqXhybdgT0cA3JCOtETEfXscIM1cy3dupFg+a/PvUMQd7en131V c3X2tDSZ5suS0WArmkdo1pD3jqa1zueMJKbM5w5GuKMGBV4EpjZJTVToQUlFXRnAX6w4 SUjbNtmMXeWq+U93SfOexiNrAPLCOZDR3DjiZX+su20hV+IfjPr/TBRkLM9DzQyizix7 ZAm+he/qcUR2gLEkVCW8MTe05yx78mqXWO2UCQPCWivUMziDHtMHuip5vC22GAa9tAzs sz+moEdCO80OY5Rq6mTzC8RbOmlTunONjAEwtV346g6+qkDOZH8hETdAm3NIU+F+zV6d LM6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=H8z8X7aEIAtTNw9bHwiP3kQf4E5360xHpE5ckOk7TNs=; b=nC7A2hDwGCNaHZ0zKsZ6Cmh7nF+CiO1VqUUiDGjYpwRx4wv23zyOky/iAwWoabGFJv 1P/Zzzmx3JC7SVBgdbxhqWfwDnQ64HvdfeyejNVr44+5XxQjsK0iURTseKzpX79HACEJ Oy0BKSxb6fSAIlecj4dxDKKmsL+Tl9tPyeGdVipb9a/6RMrUGEKuAngYi904CgNx8DAR ofBIosrOIbPgU2VCoA5Fxkvdjw1CCHbiYyNSwwD/tr5i9NGk4XI64wLan0ZQNi16BSgZ B5zfNrY55dIs8dD9BYJIzdzJa7VQ6UD+pAhg3M43IalKIOa35HI8ggifGvAk7yedbuFm KNNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=NvYZ7daM; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id a81si10970658pfd.294.2021.01.15.10.14.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=NvYZ7daM; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B53336E48E; Fri, 15 Jan 2021 18:13:54 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by gabe.freedesktop.org (Postfix) with ESMTPS id B26886E487 for ; Fri, 15 Jan 2021 18:13:50 +0000 (UTC) Received: by mail-wm1-x336.google.com with SMTP id c124so8204192wma.5 for ; Fri, 15 Jan 2021 10:13:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dP3O8GvG4KjVneRsCzuySK+Xofh1JQYhFAzp9Cmygd0=; b=NvYZ7daMri4pWwZQmsX5ru4VU0SpWalBIl53yLzN3/Cv4z4K9Il8axaTUtk/Mlvcau +1zefGgSce+JpOwuRVKR3bjhjjlic21dn6xpsJbCJKdmtIUTgynojMfsyD1RiRLzRcOS BUazqGqqSbbAxNfZw4rLZ1d+zkIPJuftk5Y/Van2ipPmeFYkmxf5jYJHtfiDr2togNJ5 busT5EsVamr7PP37HD9pDJ//Ea6+P+0UPXBKsSTwXk304J/xX2a3ngh/9eaGz9wRpcMu MW83FaYOeNLaGah3GsQPDVsikgx72qqFoQ4+YNRiBI3lwcFC9yojl5gaQtTx6w54zp3P Vy8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dP3O8GvG4KjVneRsCzuySK+Xofh1JQYhFAzp9Cmygd0=; b=gKdXKv81s8hSfOv9y2fB70q1nhpjCc9SrCyoRgAoPRb4/EgSqxGRq/9VUNWabIw7/3 OXH+VmSBd4Dl83AE4pWUSCR8OOptAUO1nQkLzEX/Wpd5b0xkBuRoHgf76OhS+9nU3snN X+wwMNt9Ur0NZIiFZDUqwOMdtF8lUMTSOqvRyCaJ3J1Oz23RXj5SuwWmjQr+GTNtjS1V RxwtRqXUuKvrrStDKtN7BeoWRmK9hS62r7u51f9Xyr0T7H8v3qR6VlCaU5qn63TA1UL3 s77Cf1kCfxcfGklg0D5EcT1tC0qx0gRv46GFkt58U7OLuoh/p+e07DemrG0Xi7vlSfkX utyg== X-Gm-Message-State: AOAM533SaaCtgagwptaszk9tOLqX5FKxQI9T60V4omK5hnIiIdoPb6JH epw36xmgvSfGLPYkvkiiElSniTynm7Vb6KHK X-Received: by 2002:a7b:c385:: with SMTP id s5mr9873876wmj.170.1610734429439; Fri, 15 Jan 2021 10:13:49 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:48 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 21/40] drm/gma500/gma_display: Demote kernel-doc abuses to standard comment blocks Date: Fri, 15 Jan 2021 18:12:54 +0000 Message-Id: <20210115181313.3431493-22-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/gma_display.c:27: warning: Function parameter or member 'crtc' not described in 'gma_pipe_has_type' drivers/gpu/drm/gma500/gma_display.c:27: warning: Function parameter or member 'type' not described in 'gma_pipe_has_type' drivers/gpu/drm/gma500/gma_display.c:190: warning: Function parameter or member 'crtc' not described in 'gma_crtc_dpms' drivers/gpu/drm/gma500/gma_display.c:190: warning: Function parameter or member 'mode' not described in 'gma_crtc_dpms' drivers/gpu/drm/gma500/gma_display.c:573: warning: Function parameter or member 'crtc' not described in 'gma_crtc_save' drivers/gpu/drm/gma500/gma_display.c:616: warning: Function parameter or member 'crtc' not described in 'gma_crtc_restore' Cc: Patrik Jakobsson Cc: David Airlie Cc: Daniel Vetter Cc: Eric Anholt Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/gma500/gma_display.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/gma500/gma_display.c b/drivers/gpu/drm/gma500/gma_display.c index cadae842a0e9e..b03f7b8241f2b 100644 --- a/drivers/gpu/drm/gma500/gma_display.c +++ b/drivers/gpu/drm/gma500/gma_display.c @@ -20,7 +20,7 @@ #include "psb_intel_drv.h" #include "psb_intel_reg.h" -/** +/* * Returns whether any output on the specified pipe is of the specified type */ bool gma_pipe_has_type(struct drm_crtc *crtc, int type) @@ -180,7 +180,7 @@ int gma_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, u16 *blue, return 0; } -/** +/* * Sets the power management mode of the pipe and plane. * * This code should probably grow support for turning the cursor off and back @@ -566,7 +566,7 @@ int gma_crtc_set_config(struct drm_mode_set *set, return ret; } -/** +/* * Save HW states of given crtc */ void gma_crtc_save(struct drm_crtc *crtc) @@ -609,7 +609,7 @@ void gma_crtc_save(struct drm_crtc *crtc) crtc_state->savePalette[i] = REG_READ(palette_reg + (i << 2)); } -/** +/* * Restore HW states of given crtc */ void gma_crtc_restore(struct drm_crtc *crtc) From patchwork Fri Jan 15 18:12:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363685 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89298jap; Fri, 15 Jan 2021 10:14:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJzjutR81yjRH+W+/LrByi0ram37uksmbeTo+7gT6uCKu/CB13rSspQS4mf87u9gY2iJVQsn X-Received: by 2002:a17:902:ba89:b029:dd:7fe3:ddf5 with SMTP id k9-20020a170902ba89b02900dd7fe3ddf5mr13780487pls.33.1610734458062; Fri, 15 Jan 2021 10:14:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734458; cv=none; d=google.com; s=arc-20160816; b=Z+DOGo/aLvyD/y+RNgJKTH5v9y5M+LAnFkD8VE2B6IiA8i1p9XOWEOA+7JXFHCQHoU Xgy5XQILZoygSXuMoACtGRnHVr5VllxXkfsaipEYkx7BBHyucmtnYQ6TiwvDu56sfLtV utKi0YKjjAOM/8ljreKUrvvq3S1fMacppSoAnsG50cH11d4BWYvdt/L15tX1A/Jpf/g9 M3awxfUqDIyMcR2oIw0fw6+8DPu3cz5dDZaCwS3LkTEuvc5JURrZFGsM9HtWRDLXxWyi RMIKlo8HeD6B9ozZrsmAjJsLWKF2/WHz3TXQGLMmOz9XihIMqDNon/rzVgsX+S+kqHsf 4nMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=LEREHwHiIAHQRM+4htZB1L8PT0oSEE7oYad//bHpTQw=; b=mZlwsQRDwIaEull+Wbc4uOeg16ZkGokzg06txHlUaRPotxe+L8RzX4913LvnP17eJb AeF6nBw/T4lmXPyKaWeafQTAbRRlJRDHUq5EdMcmikmB7DSDM7zjR+/pgJbwBlK8fCvl W8IQcUkqZRW8nHUKhFLRX2dABPNYdYDE1W9vWZjo288LEEFk+Amo2d96m5JMijqYeoG/ zfny5vOFM3Qzc7BiMeXh3eitg3hBweJGJG7bvA9udadocj/LS+hcIDkSxDW2tp8ua4Cz BZNdxN/nGa1zPumnoZvlaHFyat/LCqoNA86lNNQVgAuzIUnoDnXyodvq30x+cRMPtGqH dSDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=oO4p2Qt7; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id v30si10368426pgl.474.2021.01.15.10.14.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=oO4p2Qt7; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DE9A36E499; Fri, 15 Jan 2021 18:14:00 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7B0336E487 for ; Fri, 15 Jan 2021 18:13:52 +0000 (UTC) Received: by mail-wr1-x429.google.com with SMTP id a12so10179302wrv.8 for ; Fri, 15 Jan 2021 10:13:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4aoNCmjio9l+rvMx1zGsBoMkbgJVfYu39oKJNZ/3uls=; b=oO4p2Qt7e2zzJjwbtmcEgQslHf38O4Ll5XneLSPcedcp/U955WUp7OBBo6XiOUrCQR 9bHWdzJcJe3/sydkNSJNTJOreeX4oOTwpUTCktEaWWW8sttfSHXciVTMy22hD9F3+Z7u dla+xlHuqn4W6StDx1+0ZvM8+HJevlmInFOs5KwEZ7Rb6VUMPb9aqqL+XHDsjQMlQlMz a0CdfQ38BCdPa9Y/pkBO7Wo2o6ZeA4Opq/q7PR2FSheFdYQdiLgVB44MHFLilMYiYVG9 ZysciPyZ2KEm1ky3FthuachRs994pMprRdfD9QOSZiWP6Eez1kOX5QFHhyk9YwJhmTEl acgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4aoNCmjio9l+rvMx1zGsBoMkbgJVfYu39oKJNZ/3uls=; b=jaYjZBklGnsPyLEaGs2v9nzBCIAMZReW+2FdGXj0uwf8WigVCtok/PoS4fLeV0Yeax KkisAgzj6rz3yszG94R/uPKfPbNf9TdFTp1YQmGlp6oXxM2nflocu05iwYUToGC0JAmP 1Lo0l4g8U67ZZQpx7zCBdQ6Ec1MqbMHr1kls3es3LOl74pp3PQYu8BmFg3y1hQD/41jI bhPNYD3HD7o8PIHeXDLdfx/3SnHLfX8Ki2CBHE8vaAfNkphLKqdfvwk10E3suHC1IzvH BnRVU7ubMmxrkQi/ixOWgHOl0HSpx5vkIviu8G6WlvcFxNvFT+qpezMley4XxUsmTLuv 9zpw== X-Gm-Message-State: AOAM531Xd2jLeXRe3oOBlX9JrE90gtjh/bZI+PEjzJc1dk3Xe3kHXDt4 tY6wX2oFlLRoIxBS7y22R+O/33qX5O24yRUf X-Received: by 2002:a5d:4c45:: with SMTP id n5mr14778574wrt.396.1610734431166; Fri, 15 Jan 2021 10:13:51 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:50 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 22/40] drm/gma500/gma_device: Include our own header containing prototypes Date: Fri, 15 Jan 2021 18:12:55 +0000 Message-Id: <20210115181313.3431493-23-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/gma_device.c:10:6: warning: no previous prototype for ‘gma_get_core_freq’ [-Wmissing-prototypes] Cc: Patrik Jakobsson Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/gma500/gma_device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/gma500/gma_device.c b/drivers/gpu/drm/gma500/gma_device.c index cfbeb010ede0d..4c91e86f4b142 100644 --- a/drivers/gpu/drm/gma500/gma_device.c +++ b/drivers/gpu/drm/gma500/gma_device.c @@ -6,6 +6,7 @@ **************************************************************************/ #include "psb_drv.h" +#include "gma_device.h" void gma_get_core_freq(struct drm_device *dev) { From patchwork Fri Jan 15 18:12:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363687 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89343jap; Fri, 15 Jan 2021 10:14:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxTFUi1JdxbmWUDlSFYJWbKOysRgx15KLQs5S0Y5y+x6Lug0+t1u6hZJiL3dMl7mXevRMbi X-Received: by 2002:aa7:8749:0:b029:1a5:63e6:56fe with SMTP id g9-20020aa787490000b02901a563e656femr14163130pfo.32.1610734461160; Fri, 15 Jan 2021 10:14:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734461; cv=none; d=google.com; s=arc-20160816; b=Wc/cfMfdWufPiHiy0rMT41nXiGTOb8PNXqZu0BswlVBIaokheyDPsz9fJRlbcNUyIf 0tvdrczGC0RpTOpmmn2WcR+E/Fsgnhn7kQdrs7K/dIo8zZLLezt6qU1sYKoWrW8bSJ90 MgFcbmu0gYwBa8fNJjCyZ0YMW20+cxtXkXd705rSQ/b43T2T52naTG1ZoEsFMitRTSe8 N/Lu+A83meGFBMwG4BezYzATAJa9BuJLX5snnfvDJWxQ4CkD2vXunOVEfvuDxMhqbPYK XW138ccw3uWknEI1+ucVIYH7V5eJ4t8KpahcJJw4mlAbmn8hwcK1yOzSmz+X1KNh+pNO ZMaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=ov5qpzDdA9cAfjoLruv1PUZF9xFd7L+3nbgt305aL/w=; b=Xq/xfZGC5vi24XQ1ozOy+1n9S3J3+n06jp0ZCK1kEE+gTX+q3BYzjwUs57EKXoPvhd VSnmr8YyZVjD6WrMKiu8K9YQnlB6POsl7y2GiZhg62ze+O8hGNvpx+3ZmEV67PaTnCPr xqJ3BkHSzbEadKTWYi2Sg00u+sCx7HlR/+32oYOWEhgyRu2iCFNSdJt8HB+IjjNWKDQT hEo8I5JoL/G1bbqhHuzeFW2SFN/CHPFASfc9Uvl0rBjrfWKazHliGZlXTuM3D1PA5U74 xxvVneRosk7QHC1gDP3ap5CKzS901xAXQAwELqNnxTTUEIKXHidafZww6vGl0gmOwEwe dTVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OSCRWS4K; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id w124si10131306pff.160.2021.01.15.10.14.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OSCRWS4K; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DD5346E49F; Fri, 15 Jan 2021 18:14:08 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by gabe.freedesktop.org (Postfix) with ESMTPS id A60846E487 for ; Fri, 15 Jan 2021 18:13:54 +0000 (UTC) Received: by mail-wr1-x430.google.com with SMTP id c5so10201910wrp.6 for ; Fri, 15 Jan 2021 10:13:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MJ7KZtujQH+M7WYSfXjbrtwaSb8NJHqNOy8ewxmrog0=; b=OSCRWS4K/ajKw4Zi62PGwkpsViCnA1HR+jyZqd33c/Gif+UcKSsDy8nuLWTbb3ulgG Rj1cIl3zLmJhOQ3MJPneCnt9fDjPHh5TAsfxE+72eyp+SUxRNiB4p2PuxgDlimgbLUfa plzZs5+VpWcoElqvf5DLn2vTz/22SVU+wUWqit2ToY3K6EJV9XUQ+ph5uPLgHKMhFqgc ABpG/zvcdfEn+mOSiw5xbsC8VcrnmFCCim8bHA8vH58iFKjf2Muercbsjc0M/Ij4NJnJ nPbsjeMoJUMrj12Y4ywpbkhGfEDkDECm04cazUNkd7SpfTE/ocAR7f2LFr2Qf1wjiVbl EQXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MJ7KZtujQH+M7WYSfXjbrtwaSb8NJHqNOy8ewxmrog0=; b=c+OY0xIlDEC5+2Xiv6kdUjVWKukwWvoNTWggF+0OwffrxW17jq2J/ucPmWug4nFMob LGhIherNTIbo+ZmGL+VAxIyWdVTXpGeHjS00f/p4Wg1wGJNPuZZf+Ac+AG46BRqhfKEC LY5VVH0FHr0v4kzLJ4vq3eEvIUBxILndo8s+liw8l8zJEDx0/m8Z/lurPKlyh+g5PiVv iLAvz6jdQxcNWKdU9BAOe8092raXqWt1NI0z1D3PnPkw4Ert1dvQdPiHJthemuGLFqqc LRhpRL3V9dJ+0Wm58DSVpf/QKBfhSAJztjPenRaeHzx8ccoq0F8atwdDwcCmlL5Vjdw4 CJFQ== X-Gm-Message-State: AOAM530oMJKfOJ+KA/Xz/2FPSSU43cxT2wuJ+n7RTekWRg+Jk3n/pqJK /PKfDp7O2if2vxttnSQwd1N0Fw== X-Received: by 2002:adf:dc84:: with SMTP id r4mr14097827wrj.232.1610734433220; Fri, 15 Jan 2021 10:13:53 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:52 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 23/40] drm/vmwgfx/vmwgfx_overlay: Demote kernel-doc abuses to standard comment blocks Date: Fri, 15 Jan 2021 18:12:56 +0000 Message-Id: <20210115181313.3431493-24-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:48: warning: cannot understand function prototype: 'struct vmw_overlay ' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:98: warning: Function parameter or member 'dev_priv' not described in 'vmw_overlay_send_put' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:98: warning: Function parameter or member 'buf' not described in 'vmw_overlay_send_put' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:98: warning: Function parameter or member 'arg' not described in 'vmw_overlay_send_put' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:98: warning: Function parameter or member 'interruptible' not described in 'vmw_overlay_send_put' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:186: warning: Function parameter or member 'dev_priv' not described in 'vmw_overlay_send_stop' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:186: warning: Function parameter or member 'stream_id' not described in 'vmw_overlay_send_stop' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:186: warning: Function parameter or member 'interruptible' not described in 'vmw_overlay_send_stop' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:228: warning: Function parameter or member 'dev_priv' not described in 'vmw_overlay_move_buffer' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:228: warning: Function parameter or member 'buf' not described in 'vmw_overlay_move_buffer' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:228: warning: Function parameter or member 'pin' not described in 'vmw_overlay_move_buffer' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:228: warning: Function parameter or member 'inter' not described in 'vmw_overlay_move_buffer' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:253: warning: Function parameter or member 'dev_priv' not described in 'vmw_overlay_stop' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:253: warning: Function parameter or member 'stream_id' not described in 'vmw_overlay_stop' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:253: warning: Function parameter or member 'pause' not described in 'vmw_overlay_stop' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:253: warning: Function parameter or member 'interruptible' not described in 'vmw_overlay_stop' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:301: warning: Function parameter or member 'dev_priv' not described in 'vmw_overlay_update_stream' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:301: warning: Function parameter or member 'buf' not described in 'vmw_overlay_update_stream' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:301: warning: Function parameter or member 'arg' not described in 'vmw_overlay_update_stream' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:301: warning: Function parameter or member 'interruptible' not described in 'vmw_overlay_update_stream' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:364: warning: Function parameter or member 'dev_priv' not described in 'vmw_overlay_resume_all' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:398: warning: Function parameter or member 'dev_priv' not described in 'vmw_overlay_pause_all' Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c b/drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c index d6d282c13b7f7..ac4a9b7222795 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c @@ -42,7 +42,7 @@ struct vmw_stream { struct drm_vmw_control_stream_arg saved; }; -/** +/* * Overlay control */ struct vmw_overlay { @@ -85,7 +85,7 @@ static inline void fill_flush(struct vmw_escape_video_flush *cmd, cmd->flush.streamId = stream_id; } -/** +/* * Send put command to hw. * * Returns @@ -174,7 +174,7 @@ static int vmw_overlay_send_put(struct vmw_private *dev_priv, return 0; } -/** +/* * Send stop command to hw. * * Returns @@ -216,7 +216,7 @@ static int vmw_overlay_send_stop(struct vmw_private *dev_priv, return 0; } -/** +/* * Move a buffer to vram or gmr if @pin is set, else unpin the buffer. * * With the introduction of screen objects buffers could now be @@ -235,7 +235,7 @@ static int vmw_overlay_move_buffer(struct vmw_private *dev_priv, return vmw_bo_pin_in_vram_or_gmr(dev_priv, buf, inter); } -/** +/* * Stop or pause a stream. * * If the stream is paused the no evict flag is removed from the buffer @@ -285,7 +285,7 @@ static int vmw_overlay_stop(struct vmw_private *dev_priv, return 0; } -/** +/* * Update a stream and send any put or stop fifo commands needed. * * The caller must hold the overlay lock. @@ -353,7 +353,7 @@ static int vmw_overlay_update_stream(struct vmw_private *dev_priv, return 0; } -/** +/* * Try to resume all paused streams. * * Used by the kms code after moving a new scanout buffer to vram. @@ -387,7 +387,7 @@ int vmw_overlay_resume_all(struct vmw_private *dev_priv) return 0; } -/** +/* * Pauses all active streams. * * Used by the kms code when moving a new scanout buffer to vram. From patchwork Fri Jan 15 18:12:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363698 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89587jap; Fri, 15 Jan 2021 10:14:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJwtitU60/6Y19reCFYYkVsLBq/Yv+0bc38kaevq11B5UipXFMS/2qutsElzefH9DNtCV6IL X-Received: by 2002:a17:902:7789:b029:dc:9a9b:6919 with SMTP id o9-20020a1709027789b02900dc9a9b6919mr13902275pll.4.1610734477943; Fri, 15 Jan 2021 10:14:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734477; cv=none; d=google.com; s=arc-20160816; b=mvNY8g6AOKSLwCi50WMPC2FMQxmw+z1E16pXuiMpooBXvEb8HdcGtXdcoloqUiaJtY Oy3NIh3jpXetw3YrXAWzhVayMt612Ts8V940TWwtGDmI/4wSP41aVfsjvu5G0YGx+JHp 1vU8xil17LU3AHcA8Gpi842JPpd6VoOpaURerZ2WHI9RbnD0dAnepu4ykEdCgkNJHXU2 Gl39D6CLqOICg6IL+/xMlBIdynCiKg1Rl1ATCXbB2zJU560qIEXfn+4t2pmeHZX6et72 xmv5v2cS5opaWkuqCBKgAkLAPGUUszCx0P3i1HUZirKzxqjju7S471UY7WzO1CgO0NZ4 gulQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=4vQJ2WeA/55jM3mfGDtM1Q4J2I1ACi+szAQfiSfHqPo=; b=EXJ3ODStSP5V/lnEB4uU0kUh3AKqUE4YbLsiHLj9c7k5zpMNfSrov84WJhbaYzCA6P fgQp+2UDkMtKW7qn6aBDINT+bLrg15nn8uWntMaWfKficeqb4IskNoFbmUNk1iO7WxkQ 6XSBppG2R84qwqhr+goTfLeTkpq8C90c9j2qFcDjNvZ2TAc5ENYRTU+/wRjmwofelLyl qYoQaykYYKzsNOewVK94O5jws6kVLDRwu0eKC0Yn+/0DV2RN9SFjJXcsvkIeO5LyI4Q+ 8UhAXgoVDZaqOIZUNAlhND1D4eO8KX6Y5BPaeRlp2H9k592QAEBekt7JD2gRwLJsXo3n bpWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=e8cdNWXB; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id x3si5474815plg.158.2021.01.15.10.14.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=e8cdNWXB; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F422F6E4B1; Fri, 15 Jan 2021 18:14:28 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by gabe.freedesktop.org (Postfix) with ESMTPS id A75B26E499 for ; Fri, 15 Jan 2021 18:13:56 +0000 (UTC) Received: by mail-wm1-x32a.google.com with SMTP id k10so8213238wmi.3 for ; Fri, 15 Jan 2021 10:13:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hkjVIWYW/KwOeSMeepZX/DgNoniQl+ISNQgSsOehQ7w=; b=e8cdNWXBmpQJjHdYaGaiiOV72MbqMOAfosJeSNF2+rOWE8iWHIL8KpTY/GJYgidnKE jj7e8KOn3o+IrhJJErokkJ6Nh7YalhwnOrzgXCHFsVgT7ZvATMqt5GiH/eQqypt57fof bHVB12h2oBpCsG8i6tABHi6sPliAU29Q5rjklZHnZYgGvYrdAT5kIJA/vjOp86Tq8GMo 0PLTSpVqJsDh3evacDad2VliCH+v9s2Qwy6smrPGG46xrBI1yWNnhtVFBfjDa++xLgcA F5X7jbVQWJMHPG9tx8gotkTh8xa8ikP9QThNviQpccrExUvz+tq/kf+AYixxBEzTfBBv 6vvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hkjVIWYW/KwOeSMeepZX/DgNoniQl+ISNQgSsOehQ7w=; b=L5VIHC30B1VotV3rsE1YMJWG1RIPzhZm1fwhgtThLbxGcoNwurqcn4rxdn5L2vq1Ei wxIXfM2Y18S0ywzebtWM06fH2kqdQ+NSniAcQdj4LLazb6SeEjuT7dSFkR4eQR8VoNit W2hOy20BSfvWsEbGvVtbfw5as6y8sXrU+e6/YxIU1fNlob9Zy27GHnr26IwB5UvqV9yh yZBD621XET6VV+Jdqlbf5cqZYZmP4jsKp/9pmiVPbVkMVC8MMobC5zl+Gwll/q4HtIUD iUEf3O399BW+GWTHCYAbuTiZzkKyAzo7SRPqeyhpvnlVOYOrxjsLlJSzBgEbAE1612od oWsA== X-Gm-Message-State: AOAM532nkXoVPi/IPQAepF2rYDlielx6tuhd6i6wmYc3T4mx1y+WnTVj oygAc2Iqau5TA04t/beEqPc77Q== X-Received: by 2002:a1c:df85:: with SMTP id w127mr10178071wmg.166.1610734435308; Fri, 15 Jan 2021 10:13:55 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:54 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 24/40] drm/gma500/psb_intel_display: Demote kernel-doc formatting abuse Date: Fri, 15 Jan 2021 18:12:57 +0000 Message-Id: <20210115181313.3431493-25-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/psb_intel_display.c:79: warning: Function parameter or member 'dev' not described in 'psb_intel_panel_fitter_pipe' Cc: Patrik Jakobsson Cc: David Airlie Cc: Daniel Vetter Cc: Eric Anholt Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/gma500/psb_intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/gma500/psb_intel_display.c b/drivers/gpu/drm/gma500/psb_intel_display.c index 531c5485be172..9c3cb1b80bbdb 100644 --- a/drivers/gpu/drm/gma500/psb_intel_display.c +++ b/drivers/gpu/drm/gma500/psb_intel_display.c @@ -71,7 +71,7 @@ static void psb_intel_clock(int refclk, struct gma_clock_t *clock) clock->dot = clock->vco / clock->p; } -/** +/* * Return the pipe currently connected to the panel fitter, * or -1 if the panel fitter is not present or not in use */ From patchwork Fri Jan 15 18:12:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363683 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89246jap; Fri, 15 Jan 2021 10:14:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJxitSwRBvMYdhAda1mcoREeAVmJoMmbsSN6ROnIMsmvPSeBZGCLuxqHzHDMpP8VLuOflAwZ X-Received: by 2002:a17:90a:d145:: with SMTP id t5mr11963569pjw.104.1610734454689; Fri, 15 Jan 2021 10:14:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734454; cv=none; d=google.com; s=arc-20160816; b=LsI8MUMkxD4KDPWHyaDh7TYEi1QHm/t3U7KKBUihNJP+KHsUapNQYSJ5uKWyREaAYf ADC9v/OH3pdkOPXAs2qrSC9vX/Qfoc+v0PRT0Y55j1xSUrdhWqYi/oQG+59GigUXByJE dcPQED2PGuYDhEBX7HjDkhtcqOqVXrN0I/AKJ0Sj9VEdONEU3rmVnwrNQ75mdpslvmIT F5mhtL9azWmITule4xO9UtOtD0EcyUSKHoCpA6MLt2TBushCNlaNKv0nrPa+qxpTmtfa dXHhGPp/83/JzL1f5EVAZmbNKuwY+mxfNFo+ck9OdIbthSMLxF8Ta9mU92QsPDm7C3LE 6OsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=heOcjq7Gwz5gf8uDiIEU8wc8FiZlS8itZSmj00dqcFU=; b=pvt+O8A60PBvXGDxKPoGd+TVLYSOJFjbiuTm52hUAMsvIXXBQ/n9jiaTQJ1xcmMClI yNznHzBYE5vbJZxcEWAwbJaxUskufZQHtMS/bMF5Ai7syszv3QImJaV1hAV7rMwajvoH RwhKcj9uD2/8U19jm6DyoRgmTrOG20RuEvxGCy1Neu+2s06DHXwAVxY65hgLmRd69DG+ oXmXItEzgVpIEOS1X0V0+5bbCTaBRa/tX1w2xoctFMfISsoKtNs4NaeZ8pxslpvlQUfe 4wkYzWCUX8G1Tm1zl26zdnc/fSWN7CxoYOhilpx5WKed6rBgZpDV0XP37eECrYFKMQEI HZig== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="Sc/GUxuy"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id 141si10576488pfa.1.2021.01.15.10.14.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="Sc/GUxuy"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id ED1356E49B; Fri, 15 Jan 2021 18:14:00 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by gabe.freedesktop.org (Postfix) with ESMTPS id B64DE6E49B for ; Fri, 15 Jan 2021 18:13:57 +0000 (UTC) Received: by mail-wm1-x331.google.com with SMTP id h17so8029617wmq.1 for ; Fri, 15 Jan 2021 10:13:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sVt/rdeEBQJxQhCHaNNlJJAtPDszt4A5bvtFCOyl0bM=; b=Sc/GUxuyiRJdn91hjCasO8KQhK49SFIeOpJhYv2lzYtBvkAlPg1J9p06riSFlV52cg eqjong14hahD5tYf/SWgSY7FTLqjwLxFVOQjhZ0A+bLdZoOhW2Rj0yBMVKNunVjwC99i xCLJjxjHEERinfZ3cVdz25AdxZEv+UgtMEx58Klerqd/p/6PojbafmMNGuwavXsFq3gp oJlKuBoiUgKuDAyMrUQCXNfEDG0G/PbqoiELOZ07j1YQtFVQF1VQKS+1m5/THHK3ORhh 4VnaEpCaBLqdVagjmeOKsx6g5zEOkqRVnilaL3kZpSR6ZuTJuVZQx8HHBuv0Ho6CTIHE DG6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=sVt/rdeEBQJxQhCHaNNlJJAtPDszt4A5bvtFCOyl0bM=; b=k5TnBeFLWUn9SySghsq/Qc3/kAXOqzUjXMYSbXekA5LkWpdHJrazAHp88mmlQdkL3g N78J9Y7wftkog0ZRDRA1/s6KBpo2KUc02KVY9uhR1XSZ+Re0B3pa76/Zldw8AaRV/zvw 6v/9L0v171CrOl/IbDmOSqYvzuV+BSPKfOC3oOr5m+9sE/pWP+ym9lvoWfbKqY3dP7aQ 5JNKvqJZLypxZHpqD+x7Tx53sxOv2JXn12xTvr0GgZ2bYe7t1an7nqwln3rOR/8mhn+r 5RRUEK+Yki2ZH09SX4rCZ26Ay5lURWAAEgzDNACF7M+Jd8gxLjP6l7zSY/OVcXvl3fTD vpMg== X-Gm-Message-State: AOAM533GJC5BS5ghlkP2psWNxnzWWkMUiCC9sUYnFZzGtiOu65f528k1 VcXy7bYs3764kGbKKdffz2rsDw== X-Received: by 2002:a7b:c2e8:: with SMTP id e8mr9708669wmk.103.1610734436402; Fri, 15 Jan 2021 10:13:56 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:55 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 25/40] drm/gma500/psb_intel_lvds: Supply description for 'mode_dev' Date: Fri, 15 Jan 2021 18:12:58 +0000 Message-Id: <20210115181313.3431493-26-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , linux-kernel@vger.kernel.org, Jesse Barnes , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/psb_intel_lvds.c:635: warning: Function parameter or member 'mode_dev' not described in 'psb_intel_lvds_init' Cc: Patrik Jakobsson Cc: David Airlie Cc: Daniel Vetter Cc: Eric Anholt Cc: Jesse Barnes Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/gma500/psb_intel_lvds.c | 1 + 1 file changed, 1 insertion(+) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/gma500/psb_intel_lvds.c b/drivers/gpu/drm/gma500/psb_intel_lvds.c index f65a6f386caed..ace95d4bdb6f8 100644 --- a/drivers/gpu/drm/gma500/psb_intel_lvds.c +++ b/drivers/gpu/drm/gma500/psb_intel_lvds.c @@ -626,6 +626,7 @@ const struct drm_connector_funcs psb_intel_lvds_connector_funcs = { /** * psb_intel_lvds_init - setup LVDS connectors on this device * @dev: drm device + * @mode_dev: mode device * * Create the connector, register the LVDS DDC bus, and try to figure out what * modes we can display on the LVDS panel (if present). From patchwork Fri Jan 15 18:12:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363682 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89227jap; Fri, 15 Jan 2021 10:14:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvzeOCrTYDKfg4Nucg+CfYZHR3bAI3Gxhnw0q6D6k9fn5JBIz+hrQzPvIzR93EN7XGmxHi X-Received: by 2002:a17:902:9309:b029:db:c725:d19c with SMTP id bc9-20020a1709029309b02900dbc725d19cmr13976118plb.39.1610734453156; Fri, 15 Jan 2021 10:14:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734453; cv=none; d=google.com; s=arc-20160816; b=lxspt+qy/0/Qh6dVki6d+YLsYVoINwqZNCGAYlima47he8XIu+M+/6cI/bk1HAOj6t OuV6hoE8KFyLWRndKGANMw5PiRmYf48oAdyAQquq3dmPwUObGS2rpegtZzsW2mtESQSN DDChNf/838Bx8RykmiYfZyBCkVy7eNEDmz8LNz6G/f4FcNNE/2S0c+WxiRGB8Pdbzin9 fwB7OSp7SD2cpy4YlkNDCMrlT+Umxt+8VD/S+g9uatCVWEENosXudPKq1AF2y0llqbr8 uCzAm1up7zHAUUHjgJ1NtmWYopY/P2lOvNrDbHQ4wCPMG+CAV61s9kO45EF1AQfV7853 GNow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=iTDwoWFnY8FrXVPZu4RZq+INn6Gd9YA906eHgW5kgsQ=; b=m23nRnrXtiVEuXO+UyCgJU03dfZnV6Wvv7eZ7TteL+UZmN7iE8H++0LZImQHkZjGyk gsYhyzqu42xmqehf8i/KYi4BvX5KichtdIrcq1TdtBSQSTXGUynFJXUkFa5plStatdvb VZwybPIJ6O+DSnuqpIPA5+1y695fgC+RofwT0CxS5ApNbyj3UPnZBoznwhB3dyJpp8ey DWDEGymDo9rZlGlqep+6a4qRTSeYAlo1vO2FH+TJ3k+arhyFRNy46fw7jJnpY8c7t2tV 2VJjeEszE4MtEulBTQK7Fw6FetfJs6X/FeK7l7cGDxc1uqZ3ZgJOHhBsrB7Yj0t58dI/ ZG8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=nn+YQQ3t; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id y71si10622268pfc.27.2021.01.15.10.14.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=nn+YQQ3t; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E29AF6E49A; Fri, 15 Jan 2021 18:14:00 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by gabe.freedesktop.org (Postfix) with ESMTPS id D3D6A6E49D for ; Fri, 15 Jan 2021 18:13:58 +0000 (UTC) Received: by mail-wr1-x42c.google.com with SMTP id d26so10188127wrb.12 for ; Fri, 15 Jan 2021 10:13:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YdGEIo0hl2Rfpl/h+Jq0+PenJy8U5mbtMlzqWbcxCkg=; b=nn+YQQ3tBavKBlOFL7sT7bojtBwspT5MdJqIVfqTvMbPS+d2dEqAdBTVblOgzuynOQ Olk3p9M/630y78Ld02C5b4c2E1yI/CegVOo0NaSyJtAcPz1l3o0q4R5R3R9iIRuOn77r kxrI9Zwdd4q3BS9xicvx8dfaNIuzw3CoE9v2aObzi/BiIN8qVM6nCVaQXl+pIU9nxsya O4/5uD8YtnZJ1rj3KZJsnJ8wHzNbOQfDmlS1/7bIW1dGKnk2aqMM/npcyjg7b6vVqE1S jxW3enZtU+ZYPgAUpoXU9klmE3OVP67lIRz99VbnxcfhwDsy7TPk5Ojc3EAfpVqLU24B 5xCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YdGEIo0hl2Rfpl/h+Jq0+PenJy8U5mbtMlzqWbcxCkg=; b=SPWkBzA2FEX5NYel3s1Qpo1JxbQ8VejmjTgrPaEjw3mBojnX9Yxou6nXLwx2IR2qwe F9Dfa1IbD2dmK68BHD0oOfGo8NeMw0wGIECruMH5X9N4rI8r19BmFiQzYrJlRkHpwWLg RBlCep1o2XsradI3HsRhZcj32WmTUJFn6WgOC5CWXnS5iC18tCJmZ2sZPLpNGtPcs6uL OVn7JwYMxmKdQ9/haGUElmz6BmxHjiSxHSDAsfQfVOQcgGQyyd3Elo9LFGBKPSYLrn1Q WcvKUD3/bXFpFH7/jBxgGx3ushRSyZMM+yVBP0wIETKyICpUr1jepbA3lx2RVpKEqpx6 pI7w== X-Gm-Message-State: AOAM533PJwVdCzvk9q2ktbr01eAAXmrHeTub4NzJBZ2L93/NDcaQOLIn I1K10aaM4WkYhQpJ0biicXuNfA== X-Received: by 2002:adf:eac7:: with SMTP id o7mr14553458wrn.23.1610734437578; Fri, 15 Jan 2021 10:13:57 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:56 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 26/40] drm/vmwgfx/vmwgfx_fence: Add, remove and demote various documentation params/headers Date: Fri, 15 Jan 2021 18:12:59 +0000 Message-Id: <20210115181313.3431493-27-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, VMware Graphics , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_fence.c:82: warning: Function parameter or member 'event' not described in 'vmw_event_fence_action' drivers/gpu/drm/vmwgfx/vmwgfx_fence.c:113: warning: Function parameter or member 'f' not described in 'vmw_fence_obj_destroy' drivers/gpu/drm/vmwgfx/vmwgfx_fence.c:261: warning: Function parameter or member 'work' not described in 'vmw_fence_work_func' drivers/gpu/drm/vmwgfx/vmwgfx_fence.c:720: warning: Function parameter or member 'fman' not described in 'vmw_fence_fifo_down' drivers/gpu/drm/vmwgfx/vmwgfx_fence.c:963: warning: Function parameter or member 'fence' not described in 'vmw_fence_obj_add_action' drivers/gpu/drm/vmwgfx/vmwgfx_fence.c:963: warning: Function parameter or member 'action' not described in 'vmw_fence_obj_add_action' drivers/gpu/drm/vmwgfx/vmwgfx_fence.c:1021: warning: Function parameter or member 'tv_sec' not described in 'vmw_event_fence_action_queue' drivers/gpu/drm/vmwgfx/vmwgfx_fence.c:1021: warning: Function parameter or member 'tv_usec' not described in 'vmw_event_fence_action_queue' Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: "Christian König" Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c b/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c index 378ec7600154b..23523eb3cac2a 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c @@ -58,13 +58,11 @@ struct vmw_user_fence { /** * struct vmw_event_fence_action - fence action that delivers a drm event. * - * @e: A struct drm_pending_event that controls the event delivery. * @action: A struct vmw_fence_action to hook up to a fence. + * @event: A pointer to the pending event. * @fence: A referenced pointer to the fence to keep it alive while @action * hangs on it. * @dev: Pointer to a struct drm_device so we can access the event stuff. - * @kref: Both @e and @action has destructors, so we need to refcount. - * @size: Size accounted for this object. * @tv_sec: If non-null, the variable pointed to will be assigned * current time tv_sec val when the fence signals. * @tv_usec: Must be set if @tv_sec is set, and the variable pointed to will @@ -87,7 +85,7 @@ fman_from_fence(struct vmw_fence_obj *fence) return container_of(fence->base.lock, struct vmw_fence_manager, lock); } -/** +/* * Note on fencing subsystem usage of irqs: * Typically the vmw_fences_update function is called * @@ -250,7 +248,7 @@ static const struct dma_fence_ops vmw_fence_ops = { }; -/** +/* * Execute signal actions on fences recently signaled. * This is done from a workqueue so we don't have to execute * signal actions from atomic context. @@ -708,7 +706,7 @@ int vmw_wait_dma_fence(struct vmw_fence_manager *fman, } -/** +/* * vmw_fence_fifo_down - signal all unsignaled fence objects. */ @@ -948,8 +946,8 @@ static void vmw_event_fence_action_cleanup(struct vmw_fence_action *action) /** * vmw_fence_obj_add_action - Add an action to a fence object. * - * @fence - The fence object. - * @action - The action to add. + * @fence: The fence object. + * @action: The action to add. * * Note that the action callbacks may be executed before this function * returns. @@ -1001,6 +999,10 @@ static void vmw_fence_obj_add_action(struct vmw_fence_obj *fence, * @fence: The fence object on which to post the event. * @event: Event to be posted. This event should've been alloced * using k[mz]alloc, and should've been completely initialized. + * @tv_sec: If non-null, the variable pointed to will be assigned + * current time tv_sec val when the fence signals. + * @tv_usec: Must be set if @tv_sec is set, and the variable pointed to will + * be assigned the current time tv_usec val when the fence signals. * @interruptible: Interruptible waits if possible. * * As a side effect, the object pointed to by @event may have been From patchwork Fri Jan 15 18:13:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363684 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89276jap; Fri, 15 Jan 2021 10:14:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJznJiYd1uCntA95D5MJ+MdQngg/iJA2IRjAOq6gJXjii6BD64a53Po3cLCY/whESrLtx47f X-Received: by 2002:a17:902:b18f:b029:dc:4096:fd72 with SMTP id s15-20020a170902b18fb02900dc4096fd72mr13979732plr.40.1610734456527; Fri, 15 Jan 2021 10:14:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734456; cv=none; d=google.com; s=arc-20160816; b=Nh7Vyp02AXu8Jlv3o9W4A/Bbp7i04eVw8brqBP8IqRKqOWPRBPkLSor5FK5ZQY2x4e +CLAUMZezruOiIGKG2MlAjldH6QdV49qZBH1bCw1M+0qObAX7YuIziI9fDZYMYUXovQ4 krwQ5u7p3PlNcpn5yMrto9wJWZIGY/pp1Atnc8jjEqKXLmoMJ7TSaPYw32FKS2Ss81Sp xxZCLSEfYQ4nPe4vXjjfKo9F4DuX59qdl3S0aAOaJKMQc+W7eZgeWiDN+lME2Rduyo5p CXER6lQwcrR6bzW567V4IWXprZUhhRiWSFCv/QSyDDo3TTOF3IboaE9QzjSfsA+smB29 8A7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=15RnFJdD7YOKCHckY8saTv9P9rWi0oDv563mX4ejLaM=; b=rHaNlZHoDeWeJ1VzzPXn/yaXARx1S3DP5sAer7Y8thDbvSX2W5ht0hlZqhqAmxzO0t rF3wW5wYTRHb4lRxyK2eP20tnG/q4sKIf5DBoN2qxJsM0bDF9TxSLJ2Y+FAcfvB3TnP+ ZRfvF+wzsQnrWewoeP2c3a58fhcLnuag9q1bU1eQCoH9C6Pp4ckRQ/4ty2y7JrivV5jo /LhQ8f3k6zmqaWF0utLKcjuMuS6kByDE2xVuNQJhKK1FIjVSQyxkrYqGkM7zrJUJ/2Br Okp8qbxDGnmK23iL8LvmcrCKGrszDfHlyAIohU5YKQHjc1jBC2tEraemoTpNoXwiC+wa 1Syw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=w7kJiKff; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id nl12si10154823pjb.44.2021.01.15.10.14.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=w7kJiKff; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 72F7B6E49D; Fri, 15 Jan 2021 18:14:01 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by gabe.freedesktop.org (Postfix) with ESMTPS id 259D46E499 for ; Fri, 15 Jan 2021 18:14:00 +0000 (UTC) Received: by mail-wr1-x431.google.com with SMTP id 6so2905327wri.3 for ; Fri, 15 Jan 2021 10:14:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Clem9oGlYEGrbDU0lDjY42b02EcBqg1/k29GPavGgpg=; b=w7kJiKffb+UC6FN4MbUl3hcif4Ao5PrzLRGEJBPBjkUCSG9AJgdTwQm0TtB3bhU4eC 2E5zcBTxMAM9x7bVsuwBM4gxxzPdYkRkC9mJ7Yyl0LUZpwSFrevFqHUQ11rXy7O1CcjA huRymOZyg36Fs7ojzhz66e0zhryoc5NCBAj+WSUBIsDLS4H2oemqmnZC3w+C/RYBvLdV SYf6iz35K1ReS5FwE6GOuzYP0ISGJsazo9iwFUl/U0MJn9GPMmHZaK8HrTQbRNTbvaG1 do7wy1cbFdwiVT2Zns7YE2MWRne9n7I9qENsTVzKjBYzZL++G+XG6qXkQ6oykegTYwjj eQ9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Clem9oGlYEGrbDU0lDjY42b02EcBqg1/k29GPavGgpg=; b=h0pyJ49NYWcPtOkw9+3mGcZnmk08TTHLDzDxPlysjT0lcXJ0+KdA/K6v8gnNEh7kcq 5hVzn0gDamNlPY+H9bK3QlQTJ6dOI+6OoD+RErzvp7xuHwcxoXFila3N3aSyly8CatMx gF1vf+dOcAIeSz+NZvrbqjugTtffd26pRyhFPdFNjvow5BeWr1vlCcM1xviHUgLuNsGx SbTzbmLLqYZb/PrPDt1a1d0bamhw9+DdLWpnyoXUlwUxJa9GYMI22FL65uevLqLUaP5U CC2QwQ07FdSxhygpuAmyGPAJV/3ZxZi7zTH8f3pjEdHqzMVgQNxxwbRnmiRyQ9fRAST4 g2hA== X-Gm-Message-State: AOAM533iXnzqezvAV6gCrBwFyiSnnwPd4/QnOP8m2GZDUog9QmaAuDpo rQaYfNX8tsEUz/V2r64a7kS3hg== X-Received: by 2002:adf:d187:: with SMTP id v7mr73152wrc.50.1610734438759; Fri, 15 Jan 2021 10:13:58 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:58 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 27/40] drm/vmwgfx/vmwgfx_bo: Remove superfluous param description and supply another Date: Fri, 15 Jan 2021 18:13:00 +0000 Message-Id: <20210115181313.3431493-28-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_bo.c:142: warning: Excess function parameter 'pin' description in 'vmw_bo_pin_in_vram_or_gmr' drivers/gpu/drm/vmwgfx/vmwgfx_bo.c:647: warning: Function parameter or member 'p_base' not described in 'vmw_user_bo_alloc' Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_bo.c b/drivers/gpu/drm/vmwgfx/vmwgfx_bo.c index 63dbc44eebe0b..ab0844b47d4d7 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_bo.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_bo.c @@ -131,7 +131,6 @@ int vmw_bo_pin_in_placement(struct vmw_private *dev_priv, * * @dev_priv: Driver private. * @buf: DMA buffer to move. - * @pin: Pin buffer if true. * @interruptible: Use interruptible wait. * Return: Zero on success, Negative error code on failure. In particular * -ERESTARTSYS if interrupted by a signal @@ -635,6 +634,7 @@ static void vmw_user_bo_ref_obj_release(struct ttm_base_object *base, * @handle: Pointer to where the handle value should be assigned. * @p_vbo: Pointer to where the refcounted struct vmw_buffer_object pointer * should be assigned. + * @p_base: The TTM base object pointer about to be allocated. * Return: Zero on success, negative error code on error. */ int vmw_user_bo_alloc(struct vmw_private *dev_priv, From patchwork Fri Jan 15 18:13:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363696 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89569jap; Fri, 15 Jan 2021 10:14:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJw6YQ/wb+qqg9Y9tTJfCXgh9txWLSrErqZQfnsSlAxap5RhwvfkiRNCnTiu/UxISOmhy0D8 X-Received: by 2002:a17:90b:e88:: with SMTP id fv8mr11804251pjb.126.1610734476556; Fri, 15 Jan 2021 10:14:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734476; cv=none; d=google.com; s=arc-20160816; b=viVzil9gjI1CbyEWX5uDE8UEIycZgipF0oiOZ3xUx0YOxaEPb9NbQItJjmJvfDMVTN Pjh/IGTMXPs5yGAHbFX8cTA/u5qbZJH/zMBrz5z3ChNmuTnCRpRk2Rw/gb5ih1yYyxey HJTimRvItLAOC5RxXGEoPQiOsmZXPDr+Z5lrRPbMtn08x5VLpecPZy3Q5xhm7R/FtTOU SsLRdBDHuQCEF/BEL4ergbJ/LPsupPA7LZqGGk5SIcYlHlLJg1uDGHeV5boANV+tSq6L SnlcG8o6YZ3dTWhdi+e4w4n0ggYm7Z9rcCdYJzfH0XtOGCCGyKwxOG1p3JgHBGzrwqqA MgYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=JhhZ+JCntok5fOtlxM7dTjxvrFb/fWxSz2UOFkCJZBk=; b=W2+Xk0QE+6YPMXsqBwouUg2pvA18jskoyG6oYaO84QCrYzTCc9nloyee5Th1hRLy32 7R1JN8N2LcTlz84FbVpqtjgQN0q0s4OjPVD8/qwh/Vn25wP2PLC/SYTT7kch/zaBl5+u mPL0r+MzOjdUE8Dmd6kj3moEWDVqUqRVy2fmVnPMVMrldqWRRQ1xOEaHw5Bz5F6EyAVa 7zypAcO3LMsDyemshkLjJSdBnL/9tY9WOVDWpJAOYB4CWkCfdjX0lj/bzlKzgeS2skWh DkPi62YtdJXM9gcMY6cQLCxzrtbmkbOrIWz7TaeXZdxOBOP3kIVqLnGP/firNe4zEUfp ktpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=yVjWmOGv; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id y1si10148618pff.275.2021.01.15.10.14.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=yVjWmOGv; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BF9006E4AE; Fri, 15 Jan 2021 18:14:28 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by gabe.freedesktop.org (Postfix) with ESMTPS id 31D3C6E49C for ; Fri, 15 Jan 2021 18:14:01 +0000 (UTC) Received: by mail-wm1-x331.google.com with SMTP id k10so8213448wmi.3 for ; Fri, 15 Jan 2021 10:14:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eAMyYaaj1VFxGbNOafp+nzJ0Q2eH0I8k2Xo9CJpOSL4=; b=yVjWmOGvJzeDni3tCIMOzMmMGeotfx0zrqnDbf4Clmyd04/rjS+q0vmqap5y7zg4Io 7h1D4HYxOw/emRxXYKSS0UPCw+YELiJjQhMGu6Fy0Uj+H1b1v6SEx18+huC92+skY/oE ysSeaM6p0n4eY95XH9EEsl1HIJT0gd5ayHE8di3BTOfP4imM+Ivsp8UyOqj7f4SECp8T naf24hYPEYQWtTPW3tTd4cbe0Y1G8nanx71tnqR/WsoDLa2c2NVoI7n/nf+Yv+wa5XPc CImYGw6BvnacySDNght925HnYU893MxmOQbdVzZhvA0BUaQXeAuUjkStV7Rn3CMAm7HK t/NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eAMyYaaj1VFxGbNOafp+nzJ0Q2eH0I8k2Xo9CJpOSL4=; b=OPq9rZk5QLhsNGb7ZK8viIYU0ysjaMUD7gX9o/BfmolBm5APKb/LS60822m9d8xtmG /VDE3ySoGAfyvkuJjVam8W8pDFHChhhE+/z86yxIpIc9rgAksDmErHvFDAOVY+RbbaHm loO7isD/9fM7vWxTqDR7L45AEndJeZ2jCq9ZQ8o6+qcJK0MNXXhOeeABHyeh9BzHE7U8 oRZ4DGScXc5q5heXPoZvwX4+MZIjf2hVA8PKyXC3mr+2qHWwESRT+PBTQajee78dqA1I 2iJ0CLACeTUiOaiD+1uf+8oQ7BXpL+pe+g6VAnashVVnFkqieMwAXyNhLRVp1bhgA6zh yd/Q== X-Gm-Message-State: AOAM530pIDNUHBqzacKRwZZwW40ts6gItnvz3K+NwQCHh37yepRJK/VJ o3+3LB0txCbXZqKPOZJnSJn7cg== X-Received: by 2002:a7b:ce96:: with SMTP id q22mr10104491wmj.165.1610734439880; Fri, 15 Jan 2021 10:13:59 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:59 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 28/40] drm/vmwgfx/vmwgfx_context: Demote kernel-doc abuses Date: Fri, 15 Jan 2021 18:13:01 +0000 Message-Id: <20210115181313.3431493-29-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_context.c:121: warning: Function parameter or member 'dev_priv' not described in 'vmw_context_cotables_unref' drivers/gpu/drm/vmwgfx/vmwgfx_context.c:121: warning: Function parameter or member 'uctx' not described in 'vmw_context_cotables_unref' drivers/gpu/drm/vmwgfx/vmwgfx_context.c:681: warning: Function parameter or member 'base' not described in 'vmw_user_context_base_to_res' drivers/gpu/drm/vmwgfx/vmwgfx_context.c:707: warning: Function parameter or member 'p_base' not described in 'vmw_user_context_base_release' Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_context.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_context.c b/drivers/gpu/drm/vmwgfx/vmwgfx_context.c index 6f4d0da11ad87..4a5a3e246216d 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_context.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_context.c @@ -112,7 +112,7 @@ static const struct vmw_res_func vmw_dx_context_func = { .unbind = vmw_dx_context_unbind }; -/** +/* * Context management: */ @@ -672,7 +672,7 @@ static int vmw_dx_context_destroy(struct vmw_resource *res) return 0; } -/** +/* * User-space context management: */ @@ -698,7 +698,7 @@ static void vmw_user_context_free(struct vmw_resource *res) vmw_user_context_size); } -/** +/* * This function is called when user space has no more references on the * base object. It releases the base-object's reference on the resource object. */ From patchwork Fri Jan 15 18:13:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363699 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89622jap; Fri, 15 Jan 2021 10:14:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJw8EuIBxNA0PsouQo/SqMz0NOksXa0WQ3d/b33n8GZr3p0XkPtcPPytkgEONPeYA/oRmTZL X-Received: by 2002:a63:c441:: with SMTP id m1mr13643828pgg.353.1610734479278; Fri, 15 Jan 2021 10:14:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734479; cv=none; d=google.com; s=arc-20160816; b=EWpJt2TBqyy3x96Mk9WHTUtzJGwi6lSqfvg98AUqDZS8bTP7BwD5GzBlrfCC+5IscW Dfd8OFlSkonbnq7pdRF8u7isHDmBBViPidfD7jPB7SwaKUF+kz8bmfm76lemFCbjqSb8 WZ60xzfZ1CbG3/gHG5aunazNTolbRv/JztQCa5VNVxx98DxLfynRjvbb6APl8kQ7KweH XuPBcBou46dGaQVWkxTnwsL22NKzDZia6jYA4L/JAAwl1FMUtLxXJnP6Ridp4ViQI3hN bLKAomY8Q6k3wpDwPneoBHWBHNVmw4sxhkI4uONjU6Nyhv+e8reny5GsMmWMjM5B7Vcw 4FJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=WN2toHDfUHRvYSLixrg7A428hpJDk2Z862WFuylwYjw=; b=GjMTs3oc61Y87KKNMhRpivblTHxVTzTWpfYuC5U3SDE0c2Bf/FMbkKVEXFmeyL5Lvu syJ2jdDcDo9i85EuLdlW/+ZCsm5JOfdjheNrpK77NSpq+mRmdjx6M3bDxBweroSp/zkj E2/phackU8kekzg7pjOsCWu0G6i3CB27qfQ7h0OSa21gk5ZkCF5iw6987at88N48mxfg 9LVv1R4SJmt/tTMuG6ZvfsD68zshvwVG2j7IHxOZEOCzjNao5A+heT0qMor5OsLlZ43C Epcy6o4qr25F4zw8zTPYsp2Lv9RRoLYdvz4Rnqx4qMw8oBAeq2k2B/Z2efEjvZjdPVAz diRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=L0fqAYHr; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id d9si4067377pll.414.2021.01.15.10.14.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=L0fqAYHr; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5ABAC6E4B5; Fri, 15 Jan 2021 18:14:29 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by gabe.freedesktop.org (Postfix) with ESMTPS id DFE016E49C for ; Fri, 15 Jan 2021 18:14:02 +0000 (UTC) Received: by mail-wr1-x436.google.com with SMTP id w5so10181425wrm.11 for ; Fri, 15 Jan 2021 10:14:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4hRh93h6Ap5slKiR2lojMOAMN9uOZEFE9uCUxTKVOZ0=; b=L0fqAYHr8HLZtGjdqMD143kc5XmQf/YmOSw8lmVA5+T5CRtjE9urWP4t6hYR+S6CAO ztAgllI0d8M0uqueieIkohfp9oCqK27wJMQhv8bkCxXCJ5RYYmhzJXcFdvWuFzxYHzzE GTz6bJ3ekyz3tyS+3yR/RaMYzkpnFo8ZVCJpPlczC6hiddMbhW+OxqJHAGqF04pnhtSv twSm+JNMxuLSqH0/7Bj4Uk0YgMHzX+eRqY3oaK8oNZIOhixgAZM1kuQV4o7B8BzC8epj HAwePLUZBut2Qg0JMkUIPR4Vc5VFau5RnU/7pha5iK+oPtgoqGMtP7QDgn45Wb55z8MT NhZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4hRh93h6Ap5slKiR2lojMOAMN9uOZEFE9uCUxTKVOZ0=; b=U1AT59ZhBwR/Nx0+VJkdQr7ViXklc7KRdaC3Nsc1UBFJyg5GjcV98bUgns5218/GKv SufnljmfLdA/O1HyuwWtGyGBvO50E5YXnv/FsT8Q7M/S25v0aFP8mdcUQCSF6/MdraKV GSjmtbjOjAuZhf/F3wzG80Z78DOx9IxKh0kNKfVz8OTCl2eq4LdGgkYcOlglZmyxsuFX eKmrLz6ProAwLKiyOgY7g8i0YuDYBlo9Q73+M3AlY+8wOa98Nw2XsazWoI0wYPD3tYmk klcrNLKDq5+YAAldXL6NUH/fQKFm20REdcagF6tbcBKMnGV6cEdP6nkqcA1I0No+f80d cXgg== X-Gm-Message-State: AOAM531xjSZBA+WHdAqTI+LVwVkDlXeq7+y+VpRcPyYilE9t1zNGznrp BUmxBmsqM6Alf4OH+b1NdyYROg== X-Received: by 2002:a5d:6749:: with SMTP id l9mr14597082wrw.395.1610734441481; Fri, 15 Jan 2021 10:14:01 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.14.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:00 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 29/40] drm/vmwgfx/vmwgfx_scrn: Demote unworthy kernel-doc headers and update others Date: Fri, 15 Jan 2021 18:13:02 +0000 Message-Id: <20210115181313.3431493-30-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c:90: warning: cannot understand function prototype: 'struct vmw_screen_object_unit ' drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c:122: warning: Function parameter or member 'dev_priv' not described in 'vmw_sou_fifo_create' drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c:122: warning: Function parameter or member 'sou' not described in 'vmw_sou_fifo_create' drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c:122: warning: Function parameter or member 'x' not described in 'vmw_sou_fifo_create' drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c:122: warning: Function parameter or member 'y' not described in 'vmw_sou_fifo_create' drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c:122: warning: Function parameter or member 'mode' not described in 'vmw_sou_fifo_create' drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c:168: warning: Function parameter or member 'dev_priv' not described in 'vmw_sou_fifo_destroy' drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c:168: warning: Function parameter or member 'sou' not described in 'vmw_sou_fifo_destroy' drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c:283: warning: Function parameter or member 'state' not described in 'vmw_sou_crtc_atomic_enable' drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c:293: warning: Function parameter or member 'state' not described in 'vmw_sou_crtc_atomic_disable' Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c b/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c index b0db059b8cfbe..6feb61a1a3041 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c @@ -84,7 +84,7 @@ struct vmw_kms_sou_define_gmrfb { SVGAFifoCmdDefineGMRFB body; }; -/** +/* * Display unit using screen objects. */ struct vmw_screen_object_unit { @@ -112,7 +112,7 @@ static void vmw_sou_crtc_destroy(struct drm_crtc *crtc) vmw_sou_destroy(vmw_crtc_to_sou(crtc)); } -/** +/* * Send the fifo command to create a screen. */ static int vmw_sou_fifo_create(struct vmw_private *dev_priv, @@ -160,7 +160,7 @@ static int vmw_sou_fifo_create(struct vmw_private *dev_priv, return 0; } -/** +/* * Send the fifo command to destroy a screen. */ static int vmw_sou_fifo_destroy(struct vmw_private *dev_priv, @@ -263,7 +263,7 @@ static void vmw_sou_crtc_mode_set_nofb(struct drm_crtc *crtc) /** * vmw_sou_crtc_helper_prepare - Noop * - * @crtc: CRTC associated with the new screen + * @crtc: CRTC associated with the new screen * * Prepares the CRTC for a mode set, but we don't need to do anything here. */ @@ -275,6 +275,7 @@ static void vmw_sou_crtc_helper_prepare(struct drm_crtc *crtc) * vmw_sou_crtc_atomic_enable - Noop * * @crtc: CRTC associated with the new screen + * @state: Unused * * This is called after a mode set has been completed. */ @@ -287,6 +288,7 @@ static void vmw_sou_crtc_atomic_enable(struct drm_crtc *crtc, * vmw_sou_crtc_atomic_disable - Turns off CRTC * * @crtc: CRTC to be turned off + * @state: Unused */ static void vmw_sou_crtc_atomic_disable(struct drm_crtc *crtc, struct drm_atomic_state *state) From patchwork Fri Jan 15 18:13:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363694 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89528jap; Fri, 15 Jan 2021 10:14:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJwerToIgTSwN76hCYUeLwY9xU+SFQXcla7DP9uJjvY3UwMM3KK9HR1vfFR7TiVhdBZm4SM8 X-Received: by 2002:a17:902:8306:b029:da:d7f0:9e16 with SMTP id bd6-20020a1709028306b02900dad7f09e16mr14006918plb.53.1610734472878; Fri, 15 Jan 2021 10:14:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734472; cv=none; d=google.com; s=arc-20160816; b=Ntdwb3jEu/UO5leMHXkaaX3vJp9/o/XHHT4B8wTnh9ee5vUaX5qI+Pq5vNU5F5xXjY gsTYrVK0IxtFIVLqTYBnqV7jQAr58rxzkwdrr6H+rvPMwoG+0Ma8rxb3t0lKF0Mt83js ckxvd7hu3DbkuZk2UucPtRS+dMpUuTBzvCSiHucZg4jPABxDdy5JxvrksQDbMcpkDRWH mQehemq2Ubv0KWfcpvlpLfEuSqS+ZUw63UPDXAeuw7fxMZ+6iNVLnoycx3ytveLQj3UE rXCl8vQ3Q3yYd59oQ5Qhsrnuv3nACnNQwrtzi/WH+4zHMFkIRxOzvcfZLjSCBDnc5Z6v w3yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=m21TlHhNwMtM1FyEiM8idrrJE9BY0ZUsVdapf8Ehup8=; b=ehlYt+T2jdXTb7erG6YAZyGI/g9MB5yZUvBrxq5plkUJwRni6sXkU39bYpAaEQjDiW t+cyc2CRk/dxSIsOI10ZToGFTvBIPxC63EmS1Hf3zcNXeCkUDAMrzOoBWtj+mMQ4YDjC yXiDutlmMBpzmnptW01IDYV1L0RY6rqZmhZ/8sqrBGUq0n+28BQhPjqUBzxQ4Dfzmg94 p7znFdn4nrAx9I1B6TKMVVeQBQYh+1ZdmFch3xebR8K/y3F1t8tuK/OA30x6Vu+pMB/h yyrXIbY7DymHOWhWMkdiJww9mDQrwvOJZ9C+0DxdwdTWNCXW/peKRzGFb23dx0Xw9t3E omQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="lmFcqa/m"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id j13si11651641pjn.147.2021.01.15.10.14.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="lmFcqa/m"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F3ED76E457; Fri, 15 Jan 2021 18:14:19 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by gabe.freedesktop.org (Postfix) with ESMTPS id EA8176E49F for ; Fri, 15 Jan 2021 18:14:03 +0000 (UTC) Received: by mail-wm1-x333.google.com with SMTP id g10so8393511wmh.2 for ; Fri, 15 Jan 2021 10:14:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+0p9zOjVy0LRiK477P9KUaWrIsEvH1MWK05iKsSjHrQ=; b=lmFcqa/mseKa8mnML6PJecGiZ8SxOYeYWnTqqbYBatmO8biGq7K8RpAi7Jz52YFDyx KSxyAT5AFEIc3znyzbwr9qVzmkNpw9QTm15wvCS3PtQSz9EbPruetbXiahzjZbFskPE3 fB2eRAKEX33jhUxXKdnEF4SZOxkUoaRka1IsBxfgLYS4x7aePWvQWE8qWmpFOK0M2oJy zIoB8FRwKWh4QU0seZ6LwXxELNznUrvnUhD6a6opaZt0TXRdAmK3aKk7Bg150QoHORU5 oQ/QCkclp5Pi2InvETySTFtnJR3Cgh5hOu9J4dB5YzmpZj/DTPBMi701y7pfX6h9of0f kzlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+0p9zOjVy0LRiK477P9KUaWrIsEvH1MWK05iKsSjHrQ=; b=Sa/UbDKsFDuvGvQj9Zr6IsK7/kjKMqApwKSt677YRpkIDVmryg1WlJ+kRFyxuYflJe 3HfkR8j9xqnAF3UyP1nSnzlJHHTxFZEiCDXMEyRXvP3Oij/U/cTjM7S5WSKb4VNi3z55 9uIwb/ME2TQN2KxGwahmT2dEkQGH6J/KrpwFDpm5xSXWRCtF5zmdGGR8BrjWQnbuJlI3 1IcgZ46i1vUi1m50csHhgztXfuXf6uFVnw+nx4qJfUnbEfo78sD6BtVll3Aup9WMHtGI HmcEhFdgSof0oGPDtZlKSa2/oy+doCAxcYWiP9mnnTGjaDvcDcrkP6zsoC/q/ScebRJQ a+oQ== X-Gm-Message-State: AOAM533BXpUrXKZLdg/jBz77RVPemkfu/eX3/Vr4AG2DVtTYF/W5aFGF lGei8OjVMhQ1Ly8UOyG1aLkLAw== X-Received: by 2002:a1c:608b:: with SMTP id u133mr9766353wmb.140.1610734442619; Fri, 15 Jan 2021 10:14:02 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.14.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:02 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 30/40] drm/gma500/psb_intel_modes: Provide missing descriptions for function param 'adapter' Date: Fri, 15 Jan 2021 18:13:03 +0000 Message-Id: <20210115181313.3431493-31-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jesse Barnes Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/psb_intel_modes.c:17: warning: Function parameter or member 'adapter' not described in 'psb_intel_ddc_probe' drivers/gpu/drm/gma500/psb_intel_modes.c:51: warning: Function parameter or member 'adapter' not described in 'psb_intel_ddc_get_modes' Cc: Patrik Jakobsson Cc: David Airlie Cc: Daniel Vetter Cc: Jesse Barnes Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/gma500/psb_intel_modes.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/gma500/psb_intel_modes.c b/drivers/gpu/drm/gma500/psb_intel_modes.c index 88653a40aeb5c..60306780e16cd 100644 --- a/drivers/gpu/drm/gma500/psb_intel_modes.c +++ b/drivers/gpu/drm/gma500/psb_intel_modes.c @@ -11,7 +11,7 @@ /** * psb_intel_ddc_probe - * + * @adapter: Associated I2C adaptor */ bool psb_intel_ddc_probe(struct i2c_adapter *adapter) { @@ -43,6 +43,7 @@ bool psb_intel_ddc_probe(struct i2c_adapter *adapter) /** * psb_intel_ddc_get_modes - get modelist from monitor * @connector: DRM connector device to use + * @adapter: Associated I2C adaptor * * Fetch the EDID information from @connector using the DDC bus. */ From patchwork Fri Jan 15 18:13:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363691 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89441jap; Fri, 15 Jan 2021 10:14:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzVvrIYqEBmzsJvX0EyRdUbzK9+u+UvR8vPOuYdDzSuMaf1gW2A5zoSgtmxQDBTMjzBb514 X-Received: by 2002:a17:90a:cc0a:: with SMTP id b10mr11744025pju.59.1610734467483; Fri, 15 Jan 2021 10:14:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734467; cv=none; d=google.com; s=arc-20160816; b=e0AWUkRNlkrPS3/QWuvR4R8P+Kcrf8FuN3KE1H7j33xN3Xl5yLAiXzrMYZbbmPTcRd wUGOa9QEVohj+/7fsoxk2DbfTz4zXF0IOPW4i+XOGNwywNTvEKt4D2XzpiIIyYs/S78D MtLLWGFyr825uNsjbPEJu5shdJuIbXsNOvu6x5lyYPYf1xefNvrHvGp6uXfgQv7nDQNV gl4JPheCrxwWIyYQqShC3CLrXKFMtwtXxoPoNy/FtxUi3QhtDO27mopeJvb0jaeQ31Oq zXTEiGWKGu2iZ/vEsAHFwCGQ8W0mYPiuTy7Hzg+1pLHAEaJrg3wV/zHRfUnMNLCHVICv 8WLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=qDYkHRwn8PGIl95L+xZomOCFakXfGZHrFuvD/ak9EaQ=; b=o0ORZcAs7TGEowJh6BQpWHCDqEnltrYzDkNCQJGPTVVTA7uZ5Tda7Yr82jwr61pxiU KSVrIBMC5s25ICgO/0DVRdcZhYxfnYN6haxgWPTCuIStKgMKGUxFGD5R2sUK25HKnyDD h+oHUnMOYTy13OB/KcbCya92NEV923QRl+tCXUtKZUMsz66HE4qcm0A/bHeM6eiqZ+l8 WLWMftyokLK2Wh+MK5ZZKLB5s03ONhNxPJXRFssvtOtxfQteir7NFUBgqDNlc+7RQYaK Rh0m6gCEfT4FsYCqFKRy0dtxef2yXmXkS0V4c5PiQn0xe/uvGeQl+K17cEwKfwUHf9+T j0Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=URYUQikT; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id k185si10560860pfd.35.2021.01.15.10.14.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=URYUQikT; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C155F6E4A7; Fri, 15 Jan 2021 18:14:14 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by gabe.freedesktop.org (Postfix) with ESMTPS id 13C066E49C for ; Fri, 15 Jan 2021 18:14:05 +0000 (UTC) Received: by mail-wm1-x330.google.com with SMTP id y187so8409447wmd.3 for ; Fri, 15 Jan 2021 10:14:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JPqjkgIRJp+MRlYiJIdOLESmtI1+G3x8A3c4gbTlrp8=; b=URYUQikT1ubIBypdWNn5JgBBuXlql29P1qAbd5qPje/NQfeENl1ULvQa//CbMbYFoF b20uBNi16xepfMRbzFAyJRUVZ5MqivZm/jQ3qlfN7rnn+QWmxkY2iaz8w1vQ2BgJSII3 0FwKk8O6S4fT3G1jrL1Nm0znrOhkfTzKQcuxjdDJigTEszxLz87IAitAEMwf4C97U6AX KHGWLXJiXGxqvJNLPK3vjQ0+TiasqtTYfpbhyX8g1IJOabVyiiW4vHc7/d9vvvMkRYZT bAG0gZZTYzUgwzxPPL+V2uepaHxF6vv6mwTy6iwe+9FlYsL9SGj8WiBBjMMNQZgSFKdY uCEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JPqjkgIRJp+MRlYiJIdOLESmtI1+G3x8A3c4gbTlrp8=; b=T1R+ehSqpFCDGfIkOxFH9VvMU3+/45nSge+pId8Mv7E5h8tZ0YyIw6GygN9IZUnSlg 2Tjl+WHJJkUGK7UbpIlkMUqUMte4dUtqIilsnkBIWlEW3YbE2nyiDokoBwrlSHwBY90+ lx5d7JopUn2LlDDxgjORuylEWQZge0y7lyAGJq3Fzdroo+S9ojf8KYo4UDSNts0zfby8 2se/gKBy9lwdUn9qg7SpUH8xz1x6Ep9jPGLLBqmcJH34TGfCH4Q6W7P85tSFmNceOZFa N9/o9l1OkCF//1XDiQmUe54HXJheuhNqP+xm7K9VmghRwqefb6neCpfNAWpGxvWldhs5 7Hvw== X-Gm-Message-State: AOAM530T9uISvJ8cvs81NshjMhUxiKdHGjkUUvywH9ip0PfaiIMtr90y YFsmX0J7tqqJVqfhGw3xkgEXOg== X-Received: by 2002:a1c:2d48:: with SMTP id t69mr9677839wmt.124.1610734443715; Fri, 15 Jan 2021 10:14:03 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.14.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:03 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 31/40] drm/gma500/gem: Do not rely on consumers to include drm/drm_device.h before gem.h Date: Fri, 15 Jan 2021 18:13:04 +0000 Message-Id: <20210115181313.3431493-32-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/gem.h:13:57: warning: ‘struct drm_device’ declared inside parameter list will not be visible outside of this definition or declaration Cc: Patrik Jakobsson Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/gma500/gem.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/gma500/gem.h b/drivers/gpu/drm/gma500/gem.h index 3741a711b9fde..bae6454ead292 100644 --- a/drivers/gpu/drm/gma500/gem.h +++ b/drivers/gpu/drm/gma500/gem.h @@ -8,6 +8,8 @@ #ifndef _GEM_H #define _GEM_H +struct drm_device; + extern const struct drm_gem_object_funcs psb_gem_object_funcs; extern int psb_gem_create(struct drm_file *file, struct drm_device *dev, From patchwork Fri Jan 15 18:13:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363688 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89373jap; Fri, 15 Jan 2021 10:14:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJwlxF/tbBUpBFhujuxXBcIN4TC7q+na8nlP5CivvBBfD+KJANjjN2W7Icx8BdGPGzsOVAok X-Received: by 2002:a17:902:854c:b029:dd:f952:dc58 with SMTP id d12-20020a170902854cb02900ddf952dc58mr13910493plo.76.1610734463229; Fri, 15 Jan 2021 10:14:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734463; cv=none; d=google.com; s=arc-20160816; b=fs8Vu37Baia4WoKIaI1LeQkYm+wprk1qBJTOXLIrITVZq/T51VlHuQD8xsuPtY6jvG Y/n/3tdJ1mkdVEbiGs1NZNJYVWf9CFWY1CcUuOjtkFNRlmjgUhaPx58gpD6sZ2/B/Ca5 thgav2mH3MAniWITgj88xbZNg6a3s9DPaJOCNErqobptAnx9Tr5Bgci+0lGXouHdyfRx O32EFpujkyV0+sAhrkV5Gvq58vfCkS5LfITjdIxWP0ViMgJqFlnJsjNxXSukmi1UCv1w mrpuTb5QnP6cWpNKFWuBP7PYbJ5FoRogcB7yxwuF1ACpfEVS/dPzZy+nt551/FKL2C3t X3bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=dUWRfqWaEGjmHVTp7+cta6BO43fBaPrHgi2Z9RNLoxA=; b=aGQjk33gE/sGLKZrfLKXgL32unxEOqobdsfSvvvsNLbbHfu97l8lHxQ4e7WvtCCBU0 ms2xLK6xc2OrbJ22p2I22VBEIwyJqGkU8DmvgfeyLFHcPVa+BnX+Vaw88c/LNGLLNrfn gjDIDwCH6/6ArC44zTxd2IFErjBMzVomzZkehMUwP7ocZqK1+YiwEp/Lugh89JC6fYKg aMQeRaVTu80nu9ZC0UckkBy102po2Y8XwfXYCGJasEeVwsau5UfV2dwmsMTumeKzm5ez o7etH2DyaM29eezJ2z/NMB8WLT9KBHsD+rUVdhyRN2XE7PkgSF7jiLN9NixvVSX4tbG0 g2Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=t8+Z985N; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id 62si9809631pfg.295.2021.01.15.10.14.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=t8+Z985N; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 34FAC6E4A5; Fri, 15 Jan 2021 18:14:09 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by gabe.freedesktop.org (Postfix) with ESMTPS id 514FD6E49F for ; Fri, 15 Jan 2021 18:14:06 +0000 (UTC) Received: by mail-wr1-x435.google.com with SMTP id 91so10213552wrj.7 for ; Fri, 15 Jan 2021 10:14:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=H7kqjYWcwKGFjqciQAFyPifJs/CUQ6UusnBVQQ2LEnA=; b=t8+Z985NiQCY1D2zCsot42xG+heah2+ELntWWsNu+kvRMZrmlPFjA3v7RNx9mNzsCx b5cOetQ27f2+guT1vjTkoArcvLofqdC/MEegEdNu/UgYngo4vnnSj2WP3ia83B6v2Kak bCNp/Wh8cbGI9GRGzsJ+GUeWUgIl8gRoxkOltUr9gaoeAhAY072+Fd8mB+OY/7JWahJr jlF8/C6crPHmhJSJIXGyErUptJSdMmu5vIta/Tpown103vkIfV/3YFKoLh24N7FN0AS7 aOFsxPShtl3VSluamHIZ9cYl+lcSKMEwV9w87zjtWc1Di5stNLjRZTF9G5JO9YtUzhfb xPRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=H7kqjYWcwKGFjqciQAFyPifJs/CUQ6UusnBVQQ2LEnA=; b=rw26CYW9QegvsU6hTcw6GdNIPYDkTX1nhLMXqmD5caO4d5zHcdOGpYbkxkEojzfsMC je68elXJuhW+tLgjMcigBO+K85yD0cqtwdLDMk8NffPHkepoy9VEL6hfn47b33KXkVF6 cU/KCGxK92FwqJ5Z+H6HM8aJQCtCFv+H/MRjec1G1QAYczkcniWjvWiLBdEXUFo5q7cI BJyODTUa5lzZ6gVPhkZQ+Avo16XkyxXE5UJUWolw3FEX68Ms9NdXbfjh/xSxPaR4K1/M Z2mslL2efyBSVOj7MceoW/+JijFAbYLiLIL73ihvFekaRUkKgfx6BZzsqWuBDzaTIasu RCMw== X-Gm-Message-State: AOAM5323LrGYFZh+rv5k0pm8nWUCy9ojO8Um9+osx1iHtMiyMjOK4CzE EtbP6nFxfXOhgTNTxDl0uV6xBQ== X-Received: by 2002:adf:c444:: with SMTP id a4mr10948115wrg.164.1610734444892; Fri, 15 Jan 2021 10:14:04 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.14.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:04 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 32/40] drm/gma500/gem: Include our own header containing prototypes Date: Fri, 15 Jan 2021 18:13:05 +0000 Message-Id: <20210115181313.3431493-33-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/gem.c:59:5: warning: no previous prototype for ‘psb_gem_create’ [-Wmissing-prototypes] Cc: Patrik Jakobsson Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/gma500/gem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/gma500/gem.c b/drivers/gpu/drm/gma500/gem.c index 5ef5480f999e9..fbf420051ef5f 100644 --- a/drivers/gpu/drm/gma500/gem.c +++ b/drivers/gpu/drm/gma500/gem.c @@ -16,6 +16,7 @@ #include #include +#include "gem.h" #include "psb_drv.h" static vm_fault_t psb_gem_fault(struct vm_fault *vmf); From patchwork Fri Jan 15 18:13:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363692 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89462jap; Fri, 15 Jan 2021 10:14:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJxlUIznYJtgCXeE82fYuLd/RZEi3Bi/+0Ark1qSld0vQKrtobiDDWmW3NkxMjXcu0TLLLY0 X-Received: by 2002:a17:90a:c257:: with SMTP id d23mr11968538pjx.190.1610734468764; Fri, 15 Jan 2021 10:14:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734468; cv=none; d=google.com; s=arc-20160816; b=n8lfNLsSr4wSmV2nNzK1CHW3SQy0+88s2L/1YyoKUkTH7+VFppJ2lSbQd4RA4eHBVd /45P2lR0VSX969LnlOBZd9DCW9FFYnLDhVRSg2JBizu3ZPvhDD8ewcreSg/SUjmZ3KkV 63LwUruryxaObIpL/EkoWJgz9riAzCHwNPo9UokntUtLsWd9Cb4ahVigNSqEdjzEG7Mk 9cxVnPBjBJmALHfs5p+WjZStVYwRKKHPXIcEWXveFKhDjpndtbvLg6vtSZYovj7H5VlF prE3AGBJgDuOVZMUt3knA8XlShPwVZdRtAay5sFnHrxiCFuLLqszQrodW+gbQ4V3ZVXG iOaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=w7i1EeZr2R6NALCDc1orHejVRJXrLjWmSPBHssbbVZc=; b=V16+np91MYNukBM/H9KoH2ClQeW6XkA9uNekz7teUIzYEyb10aMm5JuVS9U8lYBrCC gsSW03rTKuv4jPAr3svKmdgM4huT5rCVjXP/DM/TtHlO+zS104NrZSiVt0g2W/dfwNdH g+/YOQZdwExxQoVomY1hVua/+WOqwGqeS4wzKZ8WWHg6cII7/R8ui05PzHN918WLVweY EYMwHw98tI21Xz+9V1QKS4HG3hTJ6TbJprBeQMaJDt0c6EXeV431XB80YD1WEzPhr+oQ aKMdMDW8DV3hNLoB4k42gQXGdWt6Mj8hePMuSlPYw4u7oddaXdSMajQY0kFQHD65T3Ux vnmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=i2F9vJU2; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id r3si9921360pjz.76.2021.01.15.10.14.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=i2F9vJU2; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 075AB6E4AA; Fri, 15 Jan 2021 18:14:20 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by gabe.freedesktop.org (Postfix) with ESMTPS id B317C6E0B8 for ; Fri, 15 Jan 2021 18:14:07 +0000 (UTC) Received: by mail-wm1-x32c.google.com with SMTP id k10so8213702wmi.3 for ; Fri, 15 Jan 2021 10:14:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VgdN0p+9AgauwlBNqjDX7pzGp2g9M32RauIGJ4AYbRc=; b=i2F9vJU29UmIkMrVeNmOEvrBiEDn+LqthGClGyh9B3Jod0f/J1EXtUwx0US6OXDk9D r9gqrt1MI0ARJGo8ozkLG+E9nVGMm47Kb4Xsg06qGQi5C8srGBS3T93dWnd8QXH+Qasx iQ/mJUpJtPz2/YRXTQgBud8r5U9mnKe/DKI32KjtRV5xF15jm24cGMpFQkCNNBOC/dTh 6Aev2ZPmNoEs/pQ3vnMkTTwQei7bYaAetIDgVl7Vp/6wZGEnG6RQiATQE0q71Vh3htwR tDbueFONUOs9np+F+6vgJ4B9KwNSVSAxFMkWRuHMYe9e5gjky6hep/W9QLvQCzDCDqnR CM1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VgdN0p+9AgauwlBNqjDX7pzGp2g9M32RauIGJ4AYbRc=; b=r0TbT5NXg22/1Ij9dpnOtAJIHRdvpzKsquUKinxHv/x/nB5mS0COMuoINMnxY6zt8c k/vlettSeHl/ySNPTHDmrgti2ZG+cpC/Fy+MVAIt3jpbXcSfJXNcfUgXETxfHBdCghO0 DLkFjup2MHOjWr201fm6Ek0Y26xu0JIImGke4NeKcoYUMtBF30t78VoN4GR2acHfwG+0 b4GPsXxl03j9EekmgkQV1Kki0/3ZoHXwsI7HvmIEMC9hXx8qMkjrdBo5GA89EzoIjX7V 8mOHhq/9GQ8F6oR8rHNE9HXLKUoY+rGo/kGQhskJBOeoxe/Cgg/Nfy6zfEUPENB1vCXK 2+Mw== X-Gm-Message-State: AOAM533VSTTWjeYnLDYgA4DFIPsBBpu+34INwytqFb6jC/bvoPQ4fQ51 XC0Cf5MtMh2HKmToxLWYI6vtWg== X-Received: by 2002:a1c:68d5:: with SMTP id d204mr9863246wmc.178.1610734446131; Fri, 15 Jan 2021 10:14:06 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.14.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:05 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 33/40] drm/vmwgfx/vmwgfx_surface: Fix some kernel-doc related issues Date: Fri, 15 Jan 2021 18:13:06 +0000 Message-Id: <20210115181313.3431493-34-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:55: warning: Function parameter or member 'prime' not described in 'vmw_user_surface' drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:55: warning: Function parameter or member 'backup_base' not described in 'vmw_user_surface' drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:78: warning: cannot understand function prototype: 'struct vmw_surface_dirty ' drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:173: warning: Function parameter or member 'header' not described in 'vmw_surface_dma' drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:173: warning: Function parameter or member 'body' not described in 'vmw_surface_dma' drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:173: warning: Function parameter or member 'cb' not described in 'vmw_surface_dma' drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:173: warning: Function parameter or member 'suffix' not described in 'vmw_surface_dma' drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:181: warning: Function parameter or member 'header' not described in 'vmw_surface_define' drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:181: warning: Function parameter or member 'body' not described in 'vmw_surface_define' drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:189: warning: Function parameter or member 'header' not described in 'vmw_surface_destroy' drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:189: warning: Function parameter or member 'body' not described in 'vmw_surface_destroy' drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:555: warning: Function parameter or member 'readback' not described in 'vmw_legacy_srf_unbind' drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:1067: warning: Function parameter or member 'res' not described in 'vmw_gb_surface_create' drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:1067: warning: Excess function parameter 'srf' description in 'vmw_gb_surface_create' drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:1067: warning: Excess function parameter 'cmd_space' description in 'vmw_gb_surface_create' Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c b/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c index f6cab77075a04..c3e55c1376eb8 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c @@ -41,10 +41,12 @@ /** * struct vmw_user_surface - User-space visible surface resource * + * @prime: The TTM prime object. * @base: The TTM base object handling user-space visibility. * @srf: The surface metadata. * @size: TTM accounting size for the surface. - * @master: master of the creating client. Used for security check. + * @master: Master of the creating client. Used for security check. + * @backup_base: The TTM base object of the backup buffer. */ struct vmw_user_surface { struct ttm_prime_object prime; @@ -69,7 +71,7 @@ struct vmw_surface_offset { }; /** - * vmw_surface_dirty - Surface dirty-tracker + * struct vmw_surface_dirty - Surface dirty-tracker * @cache: Cached layout information of the surface. * @size: Accounting size for the struct vmw_surface_dirty. * @num_subres: Number of subresources. @@ -162,7 +164,7 @@ static const struct vmw_res_func vmw_gb_surface_func = { .clean = vmw_surface_clean, }; -/** +/* * struct vmw_surface_dma - SVGA3D DMA command */ struct vmw_surface_dma { @@ -172,7 +174,7 @@ struct vmw_surface_dma { SVGA3dCmdSurfaceDMASuffix suffix; }; -/** +/* * struct vmw_surface_define - SVGA3D Surface Define command */ struct vmw_surface_define { @@ -180,7 +182,7 @@ struct vmw_surface_define { SVGA3dCmdDefineSurface body; }; -/** +/* * struct vmw_surface_destroy - SVGA3D Surface Destroy command */ struct vmw_surface_destroy { @@ -544,6 +546,7 @@ static int vmw_legacy_srf_bind(struct vmw_resource *res, * * @res: Pointer to a struct vmw_res embedded in a struct * vmw_surface. + * @readback: Readback - only true if dirty * @val_buf: Pointer to a struct ttm_validate_buffer containing * information about the backup buffer. * @@ -1060,8 +1063,8 @@ int vmw_surface_reference_ioctl(struct drm_device *dev, void *data, /** * vmw_surface_define_encode - Encode a surface_define command. * - * @srf: Pointer to a struct vmw_surface object. - * @cmd_space: Pointer to memory area in which the commands should be encoded. + * @res: Pointer to a struct vmw_resource embedded in a struct + * vmw_surface. */ static int vmw_gb_surface_create(struct vmw_resource *res) { From patchwork Fri Jan 15 18:13:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363695 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89545jap; Fri, 15 Jan 2021 10:14:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJxj0hr7jb7Hcjod8Kr0GNwdBzB8vlT2WdVnffOvgVN0npGvXgg4MB+1UiEGIJXRGgEgJhIR X-Received: by 2002:a17:90b:1087:: with SMTP id gj7mr11616651pjb.41.1610734473921; Fri, 15 Jan 2021 10:14:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734473; cv=none; d=google.com; s=arc-20160816; b=koL7krTWncdJsszAdXwhR7SAi1F5VBr2+AjqwXX/uHDIDlTodamZLkmOMR+HfRTikn wuBsYoshOBzHrF3fJHi5B3t2NXmo13NFe6Cm7+9mMYOrraVfSUNeX1RIxYBk7O6pJJjx ZHDab3+eQ8jDQrd2JfYZfPSsk6hPWhzJ51zwb8mhPQWLYgnwPVGRCevH0cQdUJZJ3LbY ux92uQsN1PMs5xXwClEtG0yjmflJOInJqDAt+IfGCdA6FI/YEjJfSuWzIhTjAQjgw7y/ q7iR6Ew2B67Az0vzmlVJtpZi3IFnXUu/rCmoxvbwqrv3yx1j/L6PTLrRg7DlmETL/y7k yENQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=Al8WpG8Yf+ajHVwIjRlMJGhncqw6hGB0EsOs+a55mXA=; b=dTsW7tbxvbaqyL0ngKLEmNy7ow/djYXSCNEiYQ8+EEjkj/E77ZHynEIuqEgLr2NvUV AjRvgGy6XOhC/e29B28+T/4VDASCUadZnHHNmNdTk6jNVlEgjGpYvxnEyPJDgTVuwsX6 0WoO54K8w90/z860VKyootKxB8/QGtRHHVhsI7thTG/WvvSd8Q0MOkXH5JgIkg7qQeuO 0uSLzWWnVFz47StcVtg6vuBimCLUe76TRIU4zQPq89mc9e5L/R1gQZSXI1CSiStCPrkt KOiNEr/CtBYPq3N++Xtus34dZKYiIsYcIHxIe54MgR9ITWesQRWeqpsSDQPF+FYsgcVS iESw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fbb83iZM; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id p12si12927669pjb.168.2021.01.15.10.14.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fbb83iZM; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 19F6A6E4AB; Fri, 15 Jan 2021 18:14:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by gabe.freedesktop.org (Postfix) with ESMTPS id B627E6E49C for ; Fri, 15 Jan 2021 18:14:08 +0000 (UTC) Received: by mail-wm1-x32d.google.com with SMTP id c124so8205039wma.5 for ; Fri, 15 Jan 2021 10:14:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=e4bk6qPXM66REGe7AKVzGIJtGtbIBYeQRfbgzaiwlYw=; b=fbb83iZMimVayaujWI7iqzvQdiDkC19anKbQzeQLH9LqVfAVeEbBkPQu4blHEoLKev i3i3zIQCkHlJGER+MRp3TWy9xSSMDlpvtIy+T8YazOBmD33GNLsZnl7rNXojiajHELwb cfXqzHGIWk5gyOSmMyiNZe/p2nKDoGO67Drb4QHc7MZVy5K6Y05wlwy1LkXtY/7aTZX5 s6NjqotAtkTBef5VABXoZTQFMfwN/VaHFPoi2Pgt2WgYoCyKJqnPkAehJwXPmsHli5Z+ 6JX3/EkQaeQjxG+o00JgKm8ma0pfZza2tMXHL+iJTR7bI7/yGXY8jSVIv97xynJUvCuo xupw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=e4bk6qPXM66REGe7AKVzGIJtGtbIBYeQRfbgzaiwlYw=; b=AmmKH3sCEPz5eSoBElBWbThy4IKwZZAu730HDOPXBT6eOpZd3Gh6rVWUV+KwuHh+A8 sQCY/jE1LvENe5TBdgoRGJ4zm+NCba4U7E4c3NZ/orbcG14XAQTWe+uWTvJMt897MQM9 l66cP/Id2JZ9SaazXi9BZIqX2bTrCrBm3Uq5K7frcIo1gBm5LCMneJN2AB+ayWRQESwM wrS/WbVGPg7PmNiMT0JcS2hXf4OnZBCBCAq7aFcHhocXQj5P19wT+G9NFegg2dr2Pced 5iduOEs+XvrrDpoEqpvp0QyLc+b4FnipH0rHWwtHk1xc1l9BlNrMNUAMwqdRwFHJjgcd UmLA== X-Gm-Message-State: AOAM531HxlTTt/AsSI/VqhZlNmIgM7Un4rgi7MUgM4tDDB1EItWBrcLb bMayLHtzgDmhpEaiWatiPfvUnA== X-Received: by 2002:a1c:9684:: with SMTP id y126mr10136669wmd.2.1610734447408; Fri, 15 Jan 2021 10:14:07 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.14.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:06 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 34/40] drm/gma500/mmu: Remove unused function 'psb_get_default_pd_addr' Date: Fri, 15 Jan 2021 18:13:07 +0000 Message-Id: <20210115181313.3431493-35-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/mmu.c:420:10: warning: no previous prototype for ‘psb_get_default_pd_addr’ [-Wmissing-prototypes] Cc: Patrik Jakobsson Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/gma500/mmu.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/gpu/drm/gma500/mmu.c b/drivers/gpu/drm/gma500/mmu.c index 42b53c01b79f4..014daf0280485 100644 --- a/drivers/gpu/drm/gma500/mmu.c +++ b/drivers/gpu/drm/gma500/mmu.c @@ -416,15 +416,6 @@ struct psb_mmu_pd *psb_mmu_get_default_pd(struct psb_mmu_driver *driver) return pd; } -/* Returns the physical address of the PD shared by sgx/msvdx */ -uint32_t psb_get_default_pd_addr(struct psb_mmu_driver *driver) -{ - struct psb_mmu_pd *pd; - - pd = psb_mmu_get_default_pd(driver); - return page_to_pfn(pd->p) << PAGE_SHIFT; -} - void psb_mmu_driver_takedown(struct psb_mmu_driver *driver) { struct drm_device *dev = driver->dev; From patchwork Fri Jan 15 18:13:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363697 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89562jap; Fri, 15 Jan 2021 10:14:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJwyGW+9I3QYcVejYZKE42VyWnKhE2Bn0ZZbBBmBr+SFoD+zumrvDN5Fuk4GpZPjJWWhTTop X-Received: by 2002:aa7:93b0:0:b029:19d:e625:2062 with SMTP id x16-20020aa793b00000b029019de6252062mr13969607pff.47.1610734475375; Fri, 15 Jan 2021 10:14:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734475; cv=none; d=google.com; s=arc-20160816; b=JwpTArtB7+rvCLSayRZkItW/CCee1SICxd2/LDGNcxBDonR7ZIRvIPLMZGI0QQOnlD nDcu6RB+8HubgMm6q4O+Tf020Y0KlaG8eIZOQPy08DiSax4anZkyUUopoLuGrtlN5Pyx gibAADGoDP+1g88O3FWrP1TJyViqKTnAdha0NsbC46FhAzA/uBck0RBYM53faUZX9HFu /ZtwBdm3uvuVElXkP66WqIABWAZFixgWE20LUw1RxLxhToTih32Emj/nXNKMavcDJ8pY 6GWvBCFhYSbtG+74pMDCznrQozXQHP4iHjhHo+VcUodQXXASQZUrMpIVLabE8xyF5xR8 i2Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=4mtQZyd4ODWh1H7DL2dlXQXw+ydwAI0ILAF+WqxwnWY=; b=a809N8N+y1OY3fbKbD8YvPxkOy7tfmC7CHRTQoqRjF4CzFJXuCQTGvd4TDYPptEHhY kdLGBhczAKow2j7jvJS930hLpNGepQPdLHB9peyS+bWXj12R+TtvgDnzr0b+YvNXzIeR DalLeFhBOjrDgch6yAB9iVViButQzxV9nWoqSyaEtlXSmsIM0D78oaBbqP1rX+NJTnEA j8CHLLtVpa9ngctn5IFJH0ni6mcP3CCtqVKJbS99BMaA8DMLkbwFHzyQl3gLROMfjXtY BJUWVWxiu3B4DjWsVcd2AguZKCtEDnCcCiKBJoIH69k/Q67IWsuNCH4D9aGGPyh8oUaS g0QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Nhj14BJz; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id s6si10461719plq.64.2021.01.15.10.14.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Nhj14BJz; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 47AD86E4AD; Fri, 15 Jan 2021 18:14:23 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by gabe.freedesktop.org (Postfix) with ESMTPS id DEC6E6E49C for ; Fri, 15 Jan 2021 18:14:09 +0000 (UTC) Received: by mail-wr1-x42d.google.com with SMTP id q18so10221671wrn.1 for ; Fri, 15 Jan 2021 10:14:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rAHTpQV67+yi8IQrXKtmnaLMIm66ZFnUBK29ghZYvfc=; b=Nhj14BJzABYIFqNisKEiHe7Xysxmd1ToE7+1Z1jwpfJT2WG2FjxKeE1v5ohYi1M+u2 PwptNNWwEs2UT1csoXAAnC8d+x+92BeB9CpbKasePwnJu7qcmvY6/3Dwp0fPi7p0C2/m 0wfu9hHvHgb3mY7ErQ5OX3aBEj80z8N0W1o5wrVgIbIhWRIF2UARd+crx/VxL2myuKKV CaeJK6h4Wb0OScZBmCHbxBE5exHnFWRlXf+KIt/E+T3lOB9y+7mof02reoPT6TAMmOfM cmcD3b2dpRs5adKgFBRo3x4OfAnRy5275lq9GH6pLyego75IXwUDd0X5LOJ70l6D8X0N gI4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rAHTpQV67+yi8IQrXKtmnaLMIm66ZFnUBK29ghZYvfc=; b=iDWfO+TZNpcGEcG7TNgB71usM3LVURK8mGNnMLGkVUDyoHf8rxePPuzh1t1ESaeZts NO64FP+o90r5VUUK3EmYFUPqi6o+9gZL8aKc+yX9yosl5pIGmPezA/3o+UIJKQJs+9Y3 StG9xBJ1A0aTcs0csBLOyK4fDCVRpuFVYMw2Skk8EfhZ4IPHNqTO6SZnLPjdrzHOSpdj ViEk8czPF0wBKkeRV6kocFbJvtI4HJQdb0tG5ekOmkb4xOoGjKH/rMtpWkdH+HL5jPah YAcXU4tcJbcauNTPEUn0UTYETR5KYSBB1lXuuN+y+n5HPzysXUu3ux6PciT0aRsFEpwt PNoA== X-Gm-Message-State: AOAM530cr+uU3gEMsVMxmHGyIFEtTdMUhhZYt0xpCnsA/YTa+eGNsYj+ j0FVNdhimrQOXXHnJsP0Mgtrqg== X-Received: by 2002:adf:92c2:: with SMTP id 60mr14645619wrn.266.1610734448617; Fri, 15 Jan 2021 10:14:08 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.14.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:07 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 35/40] drm/vmwgfx/vmwgfx_cmdbuf_res: Rename param description and remove another Date: Fri, 15 Jan 2021 18:13:08 +0000 Message-Id: <20210115181313.3431493-36-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Also fix a small formatting issue. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c:83: warning: Function parameter or member 'res_type' not described in 'vmw_cmdbuf_res_lookup' drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c:83: warning: Excess function parameter 'resource_type' description in 'vmw_cmdbuf_res_lookup' drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c:161: warning: Excess function parameter 'man' description in 'vmw_cmdbuf_res_revert' drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c:330: warning: Cannot understand * Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c b/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c index 44d858ce4ce7f..92509fbf2fd1d 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c @@ -69,7 +69,7 @@ struct vmw_cmdbuf_res_manager { * vmw_cmdbuf_res_lookup - Look up a command buffer resource * * @man: Pointer to the command buffer resource manager - * @resource_type: The resource type, that combined with the user key + * @res_type: The resource type, that combined with the user key * identifies the resource. * @user_key: The user key. * @@ -148,7 +148,6 @@ void vmw_cmdbuf_res_commit(struct list_head *list) /** * vmw_cmdbuf_res_revert - Revert a list of command buffer resource actions * - * @man: Pointer to the command buffer resource manager * @list: Caller's list of command buffer resource action * * This function reverts a list of command buffer resource @@ -327,7 +326,6 @@ void vmw_cmdbuf_res_man_destroy(struct vmw_cmdbuf_res_manager *man) } /** - * * vmw_cmdbuf_res_man_size - Return the size of a command buffer managed * resource manager * From patchwork Fri Jan 15 18:13:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363690 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89409jap; Fri, 15 Jan 2021 10:14:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxpGUtPyvD1eT5HpFAnp8nGyVTPZGrVrRt6X4CCPUkidCnb2qRnYzZOTrJ3DxjctTMRkWQw X-Received: by 2002:a05:6a00:7c5:b029:19e:2965:7a6 with SMTP id n5-20020a056a0007c5b029019e296507a6mr13780150pfu.60.1610734465991; Fri, 15 Jan 2021 10:14:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734465; cv=none; d=google.com; s=arc-20160816; b=gl0RNNfunCK/GXhodDrAzqDllnA1Suk/WQSjW7ZRcfpdt1vmTmyuVI3kI/wpRYridf xswmfwJtvBvWML46KAFQM6MRQypHsbQQ/WrBJqe6p3V355wGdqswOxE65PV4I8J+3/4X fGwAad9a9yC/8BGNTm1nAi/9Z5F9SZ9gV2sLgCpCOSzEpLtfpA1Gk6eH30mJi9bHaeg3 d9cOY4MPPJe7HhAkxLCg+GEVy3qHkvflKe6qXgZboaxtWM+cEZUdkgJPrZ9qnCW2ETFz 0uQ8d/h7dbOPiGToMgJ5VnbRQyLpQxQy9H1z9Ji+v/7I+eH6xfshppMGfmL3DyCro4Ib UwPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=QthdKh778v8+b+TZK6pitcVyY7yJlL++E/wEQ6jld7s=; b=q6yG4HvtFWxAJXTG47M8VRkZ8zl1ztKPsMTu+C2tYiGtZ3ZPHy6O2xrC4QbZuzm9i1 BQT++FbFQkgC7O7wqITYergCoXXIzQsvga6LDi2bD83BhmD0zrc6M2Ps3ZYRxy//wY5v cZyVkhyuvmoUrng63y1S6h9U4IfR5Kz/BXQGQA0A2+kqPQJw62rQsM0kfuxzgeBKX6+A CKBr5keojxEh5D4XFP1Aaqxpi7yjjXjqgzxy/E6kMqlZRPEY256mX1vNKtt5gqwFch0V 01nSOS2To5Xwh4wz38uzmHSo2pEWV2gv5e4RTHSBsvFifCJWoGp4hh/4YntoEyHmSkWp saZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="dseFE4l/"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id y4si10462999plp.301.2021.01.15.10.14.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="dseFE4l/"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2759A6E49C; Fri, 15 Jan 2021 18:14:14 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2ACCA6E4A6 for ; Fri, 15 Jan 2021 18:14:11 +0000 (UTC) Received: by mail-wr1-x42e.google.com with SMTP id 91so10213786wrj.7 for ; Fri, 15 Jan 2021 10:14:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Zk69YegOGJqysgGJbDn5xfrwzKa0lDxp7+yp3s1Kj6U=; b=dseFE4l/a7Wm6ykCQlC4gaq/QvUbmlCUt5gKH0q+IywCOX3NvEoX4BwK6m03B9VDXs 1SuhGTsHQqMW0lwqBNgvjdN6LqP7wXL1vty08oacmKr1HNMacqDFja6hyg1EryPPh1Wz qxo4jjbHw3Knhoig20reJn2pzkM4e+gTMiKwBwz+tD53xJEA7BIKhGYysAKbmkH7jH+O WDtWvkXFDI9vzX74EWQET78aNV2d7JIUsoqMic7S/ma0eYZ/UQJ/vieSlU8W+dk4aI2q LPwi5vp8uhWFUS0YL6n0QoHiQBFn1GzjkjfIzCTrXXa8w2WQCfN3EI3TW/ycUM2X8gYj NPEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Zk69YegOGJqysgGJbDn5xfrwzKa0lDxp7+yp3s1Kj6U=; b=RP7nBxNmZk4Q6/3zoCF6+G6Qc4/nRXw9QiltXKUt6r5gpaicCUgFo4rCpEwntXFpkI 7HRw/WRH2Big1ZjCYDXE5FWwr48BDJtE++1Y5qlugWaqC+L31PlwPmCrhfUParCsl/1N xTuuSlmHdCyq30IehE/Rte+0BU+AKOWNwb4qmcULb9Pr0xZgOPKnEeQ4c1WzYY4/D8u3 EeoTJVBdvrx61trqUrVZKLhUXF3mLEZkvnr2edMu6wGfWTKC2fuzvc4tYDiS5UnJbvjZ /+3UadjXE6bNAmgyR4J2z0O+JPUE/+JltTTzvrHGVrutu9eURCHIsZsF0xDALXcrcQeI IHpQ== X-Gm-Message-State: AOAM533qkr7IKLs0SlCsFUjnJiS8zBcWJPCzD/7kGn4VNMBq6LXxmwd2 oONLF/KYOOkssII6i7Yi60zFQ8kNjpikURMH X-Received: by 2002:a5d:4c45:: with SMTP id n5mr14779840wrt.396.1610734449759; Fri, 15 Jan 2021 10:14:09 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.14.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:09 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 36/40] drm/vmwgfx/vmwgfx_shader: Demote kernel-doc abuses and fix-up worthy headers Date: Fri, 15 Jan 2021 18:13:09 +0000 Message-Id: <20210115181313.3431493-37-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_shader.c:134: warning: Function parameter or member 'res' not described in 'vmw_res_to_shader' drivers/gpu/drm/vmwgfx/vmwgfx_shader.c:663: warning: Function parameter or member 'base' not described in 'vmw_user_shader_base_to_res' drivers/gpu/drm/vmwgfx/vmwgfx_shader.c:695: warning: Function parameter or member 'p_base' not described in 'vmw_user_shader_base_release' drivers/gpu/drm/vmwgfx/vmwgfx_shader.c:965: warning: Function parameter or member 'dev_priv' not described in 'vmw_compat_shader_add' drivers/gpu/drm/vmwgfx/vmwgfx_shader.c:965: warning: Function parameter or member 'size' not described in 'vmw_compat_shader_add' drivers/gpu/drm/vmwgfx/vmwgfx_shader.c:965: warning: Excess function parameter 'tfile' description in 'vmw_compat_shader_add' Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_shader.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_shader.c b/drivers/gpu/drm/vmwgfx/vmwgfx_shader.c index 905ae50aaa2ae..a0db065640131 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_shader.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_shader.c @@ -125,7 +125,7 @@ static const struct vmw_res_func vmw_dx_shader_func = { .commit_notify = vmw_dx_shader_commit_notify, }; -/** +/* * Shader management: */ @@ -654,7 +654,7 @@ int vmw_dx_shader_add(struct vmw_cmdbuf_res_manager *man, -/** +/* * User-space shader management: */ @@ -686,7 +686,7 @@ static void vmw_shader_free(struct vmw_resource *res) vmw_shader_size); } -/** +/* * This function is called when user space has no more references on the * base object. It releases the base-object's reference on the resource object. */ @@ -945,13 +945,13 @@ int vmw_shader_remove(struct vmw_cmdbuf_res_manager *man, * vmw_compat_shader_add - Create a compat shader and stage it for addition * as a command buffer managed resource. * + * @dev_priv: Pointer to device private structure. * @man: Pointer to the compat shader manager identifying the shader namespace. * @user_key: The key that is used to identify the shader. The key is * unique to the shader type. * @bytecode: Pointer to the bytecode of the shader. * @shader_type: Shader type. - * @tfile: Pointer to a struct ttm_object_file that the guest-backed shader is - * to be created with. + * @size: Command size. * @list: Caller's list of staged command buffer resource actions. * */ From patchwork Fri Jan 15 18:13:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363700 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89640jap; Fri, 15 Jan 2021 10:14:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJwhKWkhiiTdZNXbP96GXuak09Y0y/3m08BD7hwLM3XdV6v5bk/+W2uj/huHE+rc/CwMYOZf X-Received: by 2002:a17:90a:d58c:: with SMTP id v12mr11978731pju.37.1610734480582; Fri, 15 Jan 2021 10:14:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734480; cv=none; d=google.com; s=arc-20160816; b=r30RG08SDnfI5CJNQTql4g5C5CKW3oLnqTk1uPQ3W9otERzgbpbdf+3snNl+odugG0 QNLpi1qmdIwW9Hlrj3HgED0CT+nEhUNvTP1HJDrqs5N+MybNXM0J/Tn8prQWGuakizE1 9GoFYP4uPVyg+2SsxT05ECdOegAZlb/c7zYb52XLLsgBPwQ0N+NWU8uGLAs5eKcDyeru uWu9Rv0hpXRWc2r9o+8ZGNMoTzOC1YA3Lgd3HJPI8Z4LdUN2/X6cEQWOD8jb4ptyLNSt xBApQc+hJWTrgpU6DuvuB2mBIgavXJ/VizgcnkzSXQ+x/pvvEyy8ZWXxlAWQ5HMdu55X tS7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=B+iH81mXto3ODF1oYVoYVuzCCpZtxcSA0JBEcRPRMxE=; b=gHagsrpUdqjiiJ6pw7PKDZrMUkl4ySJQcO5F4Bc+e2rdkaaWJrI9DCnkPH+DgPF9E9 smX5DMX27ugUbI4tqx7fYSWSNgk1jWox4vg0iUrto5XyPco6mBvft/1E8WRCp94mxdPV mkGhQepnsFmIpGAFngdUZBSIiSX1JEJLbhozDZ8hcV6DRvD6y2F+mFgyvyLS1BN6RU9e 5MtU6Cv+p+VAuy3phUtf32RcQXlV9BrmyMlgnRz569zFkboVyt1PCpEIQVhzUjvwaXFS QrV+SgHnhhtGCx5jYy3nn9W2XzDuFK8b3WUilnOn5kNdthvDyb4N9vFJHIQwXGDd7aSD Vi6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=M77jBSyJ; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id co18si10695235pjb.34.2021.01.15.10.14.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=M77jBSyJ; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 480096E484; Fri, 15 Jan 2021 18:14:30 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by gabe.freedesktop.org (Postfix) with ESMTPS id 45BCB6E4A7 for ; Fri, 15 Jan 2021 18:14:12 +0000 (UTC) Received: by mail-wr1-x436.google.com with SMTP id a12so10180142wrv.8 for ; Fri, 15 Jan 2021 10:14:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Am4t8b9En1HIfsclMg+25TY7LAvRdlrz1SUTzn1fYz4=; b=M77jBSyJi06eqwSb0fQBTfnZ6ireTJ4ExXO9TEhHwoQ0gXWo1v183KS92TUeVaZNun YaX4duc8tuj90M1fTQ98u9PMbQ7Bejo7m/hnKIcm49IzS1dh3qyft6nJFFvkFkYBiNry 1Q/zs3xW7pMSKqv/lq/YTh6y5aZnafrgpq2vVAWsmVe0Q+UNzzL0nacr2TGkrdOlb/eq T3pzb174ylDgVUTO5QSkquN67H3RgsAoicWZOaTge4rkS7bE4D0HJRPNMF+NSBzgHaLx ZrQpEF7vifXb2dfhbkakdeZikPe+eIitwHnJCTNbbkkaP9BR8tNBrZemhTmDcmOFhh0g kzyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Am4t8b9En1HIfsclMg+25TY7LAvRdlrz1SUTzn1fYz4=; b=e4lTBpl8c8SW2qwiFJQVFBlAkZsG1sz5EX8K/bXLdoEFkCGH/YSkseRDK3dur3OjBB q6Mr5y+F4rqa8iQQ34gxPBgM3IGegS1Zd6dO2sAqXojOpptpPOIc3K5I/oq506Fa0ar/ NqriRf6Py1Q2oyhNet+TuE5CXRDqFT4y1Zq4sG4KNNx1SSmr9ELuWTDBg+Wgk+e7SJ3j UlviyCyiTXcLdP7U9861NVb6Rumshgn8lO/gMFcsqVcb2huQb1GH0gk7eejaVdqO/23L i9vmA2CJMX5z39Gx6cvXOKoe0qBYUNSEdpeEzjjKfDjjXGHBNl48LVUUkNnWI1x7upYe 3B2A== X-Gm-Message-State: AOAM533+C1mbhGGmOCqbp1JqlNnoMVz9Qdn5eKlJLIAd3q+/pmk/NEl3 e/1CctZguSzsbWbU9zWbeqBlkw== X-Received: by 2002:adf:902a:: with SMTP id h39mr14400546wrh.147.1610734450977; Fri, 15 Jan 2021 10:14:10 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.14.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:10 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 37/40] drm/vmwgfx/vmwgfx_cmdbuf: Fix a bunch of missing or incorrectly formatted/named params Date: Fri, 15 Jan 2021 18:13:10 +0000 Message-Id: <20210115181313.3431493-38-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c:58: warning: Function parameter or member 'block_submission' not described in 'vmw_cmdbuf_context' drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c:109: warning: cannot understand function prototype: 'struct vmw_cmdbuf_man ' drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c:164: warning: Function parameter or member 'handle' not described in 'vmw_cmdbuf_header' drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c:257: warning: Function parameter or member 'header' not described in '__vmw_cmdbuf_header_free' drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c:380: warning: Function parameter or member 'notempty' not described in 'vmw_cmdbuf_ctx_process' drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c:1168: warning: Function parameter or member 'context' not described in 'vmw_cmdbuf_preempt' drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c:1193: warning: Function parameter or member 'context' not described in 'vmw_cmdbuf_startstop' Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c b/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c index 45fbc41440f1e..3158924ffa852 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c @@ -48,6 +48,7 @@ * @hw_submitted: List of command buffers submitted to hardware. * @preempted: List of preempted command buffers. * @num_hw_submitted: Number of buffers currently being processed by hardware + * @block_submission: Identifies a block command submission. */ struct vmw_cmdbuf_context { struct list_head submitted; @@ -58,7 +59,7 @@ struct vmw_cmdbuf_context { }; /** - * struct vmw_cmdbuf_man: - Command buffer manager + * struct vmw_cmdbuf_man - Command buffer manager * * @cur_mutex: Mutex protecting the command buffer used for incremental small * kernel command submissions, @cur. @@ -143,7 +144,7 @@ struct vmw_cmdbuf_man { * @cb_context: The device command buffer context. * @list: List head for attaching to the manager lists. * @node: The range manager node. - * @handle. The DMA address of @cb_header. Handed to the device on command + * @handle: The DMA address of @cb_header. Handed to the device on command * buffer submission. * @cmd: Pointer to the command buffer space of this buffer. * @size: Size of the command buffer space of this buffer. @@ -249,7 +250,7 @@ static void vmw_cmdbuf_header_inline_free(struct vmw_cmdbuf_header *header) * __vmw_cmdbuf_header_free - Free a struct vmw_cmdbuf_header and its * associated structures. * - * header: Pointer to the header to free. + * @header: Pointer to the header to free. * * For internal use. Must be called with man::lock held. */ @@ -365,10 +366,11 @@ static void vmw_cmdbuf_ctx_submit(struct vmw_cmdbuf_man *man, } /** - * vmw_cmdbuf_ctx_submit: Process a command buffer context. + * vmw_cmdbuf_ctx_process - Process a command buffer context. * * @man: The command buffer manager. * @ctx: The command buffer context. + * @notempty: Pass back count of non-empty command submitted lists. * * Submit command buffers to hardware if possible, and process finished * buffers. Typically freeing them, but on preemption or error take @@ -1161,6 +1163,7 @@ static int vmw_cmdbuf_send_device_command(struct vmw_cmdbuf_man *man, * context. * * @man: The command buffer manager. + * @context: Device context to pass command through. * * Synchronously sends a preempt command. */ @@ -1184,6 +1187,7 @@ static int vmw_cmdbuf_preempt(struct vmw_cmdbuf_man *man, u32 context) * context. * * @man: The command buffer manager. + * @context: Device context to start/stop. * @enable: Whether to enable or disable the context. * * Synchronously sends a device start / stop context command. From patchwork Fri Jan 15 18:13:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363689 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89395jap; Fri, 15 Jan 2021 10:14:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJyYT9uaDO2dUKW/IswOXGX6AdRtYpAUw1aTSBgoqR6HHgH6Tsmo3IhLtdP33GPmi1K/Zjsw X-Received: by 2002:a17:90a:588d:: with SMTP id j13mr982127pji.50.1610734464607; Fri, 15 Jan 2021 10:14:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734464; cv=none; d=google.com; s=arc-20160816; b=DUTCQb5vZrjCVDRMdWe/9Mr21RrD5fs8CDHJaw5bSvWrG0DhEiga1+sPLg69bEbLSq 51BE1W6iQw9NuGhRkRI201HX3LXA2WScFVIghuaZeBGtbO6rWy8Me7whbtcyjkFgcTY+ t52DAsfrcgBQgLcaii+Z9PfY0JE95AisAnrHxUnHMDA/WEIQ0e/is0slwV6KpQ/eqSA8 YwV5evGIppMw+g3+0kxbGrXtRyAKE7epf2aurXzrrGFNo9hrJkjGetwmU27LCebdPn5A yc9iTXhp3xtsqT4q2wmpswSg8rJa6jeLn8XYmh92vdRct/nNBz2hmxcNgONMaK4wrCL+ nXDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=72TRtkDJsVnZy8h+tDYpFNXooUTWgd3XCVuUA9H/S5A=; b=xYk6njs6jtYRQoQ+rjhdz7nkcr73t7ZLeJUuBVisn71DfG6ncha00F8IKcqBbBGO7f YvG+bpp/uOeA/Xq4LsAaZPBzXsp+hGIg1Kcg5Yw5MaPggx6RqczdlIAZAsrVv3gDjcJm zAboUiP8Orm+qcZZg8AUPueD8Iu6YWn4agD7YGeW3Hj3Yz/nkQSnxpVMylpca1ROQrrP TtmXZTNJgbQi066qU1yIC8vrg7FTXMRGo/p0YYdTWxnuMoUcr6s93P0F7SS10GqQpCwr R4HlBg3fpAOroOFCN5EB2q5AOFdyDabPyyuJt/Bns8eVxIsScIP+we2BPfenUpvOHdy8 Dhqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=xHzJWvUB; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id y20si10942439plp.137.2021.01.15.10.14.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=xHzJWvUB; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4A3D26E4A6; Fri, 15 Jan 2021 18:14:14 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6EC3F6E457 for ; Fri, 15 Jan 2021 18:14:13 +0000 (UTC) Received: by mail-wm1-x336.google.com with SMTP id k10so8213961wmi.3 for ; Fri, 15 Jan 2021 10:14:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lUllZlLn2aeKUdYiVAeIic/5IUxXot0e1d7nGV4+J9E=; b=xHzJWvUBBvuWc4Xl5VACsWf7N/b0v4PM+Qxj0aEVX4T/Ialsfqoba2uENutm20zcbe SaHvLTlmH58mQ6cFwjcCCodq/QHt72Iu43Xb329LXWojJa7oAy5FXhy2ROEXFtld/q0I 6Bkq0aU2nuUl1WAISSsKA03rO1HtN7OS/vQAo0Mu59atH1sWKQ0BOJRGdqbbI/AxDYJa mKMP7dh/5SkXbKhLTNWDNw72XJlZ69B4cfYOT2tlqPa+14eFXTZ3+232t6Gh/e4fD3UI 5beVeeQ+z6ZFxtKsL6isJU1T08spSkRPfoQeca1f2M5VIPsgFuCTmP1gzibzEXNMEy+/ sPCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lUllZlLn2aeKUdYiVAeIic/5IUxXot0e1d7nGV4+J9E=; b=Ak7iUBCmE4+1c++UClCTwTbLnym7pqbpoBGQJgoVJCyIqSRsJTN9p1N2TptTxhlJVB ascIosxfaQgUbBUODhG3tLRwv4ukcaybb031rEmS8YgVKWV+znSpj4WrZSGQoZq9Mmlu 5nyoyo8cKdNqAfN3TImtpz+qA3gdq6GgE46AbntPESWHdkb4LFci4PvvjoPNgUKgqHja e4G2GtANwPfNzO+nBckMPDghGkd8W8vW+ExW5r2x+z42o+/gRs7FOrbxIkCj/Xp+HAza Eur27vaI+D+wqrpLBxrK75ihzHFshYq5yunlO7+yRgQ10uZ1Sff7jzMQ4nDEVvUXzaXs Xrrw== X-Gm-Message-State: AOAM532pYCNA9C+XHp6GVVlU7RLE2keepKIVDOP6Yq09R90ulepZZ9BX 2PTZb3Wy372dW7k3YcuoZts/0Q== X-Received: by 2002:a1c:e2c3:: with SMTP id z186mr9844691wmg.144.1610734452136; Fri, 15 Jan 2021 10:14:12 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.14.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:11 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 38/40] drm/gma500/power: Remove excess param description 'state' Date: Fri, 15 Jan 2021 18:13:11 +0000 Message-Id: <20210115181313.3431493-39-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: Rajesh Poornachandran , David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Benjamin Defnet , Alan Cox Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/power.c:190: warning: Excess function parameter 'state' description in 'gma_power_suspend' Cc: Patrik Jakobsson Cc: David Airlie Cc: Daniel Vetter Cc: Benjamin Defnet Cc: Rajesh Poornachandran Cc: Alan Cox Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/gma500/power.c | 1 - 1 file changed, 1 deletion(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/gma500/power.c b/drivers/gpu/drm/gma500/power.c index 89842e09cd2aa..56ef88237ef66 100644 --- a/drivers/gpu/drm/gma500/power.c +++ b/drivers/gpu/drm/gma500/power.c @@ -180,7 +180,6 @@ static bool gma_resume_pci(struct pci_dev *pdev) /** * gma_power_suspend - bus callback for suspend * @_dev: our device - * @state: suspend type * * Called back by the PCI layer during a suspend of the system. We * perform the necessary shut down steps and save enough state that From patchwork Fri Jan 15 18:13:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363701 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89658jap; Fri, 15 Jan 2021 10:14:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJzCxbPTJ0+ZIc3dNZ2IaI5QcdYUSFwH63GlN5aNqm4lJpJ4lo1mmnzI501RhLeD6QlCOPNz X-Received: by 2002:a63:e4a:: with SMTP id 10mr13961361pgo.45.1610734482125; Fri, 15 Jan 2021 10:14:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734482; cv=none; d=google.com; s=arc-20160816; b=Qxw/GKIfz+I/cXA+CM1Pw8Pyeh1fGdBCyzQZ8Um+1O4YqmBnp2SZTNNV/fvPMOoAYd ZINIMucsjhGoOUvVy9vDy6McbvkYQzm6zQy8goCfD/X7Dh8cXE4QA/PefOFQVgyFj+DN Xydc0dDpuiquONwNWDfDO1UxBrqd31I8KrwEAJeQDEVTJYxajl7rRdBK7+Xpqaj7hNmL H4hQ0Epo3ly4Z5zilNfScIp26VCx1/wDnHeoptjbzS+ZwypF2myK+1+7rtXhMWbdMx7+ wXBemWgWwKnI3rSzfgNwBtJ0RJfBWyvE7cPHIXwbTO+i5feczMLlO+FC6uAkdBU5Da75 5QOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=B3hoLwK35D8JfpaAAwig/hpaRT2NvusU4wKaF/NvJc8=; b=KWi5tGeK4PTQQUREJv66AxVUfH0JdMf6kqWp4KFC8xKxkPnpB/tfZYGSmkJc9RPsOK Ag3rA/Y9cDSyE1C4NUkYTuwTq9AsM76V478iRJyM3ae6aYQs4e2YSe6joPLjSL9jviqi +XDbVgKCcXl2ILnZEINE4qPOBunBz0Oy6X/fJITtc4EN+9qrbBGkCFgfZu7g98WWZBdc l+kihwh4For+oE5et//I0hLkb95wTftreG6d8+aWoZbdH/1strTmGD6f4JGWDPOUBTHL BZ6lF8hQDiXInAofEmOQEedVM99WL0fjUxLJIeweZ+E3OM3USKMosbDXlE3t+NZOvBHg YzJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=qGaHgBNT; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id s6si1360590pjk.31.2021.01.15.10.14.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=qGaHgBNT; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 515016E4B6; Fri, 15 Jan 2021 18:14:31 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by gabe.freedesktop.org (Postfix) with ESMTPS id A5D066E0CA for ; Fri, 15 Jan 2021 18:14:14 +0000 (UTC) Received: by mail-wm1-x336.google.com with SMTP id e15so1997425wme.0 for ; Fri, 15 Jan 2021 10:14:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eQaT8O9XxcsJgVKni1h0yZPLQZvOBcm7ZwMWNBkJiNk=; b=qGaHgBNTx/fmF+7Ais7Ufdt9dmQbs5EWdBbcb57RTL+tsSdSG4dLYqS9cxfLbabOBM G7I9mfukkMai6ee/f1y806pY54Bn5Spyy/lJ+0gebGjME7nRSZhwig9Ab/PU/kMiYg76 mzI5bP3uYAC1BJWW096JxqScQIA4ZkiEe9M5zfTyTJBhTf6QXjhDL+HacORBsYZv3rW3 FeJ+dEqcpLZUwtxPPWorSiauOcrk5TU9ew+/7T0tr/u7+w/wvoZK5pd85sOSdZdHs3Sf 1oorr/AZEqW+GB/mtVJMRy6oiv2AWntCCnTYB8gOg/kWttSVJvcSMHlBtdvydQBhyfR1 eoYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eQaT8O9XxcsJgVKni1h0yZPLQZvOBcm7ZwMWNBkJiNk=; b=MqIGdKdvSfm0SiJw7VOEm+dIZXVmtlbSdyPDJOQFPlDytBU3o4WKb9/fubuKWsSpNm 5TQJ2kVUGF+NUlzE/MSY+sjV9rgFiUWJ6q7PkKgPYc0FZlsTnuRJmh8E1Ot8MnYZZ1C+ YgmBE3kPaEPeLOZ7FKKA4swhsq4oWQG+8cKagKTSAtKvE9rD5CvT140vAaKv1jndQChX cR2XhwOBqeHN4ES+G75PhFI/KE6aUBd0rOZIkAUfTleB2jkwvP/mJIA45lRRP0DUVWgM 45Mefi+9kiFL/87Aj0uLhRO6WwWmlckEpjTVuHjM0XFUK63MZ3isbivRH2Ji4SKig7IE tJUQ== X-Gm-Message-State: AOAM531HkvIOMM49cHHqagUs/mBA4NsudQjAUUezFnilPnZR+zE7SF71 x1qIkbZ/kpLRwLG548nLHOomWw== X-Received: by 2002:a1c:cc14:: with SMTP id h20mr9966183wmb.180.1610734453384; Fri, 15 Jan 2021 10:14:13 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.14.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:12 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 39/40] drm/vmwgfx/vmwgfx_cmdbuf_res: Remove unused variable 'ret' Date: Fri, 15 Jan 2021 18:13:12 +0000 Message-Id: <20210115181313.3431493-40-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c: In function ‘vmw_cmdbuf_res_revert’: drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c:162:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: VMware Graphics Cc: Roland Scheidegger Cc: Zack Rusin Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c b/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c index 92509fbf2fd1d..b262d61d839d5 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c @@ -159,7 +159,6 @@ void vmw_cmdbuf_res_commit(struct list_head *list) void vmw_cmdbuf_res_revert(struct list_head *list) { struct vmw_cmdbuf_res *entry, *next; - int ret; list_for_each_entry_safe(entry, next, list, head) { switch (entry->state) { @@ -167,8 +166,7 @@ void vmw_cmdbuf_res_revert(struct list_head *list) vmw_cmdbuf_res_free(entry->man, entry); break; case VMW_CMDBUF_RES_DEL: - ret = drm_ht_insert_item(&entry->man->resources, - &entry->hash); + drm_ht_insert_item(&entry->man->resources, &entry->hash); list_del(&entry->head); list_add_tail(&entry->head, &entry->man->list); entry->state = VMW_CMDBUF_RES_COMMITTED; From patchwork Fri Jan 15 18:13:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363693 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89493jap; Fri, 15 Jan 2021 10:14:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0kPe/C+p7MpQL2gSqgriQ1N8pHG37ou+pDnFT+duYG+d71a0skVL0gPITzx7bWOVjKAu6 X-Received: by 2002:a17:902:7d94:b029:da:f673:18b9 with SMTP id a20-20020a1709027d94b02900daf67318b9mr13811338plm.37.1610734470512; Fri, 15 Jan 2021 10:14:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734470; cv=none; d=google.com; s=arc-20160816; b=u9NrzbDQ76f6LHGsUuUDfqXNeJ98XGxb/+qBqxV1BIsq6sh9ew98RWcRGD9dQF9zsF 5uA42SbWEbKB3O6w6U2dzs+k4EuL8AeLaBkVqD1G7yuXUWMWcpbYy6sYq9MvTa2QrOeS rCHPiJtOSYoh3vd9nQWxwOZ1goTgYjpdooBMzYih21n886p3mZYGlQr5VUKr0juUJ/KP 9IA6VzwUpQiYB/0qODcJSdafCyTrVqzxf9GZXu21+TNbK97/EioXLOBpGkmxLlnfhB89 G8Lc83tHyknOXjBw8mNmS/rc1L9hKRhJCmQZtOPaOVHRV+1uw0IcuJODt5n4Vu7bQ4iX 7iJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=6KtKCr3O95d/oSELymRT0EvYFSyPNKKwviV4C6cwvsM=; b=KVqmkoQBrrCpTlYDqdJOgFF/MTN7ynsNgecL2hwPo/GewBjamWdpZ8gkoLlhlj6dWv KN4gfzyh7gBDwmqjwFmZoE+QLF179xlzL+qwaMtHrqTEKGKo5rQyA56Fat2kMWYVLIwi E0S3+5iCdy09F7jgPn2NXjy4qKx9uK8B/qOvBBKzAagJnzTjVQ7Z9UCmdwKg3fEa/D5R 5O2X+MY4dfVa34JU0T9tfS1hBymM07lcbNBb7ZefVW6IWr/KW3mswTyvR2rL968ghLIs B9tcqOYY0vY/OyPw8ZsUnF+N2H2P11CQKlmRtX3W1C8SyVFpi6uAX2Q9kubH2jW2x6k8 ulNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=o7PuaCI4; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id f11si10713754pfd.231.2021.01.15.10.14.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=o7PuaCI4; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 84CBF6E0CA; Fri, 15 Jan 2021 18:14:19 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2CC576E4AA for ; Fri, 15 Jan 2021 18:14:16 +0000 (UTC) Received: by mail-wm1-x335.google.com with SMTP id y187so8409894wmd.3 for ; Fri, 15 Jan 2021 10:14:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dkKAWRNMkHThiFz1M9uddp3Rd+YUVjBVQ8G0RRd1tPg=; b=o7PuaCI40GcwIe5PjjeOUWjBVVmNduFjVrX6LvSBREgDSRwEdcNazPXmpCSJJ3Abqp jHvxty8xwYtPpKoc8z0rMM48pZooE9DKPitlXD33YwkvNDAxgNfkzj2mDrBh2Z2o1FMo hPV/x2CCq7i4Jk5E7vLIuVQG8MfdtET82/eo1sYvUXNGPgNynkqb2VEZdnTcVRjFaECE VA6D/pnRGbVutsRAQDoVguz3v4iUPTtJFq7Jtx6ClYl3xKwV9kmQRHguoB/YAAtgkVYq xmNd+4nEIrsGksJR0dszRBUb7U8iqVNiILWrdJB1Pr3DcAo+GE8dKXLPiM3qthrpjTzS QUtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dkKAWRNMkHThiFz1M9uddp3Rd+YUVjBVQ8G0RRd1tPg=; b=FY+hkux0gnjcIWyUZ0YCHGFMydPo3rrW2AV9MVrxZjiov6nWn8fUpthNrMp0U/ZCk4 w0r6oFACWFi6vwoDfmVfzX9bKbfhv2bmDjeNU0zt6yh5Ncyqts/Kc+bpBL6AlZHt3RqL k1rwdB8XHPHIs0imAwCVSjR+JUaLwDSUq6I5a17T5s7gRLqvd03XwOKdK+WqCrkxdBbW X+x4X9XMYFTq+25wIbQnHvAByl6YpELUzHAIuPpe3NeiEcZ0DuN2f6HBC/IwvTJVthG8 ITETauuRauNWpyh/sJp5Z0OBs5mT1ogirSE9iYXHOmBTkQ1E5LAiuOMgdy9iHGVs/gfK w7bQ== X-Gm-Message-State: AOAM532TDyPxxZamNLvtxXYVyfV0kZXKptjx7rllPB6TDi6+TndqQMEL SM3g1nN+k6S5EovS53svp7tQNQ== X-Received: by 2002:a7b:c2e8:: with SMTP id e8mr9709934wmk.103.1610734454715; Fri, 15 Jan 2021 10:14:14 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.14.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:14 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 40/40] drm/vmwgfx/vmwgfx_stdu: Add some missing param/member descriptions Date: Fri, 15 Jan 2021 18:13:13 +0000 Message-Id: <20210115181313.3431493-41-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c:77: warning: Function parameter or member 'pitch' not described in 'vmw_stdu_dirty' drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c:125: warning: Function parameter or member 'content_fb_type' not described in 'vmw_screen_target_display_unit' drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c:125: warning: Function parameter or member 'display_width' not described in 'vmw_screen_target_display_unit' drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c:125: warning: Function parameter or member 'display_height' not described in 'vmw_screen_target_display_unit' drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c:125: warning: Function parameter or member 'cpp' not described in 'vmw_screen_target_display_unit' drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c:682: warning: Function parameter or member 'user_fence_rep' not described in 'vmw_kms_stdu_dma' Cc: VMware Graphics Cc: Roland Scheidegger Cc: Zack Rusin Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c index fbe9778813648..01567534f4fae 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c @@ -61,6 +61,7 @@ enum stdu_content_type { * @bottom: Bottom side of bounding box. * @fb_left: Left side of the framebuffer/content bounding box * @fb_top: Top of the framebuffer/content bounding box + * @pitch: framebuffer pitch (stride) * @buf: buffer object when DMA-ing between buffer and screen targets. * @sid: Surface ID when copying between surface and screen targets. */ @@ -109,8 +110,11 @@ struct vmw_stdu_update_gb_image { * content_vfbs dimensions, then this is a pointer into the * corresponding field in content_vfbs. If not, then this * is a separate buffer to which content_vfbs will blit to. - * @content_type: content_fb type - * @defined: true if the current display unit has been initialized + * @content_fb_type: content_fb type + * @display_width: display width + * @display_height: display height + * @defined: true if the current display unit has been initialized + * @cpp: Bytes per pixel */ struct vmw_screen_target_display_unit { struct vmw_display_unit base; @@ -652,6 +656,7 @@ static void vmw_stdu_bo_cpu_commit(struct vmw_kms_dirty *dirty) * @file_priv: Pointer to a struct drm-file identifying the caller. May be * set to NULL, but then @user_fence_rep must also be set to NULL. * @vfb: Pointer to the buffer-object backed framebuffer. + * @user_fence_rep: User-space provided structure for fence information. * @clips: Array of clip rects. Either @clips or @vclips must be NULL. * @vclips: Alternate array of clip rects. Either @clips or @vclips must * be NULL.