From patchwork Mon Nov 23 11:18:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330583 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907313ilh; Mon, 23 Nov 2020 03:19:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJwkz1K/plUP4o8AVXJZkxMkh2LKVwchKZ5/Zu+01FUEIQJRsxQast4WsXo/agY4P2D6n2aN X-Received: by 2002:a63:d311:: with SMTP id b17mr26403647pgg.452.1606130385379; Mon, 23 Nov 2020 03:19:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130385; cv=none; d=google.com; s=arc-20160816; b=uviRD8GjC9ryDA+/K4x8j4ycCtY9bi2BDtRT7Gz6ipU4xdiLO2/wtw3J1LcUBwbVVr 1VRsDLJYQSTOSFEvEyMPwuDF3iURC66OJwIF48W//NlFkWXxmImhPJnBWciiNhwUZ5vL dG5Jb8fFuZ50itHbzGEPxMTnzUMSp52rkxLLRS9Q6iD27VoExgQozkqfkJERripSuk8o fmlbZ7atgb4v3bFVEzOTqn5UFlRDMl+SY+MinQ0F13d6Vo23paAWhsMT5Ql04MRCD6w6 d+68v3+oTKpX8oY4e/4Xyw9rzta69DGYZ554WZigcXJ4e80JYLW8SWnAng/o0OZoi4w5 biEQ== 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=0fkesutXHDx9IyX97ToHzA+3fwHc2T5GPkO/NtuZYTs=; b=nJomP9pywK5MrPLwz9Op5/v00HK0KByKgqSM948dfZugDoT+k5ghHvTtsypdw1Mp48 90avNjHMQngBYKNztpDwFm59upM07k+Y53I/y41f+IfFBp5FKQ3yl6y7eEEYIBf21MSL k49kC/SdtOol1GLW2mZOexPxS+Ra/PW5rGjvrOWnCOdHeazE9EJN2NqdduYO98CCOHc9 Zo7jMeIN0xjhaDM0XF39xTkFOhQ8JokW10zl2EszVJh0DSo7jIJBZ/XNGhJhjPEzdj31 ZrlmV51UgVWq/dMKXMBve7yrN105PW/kG7FhNHKv/x6g4qWXH02v0y30PX1YsAfY0Otp bYQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=tyD96b5E; 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 f20si10361421pgn.554.2020.11.23.03.19.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:45 -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=tyD96b5E; 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 EFF3789A9A; Mon, 23 Nov 2020 11:19:41 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id E9F06897FB for ; Mon, 23 Nov 2020 11:19:31 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id 64so4789312wra.11 for ; Mon, 23 Nov 2020 03:19:31 -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=92lYcVhCJmrBtBX57wzHE1WdwDpEBe0J2p2RduAzKmY=; b=tyD96b5E1MNVsARdONjKjj8lmiQOPG6HZ3J3yYA1X4O8NytzLWdgQ3BBX81GdNztUl MCz53tT3e5DvsGOFVHSrLS+yMgZJbL9BqRG7mblwgYdUSS6grX3F6O5StAdtIkZDKP8g he1etgev1uTEcr+qss2qE0ldGmea0gH2u3G5JwBLWNf8NXLw/tJ/8nP63Rji6V42Ddv0 CTgUcts+FDVic+ESjPSXDj3UbnTuc4NRq5pR/45zmFx0tu3zVBH8WqlUSSLD1qlhvd/F 78H+/sQ+C4P4NLchyX10tlytKAgUWja4o7e6KZTTF83WvHiKFSBFIoyKHqSvRTD/dNuv 2dBA== 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=92lYcVhCJmrBtBX57wzHE1WdwDpEBe0J2p2RduAzKmY=; b=kDt9euHdsRwHyty5DLSlKbAn73gGe2kOcSzGIc4wPGTOJS0vA8KW4yw/9xJxYiznvT O35xUj1WH8UMq9tGh5Er0iayKIQvbDM+1cAcu7dU5ynN2JrUwsgWW27vSSYaSuMdB8I6 f6wCaY7nzkUsZmIiLHttm6HCJf5RSwnk66Ez+aKyZqFOEfn3+SRIsgNFUDKq0csw729k leDC8fzL/CmioIzetW+d9ps7f4AHwNhzujQcrdy1b0JUu+mgve2QDYAA2H4xT9uAPOvM v6iwUz3xMw2nttr7d3NPnsEv2Ml0gOAbVGCprkeMkc/QkEjrvmc0XNDBvQYMmjv+jZ2X Xw2Q== X-Gm-Message-State: AOAM533Yt7EBpaYy5prEASQmS9Pplg+Vv3ZWdRHMy2OoeJ3YMwht0/J4 aluAqPXKRbFKFkWWqEjuYCNdBg== X-Received: by 2002:adf:e3c9:: with SMTP id k9mr30883095wrm.275.1606130370615; Mon, 23 Nov 2020 03:19:30 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:29 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 06/40] drm/amd/amdgpu/uvd_v4_2: Fix some kernel-doc misdemeanours Date: Mon, 23 Nov 2020 11:18:45 +0000 Message-Id: <20201123111919.233376-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201123111919.233376-1-lee.jones@linaro.org> References: <20201123111919.233376-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 , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c:157: warning: Function parameter or member 'handle' not described in 'uvd_v4_2_hw_init' drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c:157: warning: Excess function parameter 'adev' description in 'uvd_v4_2_hw_init' drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c:212: warning: Function parameter or member 'handle' not described in 'uvd_v4_2_hw_fini' drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c:212: warning: Excess function parameter 'adev' description in 'uvd_v4_2_hw_fini' drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c:446: warning: Function parameter or member 'addr' not described in 'uvd_v4_2_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c:446: warning: Function parameter or member 'seq' not described in 'uvd_v4_2_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c:446: warning: Function parameter or member 'flags' not described in 'uvd_v4_2_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c:446: warning: Excess function parameter 'fence' description in 'uvd_v4_2_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c:513: warning: Function parameter or member 'job' not described in 'uvd_v4_2_ring_emit_ib' drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c:513: warning: Function parameter or member 'flags' not described in 'uvd_v4_2_ring_emit_ib' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c b/drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c index b0c0c438fc93c..2c8c35c3bca52 100644 --- a/drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c +++ b/drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c @@ -149,7 +149,7 @@ static void uvd_v4_2_enable_mgcg(struct amdgpu_device *adev, /** * uvd_v4_2_hw_init - start and test UVD block * - * @adev: amdgpu_device pointer + * @handle: handle used to pass amdgpu_device pointer * * Initialize the hardware, boot up the VCPU and do some testing */ @@ -204,7 +204,7 @@ static int uvd_v4_2_hw_init(void *handle) /** * uvd_v4_2_hw_fini - stop the hardware block * - * @adev: amdgpu_device pointer + * @handle: handle used to pass amdgpu_device pointer * * Stop the UVD block, mark ring as not ready any more */ @@ -437,6 +437,8 @@ static void uvd_v4_2_stop(struct amdgpu_device *adev) * uvd_v4_2_ring_emit_fence - emit an fence & trap command * * @ring: amdgpu_ring pointer + * @addr: address + * @seq: sequence number * @fence: fence to emit * * Write a fence and a trap command to the ring. @@ -502,7 +504,9 @@ static int uvd_v4_2_ring_test_ring(struct amdgpu_ring *ring) * uvd_v4_2_ring_emit_ib - execute indirect buffer * * @ring: amdgpu_ring pointer + * @job: unused * @ib: indirect buffer to execute + * @flags: unused * * Write ring commands to execute the indirect buffer */