Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp438645pxb; Thu, 14 Jan 2021 09:25:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJwwvFcfGVlCHSnRs0NNIhQicXN5EOoYLq7NbRaYrpSrl9SE72f7biMNbWupTfJ5KY0p1ex5 X-Received: by 2002:a05:6402:2553:: with SMTP id l19mr6386747edb.326.1610645149504; Thu, 14 Jan 2021 09:25:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610645149; cv=none; d=google.com; s=arc-20160816; b=HemRVcCqwboFOPpxsdTIxUtDg+vLHagzeTpQpNgwH/rBX7IeVmNDnwAPF48FKTItxG bmbPV6EF+ukFuTKcHslBt6A48JBDya9TjuPKWhv+tfrg+KtkHOCC16vMU5Z5tlzkfSNy PkEOIlz7D/VWoLR6weoZVVUjqjV2S9X1fOoAm80GWlHrq/Mqg8GdYgme56qFMPbtwdDE aFBnaocWX5c3xkQlkJ3/knP4jy6oulpnSgeqaqDfgrIRfqDEy+u0OnMDCt+lDz13j/kG lBMJxnyNnnyMnTIbufcKNiJO0OQTrqTX7eRmmVN3txAJaQkRNK7WL7QiT98J20ACY5RS KmDA== 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=MpjDvPtGE3jxQK40Dp9TpRjPqOVlxA0emJuek+JS0vI=; b=Z/YGslk5hDYtZaFBH3LdQdedf/9bWV+ww8l4vdyK4LPbJz3TfW4FDNUfqQXeeIlLqg wMmTK3W716qVuN21l89t/DqLL/T+hiM5ZcmZEuUNlelOl62ouP8xNjZDp43d6pQfTM8D S7RWg0JMPyLTG3d383q8oIBsihZfz0fzuh5aOjq8ybxgMAOK1frOzlCvgu0gSb1n0YZB XgkyPh6DEuZhgOrJm7Xg3BbhvSKnNNqubsq6vFnyKahnHK027LLKZZJw172PJ1mB6gpN rdHMnPEBy/2NDsWQI1pMtqLVso2bJooNMGylLtEEbsqmrKtl1WCi67AKKVtFE+UPq6Ui ms6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cL8q5Yl6; 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 j24si2673627ejx.278.2021.01.14.09.25.25; Thu, 14 Jan 2021 09:25: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=cL8q5Yl6; 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 S1726473AbhANRY2 (ORCPT + 99 others); Thu, 14 Jan 2021 12:24:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725935AbhANRY1 (ORCPT ); Thu, 14 Jan 2021 12:24:27 -0500 Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8557C061575 for ; Thu, 14 Jan 2021 09:23:46 -0800 (PST) Received: by mail-oi1-x22f.google.com with SMTP id q205so6617460oig.13 for ; Thu, 14 Jan 2021 09:23:46 -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=MpjDvPtGE3jxQK40Dp9TpRjPqOVlxA0emJuek+JS0vI=; b=cL8q5Yl6JTpO9lg1m5y/cnTQ6jXQHLr4hOo5P7c6UcqLn0HApFw2OWhozGgyCBUGbC gREhrMzw6dTeRw9NwVkAXHEUj4HMQ6uezsmOoN6pVa4D0dZ7z3vCOAf7q5T4ZFt9EexZ b68RTjmemxgaz2N6DIRNTeEgRVKJXJxuuGl2is7ImtIHbVd63htve4/KfUVVcE86VMAi 1AJcEKonE1w/E23aQH5L4cXMalyP7qR1wAoCqGLP6e7mbqUa1k4cWGlhxLD/FDLtouwc oSyyT2fOWR2drCO/rNpjbp0p3diIlLjR4O3tjXbJFzQJ/ja92DUJd+SKdxBpUue509T+ OWVg== 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=MpjDvPtGE3jxQK40Dp9TpRjPqOVlxA0emJuek+JS0vI=; b=XkTc+9VsSW+ZC8Qb7LNyTy8NZguLfVpMSCVrkdzq4Mb0c4MA8qF4jeG5xHKc+GWGmr 9FEB0hf0QSYmFpbVJzsb1wFiKlb8LT0LDkQrtbRHEM7931BOVG3ohVpaX7axxGenFSSj iEzpvGvLiIAyDPd5msvZEk4PxQEch90G3pKv2ZPDMyUm4M8POZTA6sakEF7J0duW6qUj bxSbQBT7AL3d0QKMB1Bpoxtx+eq/ZKL1IU2IgvgmkDmODaMGY/uTM9RcmRqB1S4D2foP 3Y/TllhNDlmpb3GspWK5+EJthvcH7uIckXJiwoSyTYq4zOV2JCNdaPnpbH4lWmDqmzO+ +Bfg== X-Gm-Message-State: AOAM5313oov/UnLF89oxNe8Ibiz0XIriWGLhFQJQv4F+8AKr4I7wZY8D FofI8vtltwCgPZ1HsxDcEokfx8d8iszLY1hZSoc= X-Received: by 2002:a54:4083:: with SMTP id i3mr3154240oii.120.1610645026351; Thu, 14 Jan 2021 09:23:46 -0800 (PST) MIME-Version: 1.0 References: <20210113080752.1003793-1-lee.jones@linaro.org> <20210113080752.1003793-23-lee.jones@linaro.org> In-Reply-To: <20210113080752.1003793-23-lee.jones@linaro.org> From: Alex Deucher Date: Thu, 14 Jan 2021 12:23:35 -0500 Message-ID: Subject: Re: [PATCH 22/30] drm/amd/display/dc/core/dc_link: Fix a couple of function documentation issues To: Lee Jones Cc: Leo Li , LKML , amd-gfx list , David Airlie , 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 Wed, Jan 13, 2021 at 3:08 AM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:214: warning: Fu= nction parameter or member 'link' not described in 'dc_link_detect_sink' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:350: warning: Fu= nction parameter or member 'link' not described in 'dc_link_is_dp_sink_pres= ent' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:841: warning: Fu= nction parameter or member 'link' not described in 'dc_link_detect_helper' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:841: warning: Fu= nction parameter or member 'reason' not described in 'dc_link_detect_helper= ' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:3403: warning: C= annot understand *********************************************************= ******************** > > Cc: Harry Wentland > Cc: Leo Li > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > Cc: amd-gfx@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Lee Jones Applied. Thanks! Alex > --- > drivers/gpu/drm/amd/display/dc/core/dc_link.c | 15 ++++++--------- > 1 file changed, 6 insertions(+), 9 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/= drm/amd/display/dc/core/dc_link.c > index 3366a49f11dc7..271c4f66edb56 100644 > --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c > +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c > @@ -206,6 +206,7 @@ static bool program_hpd_filter(const struct dc_link *= link) > /** > * dc_link_detect_sink() - Determine if there is a sink connected > * > + * @link: pointer to the dc link > * @type: Returned connection type > * Does not detect downstream devices, such as MST sinks > * or display connected through active dongles > @@ -342,7 +343,7 @@ static enum signal_type get_basic_signal_type(struct = graphics_object_id encoder, > return SIGNAL_TYPE_NONE; > } > > -/** > +/* > * dc_link_is_dp_sink_present() - Check if there is a native DP > * or passive DP-HDMI dongle connected > */ > @@ -828,7 +829,7 @@ static bool wait_for_entering_dp_alt_mode(struct dc_l= ink *link) > return false; > } > > -/** > +/* > * dc_link_detect() - Detect if a sink is attached to a given link > * > * link->local_sink is created or destroyed as needed. > @@ -3400,10 +3401,7 @@ void core_link_set_avmute(struct pipe_ctx *pipe_ct= x, bool enable) > } > > /** > - ***********************************************************************= ****** > - * Function: dc_link_enable_hpd_filter > - * > - * @brief > + * dc_link_enable_hpd_filter: > * If enable is true, programs HPD filter on associated HPD line usi= ng > * delay_on_disconnect/delay_on_connect values dependent on > * link->connector_signal > @@ -3411,9 +3409,8 @@ void core_link_set_avmute(struct pipe_ctx *pipe_ctx= , bool enable) > * If enable is false, programs HPD filter on associated HPD line wi= th no > * delays on connect or disconnect > * > - * @param [in] link: pointer to the dc link > - * @param [in] enable: boolean specifying whether to enable hbd > - ***********************************************************************= ****** > + * @link: pointer to the dc link > + * @enable: boolean specifying whether to enable hbd > */ > void dc_link_enable_hpd_filter(struct dc_link *link, bool enable) > { > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel