Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2049445pxu; Tue, 24 Nov 2020 15:52:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6jGzILnRg2dvVEztgjM2ya4bmjsEAUc0zSfvA9TKHWxKIeOCXzk8c6qy16kifoATEWk4T X-Received: by 2002:aa7:cad2:: with SMTP id l18mr943287edt.183.1606261940806; Tue, 24 Nov 2020 15:52:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606261940; cv=none; d=google.com; s=arc-20160816; b=aTP7R1WLT55X1tuBFfAmWuTE/0jzgYuTEIzdHLl2JfU2wKXabJqKQv0uXumC2PNNPz EYiGrxqCfT/ecMZoZcaxgUHbaPLCaSANiCBVTGA4C2mRihm7CV0ei0UQ+b1+ATYfK/v6 /RcYOnW72eA8eaMOYSL7cVjliTCyQiQsvFlBTOOdKyW1sPIcLHxuB8X5om4NtYNeK0rO GQapXNvLS7uj+smT7hWuTwice4zpjMq8F3o9pY/JQr/gcU0VxJ5XIOMkBhpCHBMvbOLS ofYuHEiynXRB5QzD8pjDF0zHqDtfaRDGm/OZ+t+cp7+EN1+7Utzs5AMYVcKIm/nzlyOz 2NYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=GB6kY4upxQFv24rJ06X4HvdfBkp1xJnyjNfSH8+ifmU=; b=j0vgUPwuZs5iUY+oJrMS9qq3NonXvjPa/vO4gkqmE4CiXOKihtOhJ+dmmT+5zckjrR CCUfc1FoOpMyu3BY+O6GLs0jDtnDpYpc1Q4DKvHoSUukqzpK/8S4wBhbKdaAK6u2640V v9pf7tZzWE+ln5lhbcHXK7ZZSjONT3PJtXvnKbNEy+5yNYHxKAp4OG+rKHha36tI/uxf D8v8lZRAENntSvVUIO8m7pG27NEqyKKeBDwk+SfWnVcmO+vuv53dq25PhmtRXU5l5Jm6 SHmqrvuK5LHvGVN9+3ttNTXysjzufJmDINQ7kJVJKimG0e4KAbTFJxorSM9JHfEOnsoV pZlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="gYSO/nVm"; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p14si167919edm.185.2020.11.24.15.51.58; Tue, 24 Nov 2020 15:52:20 -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=@linaro.org header.s=google header.b="gYSO/nVm"; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727165AbgKXToo (ORCPT + 99 others); Tue, 24 Nov 2020 14:44:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726996AbgKXTo2 (ORCPT ); Tue, 24 Nov 2020 14:44:28 -0500 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9B17C061A53 for ; Tue, 24 Nov 2020 11:44:27 -0800 (PST) Received: by mail-wr1-x441.google.com with SMTP id l1so23523323wrb.9 for ; Tue, 24 Nov 2020 11:44:27 -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=GB6kY4upxQFv24rJ06X4HvdfBkp1xJnyjNfSH8+ifmU=; b=gYSO/nVmFciixTFJ8ZqVydxt3ETrnljhtml21uB6O8PC1QhgpWZ06dgSyH4KjrinuJ iDlUGLl+ysxrcvtrKWR8gHxcgxhwk792cp/ZUjMKxj88lWvnMA9mpfqh7e21oCtZnhsI xziWQg/ze7wmJg8oj2FustOlfqEuy3LxlDUk75pZx2jz7IgRDlQwfa/pUUtvkVOkK5Ei hUnmDpvxI8xt4AD4521/sTVwp3Ar2j9aOGeR/LQRrVO6PCcHejb5SGXlzyY4PuKDsJXQ YY/2k1rlA6BCsIialIdRJf1Ocac398uulw8nhlphGmB5WId/BPHtX0XafqS8z2W92uVY kCEQ== 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=GB6kY4upxQFv24rJ06X4HvdfBkp1xJnyjNfSH8+ifmU=; b=PTYwfHUpuUO32CNs1GpbbHa/9LKrnT12rVamf4/Ovv3+n9KlgU8pqfxg7N/JHoi+/7 UcFpjk4OAtT1w9qWqPdCM78GJQhuVDAca9t6QRnG5x9nxZ1fNrbZOjRcNlnDGkXZdr1S 75E5o5YZ3uJOKrg1RCcpFwgf0AF6ehOn7+PmwkcZ+E4RI2a/ub42nvzlGRyxJG8nbal1 GrVj+BfgXGu1DmqR79PxU1RRYQ3gPAHJfq3W9efwNUWZhQ5RMK3IKibtfm4/hu5N7Lu6 IjQEwXV+8ZL023ZHoU06p/qXsLZZRQT3CKszG2PrBZT+24CZ2A1n4a+jqOseFuoSPpT8 04XA== X-Gm-Message-State: AOAM531+N8X1nfUk9jENSwviw3kw4YpjjajdyPJqqukfiuPhbnF13zT+ 4ICnSGDB3nlESBb5DRy4Kl/iJw== X-Received: by 2002:adf:f143:: with SMTP id y3mr112155wro.138.1606247066571; Tue, 24 Nov 2020 11:44:26 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id d134sm200511wmd.8.2020.11.24.11.44.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 11:44:25 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , Sumit Semwal , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org Subject: [PATCH 22/40] drm/amd/amdgpu/amdgpu_uvd: Fix some function documentation headers Date: Tue, 24 Nov 2020 19:38:06 +0000 Message-Id: <20201124193824.1118741-23-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201124193824.1118741-1-lee.jones@linaro.org> References: <20201124193824.1118741-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:95: warning: cannot understand function prototype: 'struct amdgpu_uvd_cs_ctx ' drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:555: warning: Function parameter or member 'adev' not described in 'amdgpu_uvd_cs_msg_decode' drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1012: warning: Function parameter or member 'ib_idx' not described in 'amdgpu_uvd_ring_parse_cs' drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1286: warning: Function parameter or member 'timeout' not described in 'amdgpu_uvd_ring_test_ib' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c index f8bebf18ee362..f8f0384a8d9ad 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c @@ -87,7 +87,7 @@ #define UVD_NO_OP 0x03ff #define UVD_BASE_SI 0x3800 -/** +/* * amdgpu_uvd_cs_ctx - Command submission parser context * * Used for emulating virtual memory support on UVD 4.2. @@ -545,8 +545,8 @@ static int amdgpu_uvd_cs_pass1(struct amdgpu_uvd_cs_ctx *ctx) /** * amdgpu_uvd_cs_msg_decode - handle UVD decode message * + * @adev: amdgpu_device pointer * @msg: pointer to message structure - * @buf_sizes: returned buffer sizes * * Peek into the decode message and calculate the necessary buffer sizes. */ @@ -1005,6 +1005,7 @@ static int amdgpu_uvd_cs_packets(struct amdgpu_uvd_cs_ctx *ctx, * amdgpu_uvd_ring_parse_cs - UVD command submission parser * * @parser: Command submission parser context + * @ib_idx: Which indirect buffer to use * * Parse the command stream, patch in addresses as necessary. */ @@ -1279,6 +1280,7 @@ void amdgpu_uvd_ring_end_use(struct amdgpu_ring *ring) * amdgpu_uvd_ring_test_ib - test ib execution * * @ring: amdgpu_ring pointer + * @timeout: timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT * * Test if we can successfully execute an IB */ -- 2.25.1