From patchwork Tue Nov 24 19:38:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 331442 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp796158ilb; Tue, 24 Nov 2020 11:45:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvqNCjfbkXZTg0rzDXPCQawwm2XT5MiRIfCYT0ewfzEmEMMgZamajLzwJ8jTxOvlyO0V9+ X-Received: by 2002:a63:e849:: with SMTP id a9mr8087pgk.300.1606247127389; Tue, 24 Nov 2020 11:45:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606247127; cv=none; d=google.com; s=arc-20160816; b=m2Q/jKJSD3/X+yVdq97dUk8sbaZp7gKEhhsHvTAOgFZRXiVNAg5JopeSjJCWSn83y/ 7RQZriAQlP2Oz4hwZegz57Dd+dQxSy9PjSbnzfkUwdiarg5qPtfZWONcI30X1ZOzWv1w vP2BsJQ/qoEIOn1+R8pKKKslXpkyTI6mCTObZzkFMHhIhSgNhBuzgSelD2lujwbiB2bs B3k+W7Tg3u+I+/ehJD0d4m9Jiba+toHPT6YG2ZhruH39GXvDt7FBZY8q42q37VpulGnL 6s5xQxj1sBw93D8RIRtk7FRl5/jb5x0MYX04mQ5YTlx6crtfFP9WpL5w6BnD+Y7Ky60w Oqow== 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=tZ7mWbhKBrOPoOMPrXGilNmaQ3GaTT1NRyfvoPLhphg=; b=J1afpd7oDt5PW+oddkmDtx5qeuDpJp/oReEnXdD4NOM54lOPoObcYUb9pHP5aUdFTS 1Und/4pNnCw3ubYg1SAimA8sdTQTqZkOKv20Gcw6dUBP5np9TWJDoQ/CQ2GgT6RMY5Fr YOXybit1l4YZ8yxFtkTO805D4Q/iR8/LqdL5j+teJeoRBlJbVx88JVAOiOwHlMTIjXs2 d7+VhRiztqT7WlSGzbRO5NVkhVtucy1Ga8H9XLpUAAU5o55o0Q4m+2FU37QfoJdO6aqo DrYNTkBUlxKI20uEAdo9ayK1YPEkYjlg6IMpIWwD4YHs6GxBgXbbFpGKagHXxtc2e8dC jPCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jzIcHL0e; 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 r3si5758743pfr.238.2020.11.24.11.45.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 11:45:27 -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=jzIcHL0e; 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 34D4D6E59F; Tue, 24 Nov 2020 19:44:54 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4474E6E529 for ; Tue, 24 Nov 2020 19:44:50 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id e7so6014015wrv.6 for ; Tue, 24 Nov 2020 11:44:50 -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=LAMUF0M+5e5QxYGdyHTIO/CIT9L6gglBGUvPq+MzHBg=; b=jzIcHL0eMMZm6DtlZ9fd+0W/Qjf5OD3r//36xPdi8sot0v4hYcjWBJGo5JsdiMAylp 59cVzB0oYdEJPt6mdkziyQpaCf9SGy3mSSb/GS6zD2UgphuNsEksk+mdbzN58DTfIKHq EAOM2xRHO5Peg/72jxA8+vV69v1RYabIKSnergZZ0ZMBcl+60CIl9Iq3i0vVOQ24h4iG GvSC+Xkk8n07CN7qKU+XEd44EJWCpmiRlNYWrlWHzqAYUhnJHcFSBkYV+/Ut8MP8+xxf pr0QrRWs6YAUEhSh5t8ghtWxnO/bqpAlEyi4IUA21Oj2pQc67sOd7YpbMJx2fSqqXAju XxXw== 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=LAMUF0M+5e5QxYGdyHTIO/CIT9L6gglBGUvPq+MzHBg=; b=R86RgnXLDL9D4v5fb0IbTjMOmuoEaT3S/8i75Qx1UCPdUyVnY4qc3HCJMVJKWkVN7Z Zy+UrWMkZihErjP6fNyeYpKzHgQ7vGsTVplbdxpxFvm0a3dYkC6KLcugkrX9Cw3WB3Oa 8tV24L+m2gj9mwbKESs7tzwhPTuvorD9zZNpsogSQx6oE4QIsyX6G6VD3Iac3LqY3lnX Gx0h5uqX/Skjut+/XkK1uHxoJbd5yJIlKda+KQdGErQfrdGuARCZrJFZclAs0nibqy+2 8d3pC0FftI1Kx6i7qyfyKhWj4G6s1T3Fy7dxi61T+fpvYtFpepC5oIDQ8As86dAy0aLQ /mHw== X-Gm-Message-State: AOAM530ax5Yzk0yFw8gh9kK0goQIBslNp3uFO2sjH3w121/0RTclJ2Pq N+WqqhNdHKb37iCDj+3lS0++og== X-Received: by 2002:a5d:690c:: with SMTP id t12mr44599wru.405.1606247088972; Tue, 24 Nov 2020 11:44:48 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id d134sm200511wmd.8.2020.11.24.11.44.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 11:44:48 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 40/40] drm/amd/amdgpu/amdgpu_uvd: Add description for amdgpu_uvd_cs_msg_decode()'s 'buf_sizes' param Date: Tue, 24 Nov 2020 19:38:24 +0000 Message-Id: <20201124193824.1118741-41-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, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, Alex Deucher , linux-media@vger.kernel.org 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/amdgpu_uvd.c:555: warning: Function parameter or member 'buf_sizes' not described in 'amdgpu_uvd_cs_msg_decode' 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c index f8f0384a8d9ad..7c5b60e534822 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c @@ -547,6 +547,7 @@ static int amdgpu_uvd_cs_pass1(struct amdgpu_uvd_cs_ctx *ctx) * * @adev: amdgpu_device pointer * @msg: pointer to message structure + * @buf_sizes: placeholder to put the different buffer lengths * * Peek into the decode message and calculate the necessary buffer sizes. */