From patchwork Fri Jan 15 18:15: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: 363704 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp90987jap; Fri, 15 Jan 2021 10:16:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJxN0A7OtugvXlaJ0mXpYfMr7mhzXp+jWRuFTdxL6XM2MgEOQTiz5XRg910fDkbNmc9xJDbk X-Received: by 2002:a17:902:9309:b029:db:c725:d19c with SMTP id bc9-20020a1709029309b02900dbc725d19cmr13984625plb.39.1610734576471; Fri, 15 Jan 2021 10:16:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734576; cv=none; d=google.com; s=arc-20160816; b=dDQs3sRqF2+sW9wkqWm5SNIN7QUR4lSMZdYLFQRyJmsEb7bYQCsLdmxSVKEhNad9hj C2UXg+hGaCvB0BoYhnvUQtGsOihQFLy8OLSPIe7tOcID4PA6IJ3EBvWT5JroCCpWAHxQ cibLza0Oyr3RfXCUz2ucBHT3N+VoS7R0rSn0vdybISeuntkt2HDxVG5cKBGEvN9QtoIG arH6Pc8s4HXmatPIUmexXG8AH1jquvJMc8S1Nr6viNRxSS9kPt3SCxoZNYjeB9xw8oE9 P6cFvmKgdJF80zBVEBGh4ZzeJx7r5jz5kBULXH8onPJU2JDV7irMRU+TgMUk7hUbk1do 7UkA== 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=/iR2Xm0f3R0RTA6pwkcPDoxMhWQyJ5UPQs5yk16anuw=; b=TEPGFWE6xflrkgP3xv9A0uvB/F417JtKaqNB6OXLCzYusegrx1S3IL78eIpOY7c/l3 egCHLEHh7wGXDGHNXLQvH0q7BIsgKiVea0ToxcOBkQ+mZa+9edqI54YnDUK/FwN70wki +ZfShFrJKQW5QUb7JNSIH6/dpKHlZDHLVzXe0vhyhO4R7iDg7ItmepT2inc9sz3eC/Vu 2P7hO+yJNKDjrrNN54hNRS5NzPpr+qE37h0dcZ+IABqx9HIGTFlx6cgURWk2c1WwuTqK 7rYBoQNRNrR1ASoKA3NwhjCG9QEvDrdN1CCIaFfjRvuIWYxmk7bQlQ9WWNx7lzv4sFj3 stJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="e7F9l+/d"; 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 y6si1011612pjm.129.2021.01.15.10.16.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:16: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="e7F9l+/d"; 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 8B0F76E48D; Fri, 15 Jan 2021 18:16:14 +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 07BFC6E4C1 for ; Fri, 15 Jan 2021 18:16:10 +0000 (UTC) Received: by mail-wm1-x32a.google.com with SMTP id k10so8219322wmi.3 for ; Fri, 15 Jan 2021 10:16: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=CRnDlHVa12JoDS+1Cu3+Ec4HFRbAYSztolaDSiDve+E=; b=e7F9l+/dUV6ABxBCDtb/BidpEhKGM4UyqXYYkGDUNjAhYHxnuY9f3ElU0sjsZtNelV x/yJl6ti64qxc2h+OnEbh2MwY8KBYmeJZKU2yuyfvID0Yx8V2d/uBWhGXmYMDnmhmys9 6UYpMRgXvHThOA49/yJSUvpYCLe0wk3zbUQuvpSPknEt9y/sQjN98kjXlrLp64GlqGpG 7KMt6pJP/fyQkFaUKSl6k5RN94/I+jEnP4VsteeAk6fpsjH49xwIfPJABsJyaZ4YN4iv ZKfmjn/l98cpku1bSU5Kz7MEKHFBEw/hAVSZN1IAA7Fepu0nwoScJdvHIfXlFviqWmG1 B/cw== 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=CRnDlHVa12JoDS+1Cu3+Ec4HFRbAYSztolaDSiDve+E=; b=ZBt9Ivbf12SjCpyO0W7FUZIBEJX17hf/6MG4FoFv5srPWDb07Ai2YXpzMotBe7oebc SrBeip1j5NwjwohWLpiy507bmTNYy07UYharno5uUAEItvUjn9YJVuO49lX7ap2yi0iT RN5FOv+efo/w22acfVGIJ4d4RlqV6USmOWfNjef8BkK7FpvG0R09RlPsnBnzNw7XiHut qFtjGSmWBrZfhc941bLiXnUUVHSvolyMiDOv3SnaVzdYYo1thfQfyiAvBYZbVdHdoBh1 2i/CrRZfpsQoA9cWTVRrXoEb7XuVZn99UruaW2Egl+Y6IYzywXZyLmj5oGUfAD2K8fH0 9CxQ== X-Gm-Message-State: AOAM5314/S7R+udozJ3jhqMg0TYIa3ilQSi55CJNgzMDKpvr645fA63M ixWTv104fuvHlVorI0rreD0lFw== X-Received: by 2002:a1c:4b10:: with SMTP id y16mr10129104wma.73.1610734568698; Fri, 15 Jan 2021 10:16:08 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id b133sm14405979wme.33.2021.01.15.10.16.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:16:08 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 02/29] drm/vmwgfx/vmwgfx_cotable: Fix a couple of simple documentation problems Date: Fri, 15 Jan 2021 18:15:34 +0000 Message-Id: <20210115181601.3432599-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181601.3432599-1-lee.jones@linaro.org> References: <20210115181601.3432599-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_cotable.c:72: warning: Function parameter or member 'unbind_func' not described in 'vmw_cotable_info' drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c:308: warning: Function parameter or member 'val_buf' not described in 'vmw_cotable_unbind' 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_cotable.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/vmwgfx/vmwgfx_cotable.c b/drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c index ba658fa9cf6c6..42321b9c8129f 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c @@ -63,6 +63,7 @@ struct vmw_cotable { * @min_initial_entries: Min number of initial intries at cotable allocation * for this cotable type. * @size: Size of each entry. + * @unbind_func: Unbind call-back function. */ struct vmw_cotable_info { u32 min_initial_entries; @@ -297,7 +298,7 @@ int vmw_cotable_scrub(struct vmw_resource *res, bool readback) * * @res: Pointer to the cotable resource. * @readback: Whether to read back cotable data to the backup buffer. - * val_buf: Pointer to a struct ttm_validate_buffer prepared by the caller + * @val_buf: Pointer to a struct ttm_validate_buffer prepared by the caller * for convenience / fencing. * * Unbinds the cotable from the device and fences the backup buffer.