Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1757216pxu; Tue, 24 Nov 2020 08:13:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJxIUB8e7Taqffpv7xrnoSxcQpXgzIcGprwZKeE9X4XKf473mn5Lr+W+9PkzbklBB8G/kXaC X-Received: by 2002:a50:fe88:: with SMTP id d8mr4786935edt.36.1606234429032; Tue, 24 Nov 2020 08:13:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606234429; cv=none; d=google.com; s=arc-20160816; b=dp32ZC0M7ktfi3LC695U38S7/lDRsBo+M/LLSxgWKr+5AI2Q3aMRRowAYDSdHjwbnb Ma8LxKsf1QSKy9jVoHSCbURlKPlOP2ROpQxyVHO8Y9PnfZFeJrNQA9IuV+PxgsOQXhkI HqlUnNzk6dNqGu78rGjPUXcTWoh2g+SPV+pmal5YiNFchlkJSJNZmrLCPI+lB4TIJf+I xSbCRNAUh5RWF+VRm79pQoyMJvNXX4/K0oPNff88I/nbf9B9HDX4DxCdRNj3ycarpzj/ 77gHky3By01Rp+TWNlnBLTJihbiDlLBkwKDtAJjb9QytaW3xmBqY9xy63iDGyEPXH7W3 G8Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=iqJIUuS7KLmh98YT0QjvcVlwofszfzY1+e6fUQMyvJs=; b=CAbj9CLZUGAN7xBXuswwNx+5/cbD2QXTvfp9cJWylpPjtq1qOvLrK5wOAWQIqag7LL u5Ns1WJwgbT3Z5s+DaeY3QaCZdbcMgUJhp5wUr/iPOM5vk31inVSez5UZ3KHAYfmxJ1Y +6SlfQEuBQoefKD7H9LK/r4lJRgbXn2l+dHzDmFmsJ8nZnYuEAHNgLqLvcCwQwEcNibM ea9MZVaAhwatIm1oKQkm5uULXDiH5g3az4S4pRzE88WsiUCriqRgCx2+d9mURK67QuXP P7pC0GHuxtzqEOagwhwsS1wtSwKv85XOMJ7ilaWpNc6RghsMHaVcsq2nR5h43hygD3jL ZunQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vJvfNmZL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g5si8868313edu.349.2020.11.24.08.13.25; Tue, 24 Nov 2020 08:13:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vJvfNmZL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390110AbgKXQKA (ORCPT + 99 others); Tue, 24 Nov 2020 11:10:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389951AbgKXQJ7 (ORCPT ); Tue, 24 Nov 2020 11:09:59 -0500 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 516B0C0613D6 for ; Tue, 24 Nov 2020 08:09:59 -0800 (PST) Received: by mail-wm1-x342.google.com with SMTP id x22so2872901wmc.5 for ; Tue, 24 Nov 2020 08:09:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=iqJIUuS7KLmh98YT0QjvcVlwofszfzY1+e6fUQMyvJs=; b=vJvfNmZLFqmZkMHGHQMmh0eF45ktE6rrwLGwpO1yzxqbmOHZGQIh2NnkXYcZYFMLLd Hrwv22x4DJ0LD3sdDpwYTPqkoRC7OvGMoWg7BjCLCLz7ScEKY9pKOilMgC0BSkxAa8oB uKO7GMz4rNW6PMC4gI9j6aExVbzoCM+ap9vTYOkcIxhRXPpih5wfkSnSiKkpFqTHiYg6 C1zXEwHf5rprO/+fFMSRsa3H8sGIYOkhwxRpIPyxP6SQbBx7HCGpfeJf8XdpHthDjeIF fi0bhPtfaO9sMG6lPs4tYxxVtu5xGFDN6aHpl3r5X2BhNme7MSfhqpHw/O+9xKpPvx5k 1P0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=iqJIUuS7KLmh98YT0QjvcVlwofszfzY1+e6fUQMyvJs=; b=DkaRGmCfjuNvu+DXoc7+DTUQkrIexh51cY3L2bRCSTd+f3iO1KGCU3wGYOZu8pSdmf V4xDoT264oHpcmhOARoBln91BIIsntqFlaEsUIs4i4j3axY1ZKD9cSeF3fNiga1qp4Px ieO7aWr6wW79BBrJWjqw3ga6ikAiaw2Af5bvh8a8K7TQBJAkFEhCKGcU2nI9F7xzTCMW 7LC7XDkza4EdOG7cB1LBIDMmhXksxFl/dWIWKNlC9DlEgg4t8A2K2b6neXN5xGQFhvGA jGAG37RUbn6XgLRKk1zdLbx755SONkVbm5s9H8cCMBQrYwhPeUnH74LEI0KTBSsC6XJZ zWUA== X-Gm-Message-State: AOAM531w5c51Cgnsh2COuABSzUY9q1rUPo496Wc6kED8cd5xhIaSN98b i6XnMNl/B4ctfFAELc+T+zFwBzaXyGRYtlUXWyj5aYem X-Received: by 2002:a1c:1c3:: with SMTP id 186mr5086060wmb.39.1606234198121; Tue, 24 Nov 2020 08:09:58 -0800 (PST) MIME-Version: 1.0 References: <20201123111919.233376-1-lee.jones@linaro.org> <20201123111919.233376-22-lee.jones@linaro.org> In-Reply-To: <20201123111919.233376-22-lee.jones@linaro.org> From: Alex Deucher Date: Tue, 24 Nov 2020 11:09:46 -0500 Message-ID: Subject: Re: [PATCH 21/40] drm/amd/amdgpu/uvd_v3_1: Fix-up some documentation issues To: Lee Jones Cc: David Airlie , LKML , amd-gfx list , Sonny Jiang , Maling list - DRI developers , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 23, 2020 at 6:20 AM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c:91: warning: Function parameter or= member 'job' not described in 'uvd_v3_1_ring_emit_ib' > drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c:91: warning: Function parameter or= member 'flags' not described in 'uvd_v3_1_ring_emit_ib' > drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c:108: warning: Function parameter o= r member 'addr' not described in 'uvd_v3_1_ring_emit_fence' > drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c:108: warning: Function parameter o= r member 'seq' not described in 'uvd_v3_1_ring_emit_fence' > drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c:108: warning: Function parameter o= r member 'flags' not described in 'uvd_v3_1_ring_emit_fence' > drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c:108: warning: Excess function para= meter 'fence' description in 'uvd_v3_1_ring_emit_fence' > drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c:625: warning: Function parameter o= r member 'handle' not described in 'uvd_v3_1_hw_init' > drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c:625: warning: Excess function para= meter 'adev' description in 'uvd_v3_1_hw_init' > drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c:692: warning: Function parameter o= r member 'handle' not described in 'uvd_v3_1_hw_fini' > drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c:692: warning: Excess function para= meter 'adev' description in 'uvd_v3_1_hw_fini' > > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > Cc: Sonny Jiang > Cc: amd-gfx@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Lee Jones Applied. Thanks! Alex > --- > drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c b/drivers/gpu/drm/amd/= amdgpu/uvd_v3_1.c > index 7cf4b11a65c5c..143ba7a41f41f 100644 > --- a/drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c > +++ b/drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c > @@ -80,7 +80,9 @@ static void uvd_v3_1_ring_set_wptr(struct amdgpu_ring *= ring) > * uvd_v3_1_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 > */ > @@ -99,7 +101,9 @@ static void uvd_v3_1_ring_emit_ib(struct amdgpu_ring *= ring, > * uvd_v3_1_ring_emit_fence - emit an fence & trap command > * > * @ring: amdgpu_ring pointer > - * @fence: fence to emit > + * @addr: address > + * @seq: sequence number > + * @flags: fence related flags > * > * Write a fence and a trap command to the ring. > */ > @@ -617,7 +621,7 @@ static void uvd_v3_1_enable_mgcg(struct amdgpu_device= *adev, > /** > * uvd_v3_1_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 > */ > @@ -684,7 +688,7 @@ static int uvd_v3_1_hw_init(void *handle) > /** > * uvd_v3_1_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 > */ > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel