From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9AD48C433DB for ; Fri, 15 Jan 2021 18:16:23 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 63FC123A59 for ; Fri, 15 Jan 2021 18:16:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 63FC123A59 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9CAC06E4C5; Fri, 15 Jan 2021 18:16:22 +0000 (UTC) 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 D93766E4C9 for ; Fri, 15 Jan 2021 18:16:18 +0000 (UTC) Received: by mail-wm1-x32a.google.com with SMTP id v184so4178220wma.1 for ; Fri, 15 Jan 2021 10:16:18 -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=JdzYhU96phNVr/cQmxntosfoEfrUPlI8/6w18TG83mk=; b=TgDPtz5OvXkvw5Kk9fA2xhsW71qTJ9nYJUgdLHH5EdsH+0RK/3EQ6dpwnKsx95hrKT 2NFRLoQ2wNRsll1ImY+Eb83/QcJDfxPVKvKy2h7sSp13zL4UOUv9eBJvnJoXM5mLbgCP +jYHH/dPinV1RgllXaAYNLMVRpK8iV00cfHsW2kmDYxA2/nb6ljeeZmFMjX0A0/Vl8wz Swytj0YA1VCE58u+SRc09oFwc1jtE2W+zl2kQdPZ/I/+6Kb8zuw6NZwmd7H4KQCzVMg6 SrZxc1Kr0wnWa/zW8WK/VRDyWYgg+Td4hVQawOpdIfsMQ9xu7Rc+D2V7CHcCQbFWd0B1 ab0w== 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=JdzYhU96phNVr/cQmxntosfoEfrUPlI8/6w18TG83mk=; b=oJAUAU1qXs4mznnHB5gRfXVAwa4uQ3KHNW99rWoVHg7QdANt19Tb9VuyPQSjyMe4zG KdZIxQAqFbxQYK2Q1hjC5B1D0zkdJgkkLtoU03IXN0QJctRMBZDB6gPn90g2SKECX+8n Xovc0LOftbjenu/hO1kLX0m/PBfn2hlMxOU8rlhxLyn+CMTYa6J9cS6GLHbD9v73+CeU 4HxDlZPR8QDJ22mtL0TwXodxan41k7DcjaBPEXf9jbSMzEju8y8knh3M86gmJKRZTiic nwUvOpu0k+MlaN6uxxYslsxcjWDI06YXJK95YiHoOBtceC3H9tYf6fVdq+IJGYZhggdM IvDQ== X-Gm-Message-State: AOAM533FnzTayAhMRjy0cOycyK+AdVhj1MZlJk6sqyUm/9wSF5gm7T36 orgm/fa0OnUIHYcI1qdBNZnHPA== X-Google-Smtp-Source: ABdhPJy21scXSg9Gt64WbnwT54rQj3vczsfR+JtkjO+2ZBJ0m98nx3kMeC4U5h6q1waF82ERzsOFQQ== X-Received: by 2002:a1c:4b14:: with SMTP id y20mr2837058wma.6.1610734577506; Fri, 15 Jan 2021 10:16:17 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id b133sm14405979wme.33.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) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 08/29] drm/vmwgfx/vmwgfx_validation: Add some missing struct member/function param descriptions Date: Fri, 15 Jan 2021 18:15:40 +0000 Message-Id: <20210115181601.3432599-9-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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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_validation.c:85: warning: Function parameter or member 'dirty' not described in 'vmw_validation_res_node' drivers/gpu/drm/vmwgfx/vmwgfx_validation.c:85: warning: Function parameter or member 'dirty_set' not described in 'vmw_validation_res_node' drivers/gpu/drm/vmwgfx/vmwgfx_validation.c:216: warning: Function parameter or member 'res' not described in 'vmw_validation_find_res_dup' drivers/gpu/drm/vmwgfx/vmwgfx_validation.c:216: warning: Excess function parameter 'vbo' description in 'vmw_validation_find_res_dup' 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_validation.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_validation.c b/drivers/gpu/drm/vmwgfx/vmwgfx_validation.c index f2e2bf6d1421f..e7570f422400d 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_validation.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_validation.c @@ -48,7 +48,6 @@ struct vmw_validation_bo_node { u32 as_mob : 1; u32 cpu_blit : 1; }; - /** * struct vmw_validation_res_node - Resource validation metadata. * @head: List head for the resource validation list. @@ -64,6 +63,8 @@ struct vmw_validation_bo_node { * @first_usage: True iff the resource has been seen only once in the current * validation batch. * @reserved: Whether the resource is currently reserved by this process. + * @dirty_set: Change dirty status of the resource. + * @dirty: Dirty information VMW_RES_DIRTY_XX. * @private: Optionally additional memory for caller-private data. * * Bit fields are used since these structures are allocated and freed in @@ -205,7 +206,7 @@ vmw_validation_find_bo_dup(struct vmw_validation_context *ctx, * vmw_validation_find_res_dup - Find a duplicate resource entry in the * validation context's lists. * @ctx: The validation context to search. - * @vbo: The buffer object to search for. + * @res: Reference counted resource pointer. * * Return: Pointer to the struct vmw_validation_bo_node referencing the * duplicate, or NULL if none found. -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel