From patchwork Wed Mar 3 13:43:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 392100 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp5133575jap; Wed, 3 Mar 2021 05:44:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJwHTaG6eZXtCn/w72JgceNTwN5aWgkkw/HBFT/dH50tdF4n+8L4nDD88+Y3IpapicxmLZz6 X-Received: by 2002:a63:1a1d:: with SMTP id a29mr24006304pga.236.1614779089334; Wed, 03 Mar 2021 05:44:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614779089; cv=none; d=google.com; s=arc-20160816; b=rUqcg0yjtUBneHEglhn/R0Bo0jfUICI3L7qK9JsIm+SmeQOfbBFEmeLnlMEcgGiMca rl69j5QBwuI9RpjE9BFzql0zClaWPf2qXwItZl4RRrEcu2fdRZiKwaEbm5TIP1dE9UdX 3K0nxFRqzqz62NnLch0UyqVZ9PjoDbdn3MsmGDq7ohOj6+hlUBvIfrlqP/wTweqLfNYX TgF8mEIeYuxUxYi6eidqd8dqZh3Tboiqn8EXCHQ7YHbWazmTxLE8Vb13lplVxdVX/XG9 HyO7MZF0SEMmTjQyQ7K4WN7kVLtl1YXljjuUbdJpYV7r0s42w5i8WAmUw1e4icpy/Xyl 5UKw== 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=MkADKNG2UGgC+faIrs8CXcFsXvZyK0MgNBHdZf+rDjA=; b=kR1H4rJ1GwVO3XSmvQh9TmPeNcSBDNwu69/GG+2qkDIC09Wy9+VS+wEiPb08YSlxxK iSVtu+PNY52mlKrQEhLED8aw4Mr9uD8dQSdY3rRbr73yL8+qjii0HRTD9UvzZcJwQjkS ijEgy9brYis+jLM0LZx0O6tmY4OgqapHhw0vXxtqwWYytMzcVTT6F5FEzBwDRGqugEXX Q+xpXi+fPLbjdEGSBHeaBRCabq38s1uptnmZoUqn1FAR7WUtZmyVpSCaLK3O6yf552jM lSN75QnwEXWs7ExLAhaXDm0Xz77oxLkkaOhFB8LxMSDGi24Oa4BiG8Fp61VekzjcjhNx Z4Cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=q18eepXe; 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 q15si24739404pfn.180.2021.03.03.05.44.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 05:44:49 -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=q18eepXe; 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 8D15A6E976; Wed, 3 Mar 2021 13:44:17 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by gabe.freedesktop.org (Postfix) with ESMTPS id E240A6E947 for ; Wed, 3 Mar 2021 13:44:15 +0000 (UTC) Received: by mail-wr1-x42f.google.com with SMTP id u14so23750259wri.3 for ; Wed, 03 Mar 2021 05:44:15 -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=oU+Wuk0/TjV8ruLVEbq6ixpjRneTtMF4qHY1z5Ned04=; b=q18eepXedncQkYrl7klqtSmyDsv1da3LROy3QdvrfbU4mhiYOow55NlC78cGMJgA4C +GqgDuboY2FgIAY9TSeBbzjPOkPhkKsh7+7UNDRyjUdgXfmDz9dnTN5wQfjwzcnDO+IP qEZJCDueuZ/8dUhqZuD3xLnZu0EtraaFy4HzVGdD+QsUgs89Lf8rJMxMG5Gt/5CSBmxv jhUsJhSCPxYAjbSqDfO8IaS2rxC5grdYGZUqLkV0/R7Th3+rmSYHFfLutzrfLU4Xclp+ 5j2th56OokJ5gqK0uC3EidXW/5JfJ+FoK7bL268Je2dRQZy9qy0mxxOCaJHt4o0sRu1r eU0A== 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=oU+Wuk0/TjV8ruLVEbq6ixpjRneTtMF4qHY1z5Ned04=; b=FMBxlMs5RxYqPiHjJeK7RwXJGSSWxpSpFrL/mNpx9ha4Uk5dSoBhd+GVE0ypsaI2jQ lzwve4Wl5uBIN1wsNxaHqRZaOoriM1i91SdynwQzsSGww1t8DFpD1cLjPyauqpJdSOX4 +CAZbXM3AT94lelsWWzfK7prmBBYQYfE/Wu8JR26m4oXoWBdGqkinBXqJhBL8vzdPc53 5ReEdNC3c8CCmhreg3fTSsRH3woJiUOci3Bp3dcFLIp3deRfadQrlNcxZ0WDRCK2Luvn efyIqiMTfSPCB2MDChvCp0YuSQkx3f5t3p0lW2gWXZCgIxrLM6cNvIchcXCtb8jxCRuj v0sA== X-Gm-Message-State: AOAM5321DQW8GNuTLW9oqiTsM4XgAvO8O/v8WdqGWU9wj8jFa6WuPpAl k4wD9fuXXmD7lB36ijbPuYjIQGMOn1gggw== X-Received: by 2002:adf:fecc:: with SMTP id q12mr27041197wrs.317.1614779054571; Wed, 03 Mar 2021 05:44:14 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id w18sm6109524wrr.7.2021.03.03.05.44.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 05:44:14 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 39/53] drm/vmwgfx/vmwgfx_cmdbuf_res: Rename param description and remove another Date: Wed, 3 Mar 2021 13:43:05 +0000 Message-Id: <20210303134319.3160762-40-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303134319.3160762-1-lee.jones@linaro.org> References: <20210303134319.3160762-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 Signed-off-by: Zack Rusin Link: https://patchwork.freedesktop.org/patch/msgid/20210115181313.3431493-36-lee.jones@linaro.org --- drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.27.0 _______________________________________________ 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 *