From patchwork Wed May 26 08:47:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448170 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017549jac; Wed, 26 May 2021 01:48:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+ZnUXHZjDlt5PCMP0vbvkB6Rpp5ZCudT6Xdmfae24JWRd5eoGHgO7hxXqqZQ/G1YLhBuv X-Received: by 2002:a62:1d90:0:b029:2db:649d:7e6e with SMTP id d138-20020a621d900000b02902db649d7e6emr34361470pfd.75.1622018925133; Wed, 26 May 2021 01:48:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018925; cv=none; d=google.com; s=arc-20160816; b=GFZXZgoDwsF5ckndkTMEIw/2d3GDE2l4qITTvFSn4Sf73GiZ198MPn2LQ4XJ+4+QYQ +6kELUvXyj9BNmbyWPmhHWBEEwz+YSv5s/C1bXI/VeHfiljM9zoY4N7dwgRHl3ABz9mo q+/TwKsssuZTOmIV0Dlsw3azAderjSzXm0mCNkw6mpCRF0k7CT9asNlT6LXsnn4ipRjV id7R6QmRtQvajrPHz7QXavbMc/4HETHK9P9WpJbRQ+AGgeRq+Ihzw4EaTaKfHbozvrpe kUEnvvUFM5U4pFOLcJi8zvprvUPBYTNs0+8SRQ63cQeF2lf1RsEEVZJGCdYOokfxNUzq SQ5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=kVk/K6SiOopKBeZrOFr3ETwL2h0sUuVeJjHQIvLbemo=; b=y3JH1Eu1uYo5XBfU8p2Jm6j+7swDe+YBCo4g8n+X0oDdu8QHjPGGL8DUAfT8wp3jCy ixKmVNpb1PjcHhi0GlrQM1b+zeYVEJi1m+3xVNHGQ/YsMSdrs51StmVoUFFQpAjA3HU3 DpCvjm975cT32BuYKZ8YJ9++EKFWmFcm9z3pwvHgZxob3MopqRl+7M5cYfqWiOr/fkqj ES74fm6CwTcBFCp/hkgzrzlQUhr37M8IDG71DF5bmBfZR48Pt+RCDivjLc6M36nD8yff vg9D1+/NDBVZVofdnfEJL65sBp+OtxM3f5hFtkarTXAsEwICQ5nf1rDHdPHJbgkZRNVZ DIpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="nP2v/yOq"; 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 x129si23197268pgb.299.2021.05.26.01.48.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:45 -0700 (PDT) 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=fail header.i=@linaro.org header.s=google header.b="nP2v/yOq"; 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 BFCE76EC6B; Wed, 26 May 2021 08:48:26 +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 DAFE16EC3C for ; Wed, 26 May 2021 08:48:10 +0000 (UTC) Received: by mail-wm1-x32e.google.com with SMTP id l11-20020a05600c4f0bb029017a7cd488f5so55519wmq.0 for ; Wed, 26 May 2021 01:48:10 -0700 (PDT) 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=kVk/K6SiOopKBeZrOFr3ETwL2h0sUuVeJjHQIvLbemo=; b=nP2v/yOq7y++OdxD8esKUXZCbD7knxLYxvNUMGe8eczAbKtAZB0Noi4WYds+F5h4nF aHEDPl4vj4f/qqvIdFUNo83sIAVBvdjTgk6IAVHC4XA9RTrRO7lUGH72cSg7RAQ/IbuZ ozf7cJcgZzhq6Oo6M9Xmg1dWZV054Ha+tCTpbtll+jmQpmcuWwUxfL1eRhlaRGIVhRen 04os9v7VPlmlAlSZdYJO9oNMQ32kKvCo5X/PcNFikiqHPyBk6x1B5XJdzCz3Fy8zVAIU /mr1dy1c4bpQ6K7zWoMUQjifoDJkObY6Xqe0TS7+2tr2IbmPkzsvr01ABIRkB1uRroVF aSOg== 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=kVk/K6SiOopKBeZrOFr3ETwL2h0sUuVeJjHQIvLbemo=; b=dfA4i/166u/vkj9cCyT/PlAm3Gq/AHjMzijFtz54aK1D7O/FvB8U5YZhEr46T64uUH 4m6JwLt80L+MSm7Pvy5OJQxP13mQ6RMaWn/9GC0nqtQXNETVJt0DEVjTwS6jit2CdiIO iEu/1fGyluHv7vM+JvQGVeeopC1ekDnNDNaIhYqipdSkCsDVnsGKyMd2ESzT6BnbkDo/ 6Av5ffjtFlVIhsnC4aqVtfn7WvpAtvMU4PfrWentdUac4IIsX0lzRbuAIdrpV5B+BehP jfEeCOggCQVvXhnjOds7WxCxmCV21ZD4JlrXAFqe5+kQXCsOi/BewToo2J07usf/iJHk RIaQ== X-Gm-Message-State: AOAM530nvrtyb9vWu04Tc9V0NvHobJp9glSG1g9atvk0FV5oVa+A1XqL xL+Y/pKp0kZ/pkerEiGSADHaZg== X-Received: by 2002:a05:600c:896:: with SMTP id l22mr28151212wmp.164.1622018889518; Wed, 26 May 2021 01:48:09 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.48.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:09 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 34/34] drm/vboxvideo/modesetting: Provide function names for prototype headers Date: Wed, 26 May 2021 09:47:26 +0100 Message-Id: <20210526084726.552052-35-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-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 , Hans de Goede , 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/vboxvideo/modesetting.c:11: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/vboxvideo/modesetting.c:54: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/vboxvideo/modesetting.c:87: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Hans de Goede Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vboxvideo/modesetting.c | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) -- 2.31.1 diff --git a/drivers/gpu/drm/vboxvideo/modesetting.c b/drivers/gpu/drm/vboxvideo/modesetting.c index 7580b90023792..10b32d986b956 100644 --- a/drivers/gpu/drm/vboxvideo/modesetting.c +++ b/drivers/gpu/drm/vboxvideo/modesetting.c @@ -8,9 +8,11 @@ #include "hgsmi_channels.h" /** - * Set a video mode via an HGSMI request. The views must have been - * initialised first using @a VBoxHGSMISendViewInfo and if the mode is being - * set on the first display then it must be set first using registers. + * hgsmi_process_display_info - Set a video mode via an HGSMI request. + * The views must have been initialised first + * using @a VBoxHGSMISendViewInfo and if the mode + * is being set on the first display then it must + * be set first using registers. * @ctx: The context containing the heap to use. * @display: The screen number. * @origin_x: The horizontal displacement relative to the first scrn. @@ -51,10 +53,12 @@ void hgsmi_process_display_info(struct gen_pool *ctx, u32 display, } /** - * Report the rectangle relative to which absolute pointer events should be - * expressed. This information remains valid until the next VBVA resize event - * for any screen, at which time it is reset to the bounding rectangle of all - * virtual screens. + * hgsmi_update_input_mapping - Report the rectangle relative to which absolute + * pointer events should be expressed. This + * information remains valid until the next VBVA + * resize event for any screen, at which time it is + * reset to the bounding rectangle of all virtual + * screens. * Return: 0 or negative errno value. * @ctx: The context containing the heap to use. * @origin_x: Upper left X co-ordinate relative to the first screen. @@ -84,7 +88,7 @@ int hgsmi_update_input_mapping(struct gen_pool *ctx, s32 origin_x, s32 origin_y, } /** - * Get most recent video mode hints. + * hgsmi_get_mode_hints - Get most recent video mode hints. * Return: 0 or negative errno value. * @ctx: The context containing the heap to use. * @screens: The number of screens to query hints for, starting at 0.