From patchwork Wed Mar 3 13:43: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: 392104 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp5133657jap; Wed, 3 Mar 2021 05:44:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJyCmDvRyg4q864si+tGsyyfI9uvaLwt4hygXWh0tG0AMoXIL1WIJzG1EcvdWev8R3Sgobzc X-Received: by 2002:a17:902:7481:b029:e4:5e6e:75f7 with SMTP id h1-20020a1709027481b02900e45e6e75f7mr24798329pll.3.1614779095462; Wed, 03 Mar 2021 05:44:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614779095; cv=none; d=google.com; s=arc-20160816; b=o8fJ+MOvxaXUEYgLAhKhkCshhAA6Vvb5oj3aF3izND37UoffK0seRplXIP7FzssAxz PRCKGmdntLKeXAGzcPekDOrUBYT9scQLf8uozeggS/A+/fsn/ScxXD5KGbSF7TMbeOgH C9aHbLzDP2cA/xePBXLtGNRVoIPt9LrfFz0qXL+dJXTRzdF5hjkIIMVD/daAZE5kTY9U cSWoQDfFpM5Sr+bb4rUtAFJetVtJcXOx+WXz7Y921101gljfuUZycmvK+v6XH+VBYYsS xDIf7hx7Ua3Ciu+SOrUSTdHJUWFZz/N7wcJoDNiGXrJuhSZVsuzPGMGz9xKNy2THBb+g XFQA== 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=2F8a2NgCXH9jozG/kf55peioEagWbMqrp8YTK8ryQVE=; b=fiDSoMoqln1BZIOk1ExKgvrpyvt1rAVGOW5UcWK0JMFSgpdNsNzkkTj3tuB94Bt6lV y3Eflv0NspijV+oTENcJahGgeJAVFVDlMxWm1olZiu6jk3t4xnjcgz8itEmNxqbQ2Vh6 k7zn4mkNUi9qojk0skVI6Hx32mTvc8k/NUkFFIhgLSqNrxh6YuefFtq6hbcuf1sVrGOf ZndGKNATvmazyTiJyZT/9Xzd6ruIUKb0zbw/Hf6D/NL0aZXNdEkHlAp9T0XiIvvQwiMN 6luRy0hScvlB8zLS5FXkKBzfkXL+L24/C5wW5StCysujwa4rTIcFzBAWfBViHQeDF3dt aD4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=R5yJXjEr; 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 97si8005254plf.331.2021.03.03.05.44.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 05:44:55 -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=R5yJXjEr; 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 DFB336E982; Wed, 3 Mar 2021 13:44:23 +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 743A36E979 for ; Wed, 3 Mar 2021 13:44:22 +0000 (UTC) Received: by mail-wr1-x436.google.com with SMTP id w11so23714891wrr.10 for ; Wed, 03 Mar 2021 05:44: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=O3gvwy4PeYzRI9ULf7uVbTevm9nR5Ng81aAgPUCWA6Q=; b=R5yJXjEroR+aAi5Xo5prsTIr/z57v+n/ht4ttCxnmCgCgDUAoyafUan/HKuwL8hmru p6Xj+KOnUCFDgVgm/K+RfNQX0xdutyUZxzVweat79ABuc6H9HUmMKWNIX0GzuUvQEDK/ o+P1o9sT8ivFFizyKdZ0R/eRtXsqxYfOHVi8YmEB7fe8JaFj+jN+o3HSZVtT8r1Y8IAr /PZ8UmBQjMDa61BkBmQMRLCWB/+QCgExg2QROjsbEaxM5ltcy1QwgGgFsuZedmzp0YmQ x/3grCp1SksM5OttzERnm8ZwIcuL4Nk4ZzP8uGKYMoqiJIyNQY06zXNtYwBkoo8szfNz TFcQ== 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=O3gvwy4PeYzRI9ULf7uVbTevm9nR5Ng81aAgPUCWA6Q=; b=dz5IJs3Js7hFmzJsLo94elgDQbWWKiNe7Cn/tz5hVDq1F5FTo9omzERdnoyGs3BVjf 7ln1wA/uwI5+P7b4agd1jbldO9ytfTSga9eIkVrnBadw5Z2KV8An47FdXuydIibZLBgs 8LWZurlD9vPoTa02uJ90shtMc7TqWQBzqImmcISMqZ44GnRSRh1TfYcvOtMfnzSgxf2p tE5ZCUrikLTRisBB6WUlJ4J2uQSOupeAR6S+Cl1hJ4LpcBYRi0ecXQtTRErl4A4JoikR idY8uzmQR/AKwlU9NnPkf0PwKG71zwj+49c5TSdJKgcGpbxoq9HaYgLbW26O38eIxCe4 5q+Q== X-Gm-Message-State: AOAM533LUgdnkTFcuCKmymVajb81goifPLUAq6i5fonpXv45613c1YFb ABm5sZS6/myjq3NMQFpAb5Z3xg== X-Received: by 2002:a5d:404f:: with SMTP id w15mr22820266wrp.106.1614779061148; Wed, 03 Mar 2021 05:44:21 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id w18sm6109524wrr.7.2021.03.03.05.44.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 05:44:20 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 45/53] drm/vmwgfx/vmwgfx_cotable: Fix a couple of simple documentation problems Date: Wed, 3 Mar 2021 13:43:11 +0000 Message-Id: <20210303134319.3160762-46-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" 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 Signed-off-by: Zack Rusin Link: https://patchwork.freedesktop.org/patch/msgid/20210115181601.3432599-3-lee.jones@linaro.org --- drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 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_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.