From patchwork Fri Jan 15 18:12:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363687 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89343jap; Fri, 15 Jan 2021 10:14:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxTFUi1JdxbmWUDlSFYJWbKOysRgx15KLQs5S0Y5y+x6Lug0+t1u6hZJiL3dMl7mXevRMbi X-Received: by 2002:aa7:8749:0:b029:1a5:63e6:56fe with SMTP id g9-20020aa787490000b02901a563e656femr14163130pfo.32.1610734461160; Fri, 15 Jan 2021 10:14:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734461; cv=none; d=google.com; s=arc-20160816; b=Wc/cfMfdWufPiHiy0rMT41nXiGTOb8PNXqZu0BswlVBIaokheyDPsz9fJRlbcNUyIf 0tvdrczGC0RpTOpmmn2WcR+E/Fsgnhn7kQdrs7K/dIo8zZLLezt6qU1sYKoWrW8bSJ90 MgFcbmu0gYwBa8fNJjCyZ0YMW20+cxtXkXd705rSQ/b43T2T52naTG1ZoEsFMitRTSe8 N/Lu+A83meGFBMwG4BezYzATAJa9BuJLX5snnfvDJWxQ4CkD2vXunOVEfvuDxMhqbPYK XW138ccw3uWknEI1+ucVIYH7V5eJ4t8KpahcJJw4mlAbmn8hwcK1yOzSmz+X1KNh+pNO ZMaA== 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=ov5qpzDdA9cAfjoLruv1PUZF9xFd7L+3nbgt305aL/w=; b=Xq/xfZGC5vi24XQ1ozOy+1n9S3J3+n06jp0ZCK1kEE+gTX+q3BYzjwUs57EKXoPvhd VSnmr8YyZVjD6WrMKiu8K9YQnlB6POsl7y2GiZhg62ze+O8hGNvpx+3ZmEV67PaTnCPr xqJ3BkHSzbEadKTWYi2Sg00u+sCx7HlR/+32oYOWEhgyRu2iCFNSdJt8HB+IjjNWKDQT hEo8I5JoL/G1bbqhHuzeFW2SFN/CHPFASfc9Uvl0rBjrfWKazHliGZlXTuM3D1PA5U74 xxvVneRosk7QHC1gDP3ap5CKzS901xAXQAwELqNnxTTUEIKXHidafZww6vGl0gmOwEwe dTVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OSCRWS4K; 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 w124si10131306pff.160.2021.01.15.10.14.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:21 -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=OSCRWS4K; 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 DD5346E49F; Fri, 15 Jan 2021 18:14:08 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by gabe.freedesktop.org (Postfix) with ESMTPS id A60846E487 for ; Fri, 15 Jan 2021 18:13:54 +0000 (UTC) Received: by mail-wr1-x430.google.com with SMTP id c5so10201910wrp.6 for ; Fri, 15 Jan 2021 10:13:54 -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=MJ7KZtujQH+M7WYSfXjbrtwaSb8NJHqNOy8ewxmrog0=; b=OSCRWS4K/ajKw4Zi62PGwkpsViCnA1HR+jyZqd33c/Gif+UcKSsDy8nuLWTbb3ulgG Rj1cIl3zLmJhOQ3MJPneCnt9fDjPHh5TAsfxE+72eyp+SUxRNiB4p2PuxgDlimgbLUfa plzZs5+VpWcoElqvf5DLn2vTz/22SVU+wUWqit2ToY3K6EJV9XUQ+ph5uPLgHKMhFqgc ABpG/zvcdfEn+mOSiw5xbsC8VcrnmFCCim8bHA8vH58iFKjf2Muercbsjc0M/Ij4NJnJ nPbsjeMoJUMrj12Y4ywpbkhGfEDkDECm04cazUNkd7SpfTE/ocAR7f2LFr2Qf1wjiVbl EQXQ== 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=MJ7KZtujQH+M7WYSfXjbrtwaSb8NJHqNOy8ewxmrog0=; b=c+OY0xIlDEC5+2Xiv6kdUjVWKukwWvoNTWggF+0OwffrxW17jq2J/ucPmWug4nFMob LGhIherNTIbo+ZmGL+VAxIyWdVTXpGeHjS00f/p4Wg1wGJNPuZZf+Ac+AG46BRqhfKEC LY5VVH0FHr0v4kzLJ4vq3eEvIUBxILndo8s+liw8l8zJEDx0/m8Z/lurPKlyh+g5PiVv iLAvz6jdQxcNWKdU9BAOe8092raXqWt1NI0z1D3PnPkw4Ert1dvQdPiHJthemuGLFqqc LRhpRL3V9dJ+0Wm58DSVpf/QKBfhSAJztjPenRaeHzx8ccoq0F8atwdDwcCmlL5Vjdw4 CJFQ== X-Gm-Message-State: AOAM530oMJKfOJ+KA/Xz/2FPSSU43cxT2wuJ+n7RTekWRg+Jk3n/pqJK /PKfDp7O2if2vxttnSQwd1N0Fw== X-Received: by 2002:adf:dc84:: with SMTP id r4mr14097827wrj.232.1610734433220; Fri, 15 Jan 2021 10:13:53 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:52 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 23/40] drm/vmwgfx/vmwgfx_overlay: Demote kernel-doc abuses to standard comment blocks Date: Fri, 15 Jan 2021 18:12:56 +0000 Message-Id: <20210115181313.3431493-24-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-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_overlay.c:48: warning: cannot understand function prototype: 'struct vmw_overlay ' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:98: warning: Function parameter or member 'dev_priv' not described in 'vmw_overlay_send_put' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:98: warning: Function parameter or member 'buf' not described in 'vmw_overlay_send_put' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:98: warning: Function parameter or member 'arg' not described in 'vmw_overlay_send_put' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:98: warning: Function parameter or member 'interruptible' not described in 'vmw_overlay_send_put' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:186: warning: Function parameter or member 'dev_priv' not described in 'vmw_overlay_send_stop' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:186: warning: Function parameter or member 'stream_id' not described in 'vmw_overlay_send_stop' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:186: warning: Function parameter or member 'interruptible' not described in 'vmw_overlay_send_stop' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:228: warning: Function parameter or member 'dev_priv' not described in 'vmw_overlay_move_buffer' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:228: warning: Function parameter or member 'buf' not described in 'vmw_overlay_move_buffer' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:228: warning: Function parameter or member 'pin' not described in 'vmw_overlay_move_buffer' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:228: warning: Function parameter or member 'inter' not described in 'vmw_overlay_move_buffer' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:253: warning: Function parameter or member 'dev_priv' not described in 'vmw_overlay_stop' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:253: warning: Function parameter or member 'stream_id' not described in 'vmw_overlay_stop' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:253: warning: Function parameter or member 'pause' not described in 'vmw_overlay_stop' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:253: warning: Function parameter or member 'interruptible' not described in 'vmw_overlay_stop' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:301: warning: Function parameter or member 'dev_priv' not described in 'vmw_overlay_update_stream' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:301: warning: Function parameter or member 'buf' not described in 'vmw_overlay_update_stream' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:301: warning: Function parameter or member 'arg' not described in 'vmw_overlay_update_stream' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:301: warning: Function parameter or member 'interruptible' not described in 'vmw_overlay_update_stream' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:364: warning: Function parameter or member 'dev_priv' not described in 'vmw_overlay_resume_all' drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:398: warning: Function parameter or member 'dev_priv' not described in 'vmw_overlay_pause_all' Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) -- 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_overlay.c b/drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c index d6d282c13b7f7..ac4a9b7222795 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c @@ -42,7 +42,7 @@ struct vmw_stream { struct drm_vmw_control_stream_arg saved; }; -/** +/* * Overlay control */ struct vmw_overlay { @@ -85,7 +85,7 @@ static inline void fill_flush(struct vmw_escape_video_flush *cmd, cmd->flush.streamId = stream_id; } -/** +/* * Send put command to hw. * * Returns @@ -174,7 +174,7 @@ static int vmw_overlay_send_put(struct vmw_private *dev_priv, return 0; } -/** +/* * Send stop command to hw. * * Returns @@ -216,7 +216,7 @@ static int vmw_overlay_send_stop(struct vmw_private *dev_priv, return 0; } -/** +/* * Move a buffer to vram or gmr if @pin is set, else unpin the buffer. * * With the introduction of screen objects buffers could now be @@ -235,7 +235,7 @@ static int vmw_overlay_move_buffer(struct vmw_private *dev_priv, return vmw_bo_pin_in_vram_or_gmr(dev_priv, buf, inter); } -/** +/* * Stop or pause a stream. * * If the stream is paused the no evict flag is removed from the buffer @@ -285,7 +285,7 @@ static int vmw_overlay_stop(struct vmw_private *dev_priv, return 0; } -/** +/* * Update a stream and send any put or stop fifo commands needed. * * The caller must hold the overlay lock. @@ -353,7 +353,7 @@ static int vmw_overlay_update_stream(struct vmw_private *dev_priv, return 0; } -/** +/* * Try to resume all paused streams. * * Used by the kms code after moving a new scanout buffer to vram. @@ -387,7 +387,7 @@ int vmw_overlay_resume_all(struct vmw_private *dev_priv) return 0; } -/** +/* * Pauses all active streams. * * Used by the kms code when moving a new scanout buffer to vram.