From patchwork Tue Nov 24 19:38:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 331428 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp795876ilb; Tue, 24 Nov 2020 11:45:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJxBeMdX3z9YIcq8RD7OeoxUapN5dotBGg0pE4LgYRPhEDPFd+i7/2Dy65ZlSjZUFb1D06RE X-Received: by 2002:a17:90a:80c6:: with SMTP id k6mr174526pjw.73.1606247103025; Tue, 24 Nov 2020 11:45:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606247103; cv=none; d=google.com; s=arc-20160816; b=lI8xHR7WBkB6EqLJmoE99/eK4/o8lHedw4D/nXo7zCkrmdADv8GeRFyvVoMUKSqlfs ehfl8duTTFJZYTzDZF5UBuCwJ6JtnOFC/EUTm2qvQIDROfvFHb6hdyuy6nsp3mP72lYT bmqGO5Otdc1lFI6G/lkjPr1PSEp066VtlN6xIlWqHNwk84mCqXXo7HFgDFNAna9iTdB0 8JxRSuUDD99LO1bnmB/HT65NMiV4ZL6YHM7C631oJuEFiUbGr7yzI2OcMp/GYYmEiBYA naPC4OLfn4hYYPW3+tjna1TU4nG+w5uFBLD30rFZvPM9qY3UUL7g4Qr6UorCXHwZmovk 6x7A== 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=X7ve0O8LPMqYMaYGbk+NQGIFIEX1kq8P7uofOtVMg2o=; b=GXe1XJaiyRau4rkVhNfHC5cqzDYn9jE/Bt0C98g2e4T8/cGI9dJhnAOCn3kTxyouXA gImqmGpgcYbgwhHDAn/qBwSaXfvBg7CBAnpGEPOKwzKrjQqR9MSpAUMVn2tw+kA5zzVm YtCDaU9aY7+wtZD3V6t6bxMI1arWgl9s96ydOkJTdzwEFKfK6WjLbZToV7XnjLmk9V6i 832PtXB9zP3nLPae3G/XdYWnKriDqhUOPp0Rn6W6pZbXDGI57KdPFxjsrhJeIncIYdLT AoHn82wJRE99LcrDtctXXEF0yNEILwBMoxnLijH18cOmRRujI9cfBhj9m0fJeCwGbyNK J2ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=vhF37QAF; 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 t12si14552447pgl.187.2020.11.24.11.45.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 11:45:03 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=vhF37QAF; 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 9721E6E584; Tue, 24 Nov 2020 19:44:48 +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 508E36E529 for ; Tue, 24 Nov 2020 19:44:39 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id p8so23564391wrx.5 for ; Tue, 24 Nov 2020 11:44:39 -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=WTQ5gL/fFZGCODd+MpCfGseH3ViN6nmo6i+7UzfYda0=; b=vhF37QAFFTx6Db8V5kbTsDQoerTQjzFKn+ANrhtYl406/gkriHZ4ylI6iyUyHWakwL syhFicrl2QLMplXmezvxYV3ooX/dPhH+NAidO5uSgGBAsQKnXFaAa6nOiAE5/MIIqqim OMmeTkMW09SFmEzT4aTu3PXKiARnItjTQhCGDuZmz1rc2F7fsFs83nenchpwEI4xkYp1 R8gHJTGIsSuPWgE8dpuoi+9FMQZt2f1AJKvbNTvNPL32C/06y6x55EQh6Ltz2MoxLmYA KjSBVlNHDSKg6spfxS0RARtsaRiHc7rKP+0tTem+q/z7LcztsPne7B3iF743KIvnBR66 I1wA== 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=WTQ5gL/fFZGCODd+MpCfGseH3ViN6nmo6i+7UzfYda0=; b=UPD/KGGxg7y8+4IrB9NYzvRI3MMO0vKWBVAqkowBeDPnI/IxfuPeScAXHjI0bUGHUP XYIcLEMKF1x6KyKwE8Ditn/1IfK/tk+CxRpiRAGKZVJYSNR0lx4bjZACTyp/tQQDwEvH gCfP0YqGhP7ETppqP6AFDfO2GJ2MIdC+RAn48ngOKQ9p7eFRhXt7A+2ELt5mPkhez7vh Ut9J6vdk0wG/OTIENGTMMGjWwNXphGrpxco/eF/0P35slR6mn8EXuFl6a6HBhTyRmexO XFqIzgFLWzbAzKAIZJwPtZjEY5gzHpqMmRuVBvr1/y15kyHJ6ydKu0kFOUwY00xOW8C5 ZEVw== X-Gm-Message-State: AOAM533lYAgSOGx0a+vmj2DsNDOB/HmsBjib6hUFQeYFM7r6SXhrSeD2 i63V8JuRDNN+sJMotRGC0FaStQ== X-Received: by 2002:adf:f7c2:: with SMTP id a2mr80073wrq.11.1606247078052; Tue, 24 Nov 2020 11:44:38 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id d134sm200511wmd.8.2020.11.24.11.44.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 11:44:37 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 31/40] drm/amd/amdgpu/jpeg_v2_0: Add some missing kernel-doc descriptions Date: Tue, 24 Nov 2020 19:38:15 +0000 Message-Id: <20201124193824.1118741-32-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 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/jpeg_v2_0.c:498: warning: Function parameter or member 'addr' not described in 'jpeg_v2_0_dec_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c:498: warning: Function parameter or member 'seq' not described in 'jpeg_v2_0_dec_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c:498: warning: Function parameter or member 'flags' not described in 'jpeg_v2_0_dec_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c:498: warning: Excess function parameter 'fence' description in 'jpeg_v2_0_dec_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c:549: warning: Function parameter or member 'job' not described in 'jpeg_v2_0_dec_ring_emit_ib' drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c:549: warning: Function parameter or member 'flags' not described in 'jpeg_v2_0_dec_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/jpeg_v2_0.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c b/drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c index 6b80dcea80ec8..15c0224d48b06 100644 --- a/drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c +++ b/drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c @@ -489,7 +489,9 @@ void jpeg_v2_0_dec_ring_insert_end(struct amdgpu_ring *ring) * jpeg_v2_0_dec_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. */ @@ -538,7 +540,9 @@ void jpeg_v2_0_dec_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, * jpeg_v2_0_dec_ring_emit_ib - execute indirect buffer * * @ring: amdgpu_ring pointer + * @job: job to retrive vmid from * @ib: indirect buffer to execute + * @flags: unused * * Write ring commands to execute the indirect buffer. */