Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3997545pxu; Mon, 30 Nov 2020 15:15:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFZ7yZ5JSlUhuWgIhs1tm20Csb0SSeRK6tz7t+HNQwOu9Ivg/0iCKoxKoR/yagAwmX9Fht X-Received: by 2002:a50:bf4a:: with SMTP id g10mr72981edk.288.1606778122488; Mon, 30 Nov 2020 15:15:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606778122; cv=none; d=google.com; s=arc-20160816; b=JzvxK9pzWNZKL4JNb7vHBTFtq/rhGMLBwBUUs3sJFaRkT0KJPuoS24/sZvItZ1/BaR V729u1HeaOBocTuyKjq/PhVXsdkzRv+C8i7IXBq3pWBEcu8qZ9fh7eVM8htAArZawDgB +bL1k6LV1Ki9BSJ6mrSq3DjzRTvzpJPc2xkZ8CgIHW1k5hxJyGz5y8kyiQIMOcykz1L6 WGhpvH2KRFGGQ3qlKKKnw3VL6xOe3uBMAd/mygYgjXBxclwplgpbFx0p+InFgT/ML2Zm H3h7VXPqWDxTJP2ofvJwsCraj7GSqTwY5zsNszBizmwKznYnj2AKQms3UOdplNWzf4gB TOHQ== 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=/XTX3Z66O+BazeLjFxr+puLvZ6PetLfBClwP+q5Bj0g=; b=NIM3t1RDvg8NYHykJ7a+QPhITQiuGAN57fqLCXYKxJCwMR71FnDKOi73O4gbz+xpdo PpPLJHhriq6rDnulsgptM0HEe9VooVKVlKIUgTptqEE8insbtDqO5S2wzIDe7RHxxZho B88LdoJ23gRSXZLZu2paZP4srBXDrOok3v3ZeBE/QHt9OstGVJ53fDrKzORUQGdgyDsy +60BW4enGGdkXjAwtaBqxN+wy3P0HufDO5zGn6JxfWhWBU1kUKQZy/jFYOSzyFHyoAmB VAQiFsh3KsWyplluxVi/gWE1vj80nUurFmg39qelQM3kE0nLvEn8VTmyQ/CgBDkAwve8 4pgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dg5Lflkc; 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 n8si142195edy.54.2020.11.30.15.15.00; Mon, 30 Nov 2020 15:15:22 -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=dg5Lflkc; 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 S1730186AbgK3XEr (ORCPT + 99 others); Mon, 30 Nov 2020 18:04:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728733AbgK3XEr (ORCPT ); Mon, 30 Nov 2020 18:04:47 -0500 Received: from mail-ot1-x342.google.com (mail-ot1-x342.google.com [IPv6:2607:f8b0:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 389BDC0613CF; Mon, 30 Nov 2020 15:04:07 -0800 (PST) Received: by mail-ot1-x342.google.com with SMTP id y24so13038346otk.3; Mon, 30 Nov 2020 15:04:07 -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=/XTX3Z66O+BazeLjFxr+puLvZ6PetLfBClwP+q5Bj0g=; b=dg5LflkcwriHvH2MBB/bPLeZFTWXs2sjvPKbydqgr1egeiLh1E9dYIVQGb7dBukd11 dfiz8U8PYmp2vPhsORB42k9TFvMpkFl6lLHbRbCAoWB4jet1fbQN7XiKkGfig+CYqan1 TtnIKPjym1jlrZDh8ngNrL1SLdVkGK/DNDtd+pgChVLGY6/eBwE2Zbi1h2+Llh/UH+v+ upUeixBTw87v+0qfjfA+pSaCpF3W8K4Rx+BY35fLDV17huqWtlSg7itqtEXWjc1xKyU2 Vx4pfqNG4rbpu10LtWQM/isrYJhmtzB+MXe+v687Kr5VkaBfVuvZMmp4ENlwP/9xNrop Ov1w== 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=/XTX3Z66O+BazeLjFxr+puLvZ6PetLfBClwP+q5Bj0g=; b=RTmhl6bkIbujyhDyrs+fsWbD0KQ9LFHCUlecaXcnTlucKMDw3owm0xx8NT5kv/1t45 2NOq6FXHiNUKoz3+qyhN15L7k1ToXFRf964jLeiKnD9sXFlCbUYNIay3EZEguRvsRHxo FPbmaBQZj6wmJ0l5ESoUug0pjPzsz/YzoV9F4Imfq4e95NwwkXkU0ccdICd7cn3aFEzM 8LUAH765ej6Z29joejHpmE+jtmDknQbfluLe3VwjAeZ25URV3YWxm9KPNdR5Eg37ia32 Yu7qHwbWawPzuJlKEYX9jKPK3y8VitOalPLRvdpx5o6lZi5tGRp6GYcr5vO43HZ1QCzZ 3s3A== X-Gm-Message-State: AOAM530WjGDZYvW8YsWJVzE4DpHMS1WmeGmqcOy9yfjgvypOz7bVx6eF XiBF4Y6qVVbozKNocdruILoeYkqxEDMxp/DyBzQuqf84 X-Received: by 2002:a05:6830:22e4:: with SMTP id t4mr19122959otc.23.1606777445195; Mon, 30 Nov 2020 15:04:05 -0800 (PST) MIME-Version: 1.0 References: <20201124193824.1118741-1-lee.jones@linaro.org> <20201124193824.1118741-41-lee.jones@linaro.org> In-Reply-To: <20201124193824.1118741-41-lee.jones@linaro.org> From: Alex Deucher Date: Mon, 30 Nov 2020 18:03:53 -0500 Message-ID: Subject: Re: [PATCH 40/40] drm/amd/amdgpu/amdgpu_uvd: Add description for amdgpu_uvd_cs_msg_decode()'s 'buf_sizes' param To: Lee Jones Cc: David Airlie , LKML , amd-gfx list , =?UTF-8?Q?Christian_K=C3=B6nig?= , "moderated list:DMA BUFFER SHARING FRAMEWORK" , Maling list - DRI developers , Alex Deucher , linux-media 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 Tue, Nov 24, 2020 at 2:45 PM Lee Jones wrote: > > Fixes the following W=3D1 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=C3=B6nig" > 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 Applied. Thanks! Alex > --- > 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/am= d/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_c= tx *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= . > */ > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel