Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp437594pxb; Thu, 14 Jan 2021 09:24:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7BNCHiIgJQyTd6BC6xNXIJesAVv0V1GQxPs72oiMPEUC8sJLsPj9tQD44MJNGUoQa+Z0f X-Received: by 2002:aa7:d74f:: with SMTP id a15mr6661738eds.344.1610645058544; Thu, 14 Jan 2021 09:24:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610645058; cv=none; d=google.com; s=arc-20160816; b=PxibuJBGzTO7wEEXpW3yWr3YR7PtyLJ/u+iod4ZfMbYMSg0X/k9Wdbwraciu9HokFt UF6oYPO7sTXuCgaKeWGeykn9G2xuB0TyV9RIYdAujNfJF3e7LODJVhBZD86c+uoXshIF 7UTi9WH/G6c803RflOzbOv8neOIHRG0OBvvIrM7vPBsF1fOYDD5Q8miFz/Z4c87GjTsG pGPtXZugTJCyOoAWg2rY2ht1DNPa+wTV4HjxBNudst9v5x/Lynm3c1zfh/DBvVX5IY1K AwnhFKZXPJZPi7nKwv3WTgl0yV2DrUQQPiWMMVMHP+9kJZnE0PwgQJtiOpe3XCpNffOE gK3g== 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=37ddaPMJznDGqfBXLUSWG1nOoKmE58YLamtgoypX3IU=; b=zwiTpmDg7u9slKm0PodHJwwk0TtanlNIakcWAuEMiMUzTZHvnT1ZDCoOFHdHkYYL+c Fe8GxLV1L/1W5ZGO4SneS4LyQiS3fFULlHThhJz1yxf3loQlqbAWG/bKxXeD0plechAq Fi9v5WWPZmZ9vWFfR8adCxY/YmkmYxH0iFOvt15NkLQurpPnJsp1cM3n6ig8rCu+FJHM W6Vi6miPLeL+i2yoAFP6//g4D9mbFl+NADPvwHRB8GkO7dPmU/vA3r03Ev4tvbc+Djg6 S35hnDcL138lXBLATw1w9Agmm9ZGiJzB5tph2/Yz93wsmgIkawREIsm87whvlcS4Q9x0 WYlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=p39y94sD; 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 e28si2793623edj.216.2021.01.14.09.23.53; Thu, 14 Jan 2021 09:24:18 -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=p39y94sD; 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 S1727205AbhANRXB (ORCPT + 99 others); Thu, 14 Jan 2021 12:23:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725961AbhANRXB (ORCPT ); Thu, 14 Jan 2021 12:23:01 -0500 Received: from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7207C061575 for ; Thu, 14 Jan 2021 09:22:20 -0800 (PST) Received: by mail-oi1-x22e.google.com with SMTP id x13so6673207oic.5 for ; Thu, 14 Jan 2021 09:22:20 -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=37ddaPMJznDGqfBXLUSWG1nOoKmE58YLamtgoypX3IU=; b=p39y94sDm9dB8c0hQIsd3MfKJYptGKEW6eiAeOc6mjkiEdYdL70MNYnn6uJgAC6rFW avjS8S2xiptxaJYSjnB76B6lHNz7QH07yjBMWluW9B4LRnS+Bb8S6ETWOywWq/qdnGa3 pKkEIBIOMGQYeYQJKacNXfLiHbmzY13f26NtRB/wyVF+zm4dK6Tbr93AdurRmKlyseQb 1uDh1B9kyD48+57L9S5r096oiCnBvtqlrwstBW+DQZPI4bDPRBDZQOxz2FGljXcrPU0i 9cMeGSRV/psIi8gFZ29x/b/Y4F6TUBuUNVgcxKmhY6z/b3jZ6qHXGARRC8hpBEuy8J0p BZlQ== 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=37ddaPMJznDGqfBXLUSWG1nOoKmE58YLamtgoypX3IU=; b=qppUeVzu6L9kj4g4EPYN2lmFmS3bfy6w+a/BbDdSl4uepeGwe+6zaeWchhC05ThtPy rM7ROsH0Nwunf0kCclsJ2I+bNF9sy/dZq0vpt5r/lfMWjFW9MEdG9U6Z60UuvIPhg/6J lVgzW4ncMd+LkestylCl3Viw4eJw6dIZqfXxx36GajijYlNrp5ZsWMgFZY0vxcnprr38 o3MuEh+wQGt9ZOcK4QA4jG6VIPmqh3vEPIvw8wsdNMjPEsetbnGADggMl2CWqkAD5FpP wrQcmfHA58zaQaGqIsk959AlcR6+T2JKKy1XXnbNdnL/SOFVaic/7vw/8JSJwPniHm8h AKew== X-Gm-Message-State: AOAM532OioW4WX5+YBTtqV7A/tfyhhKS/yQL+pa4cITNw/PS/e/bFI6U MSiu+M2npY90udnZcdPvVKfWIQcdMXPkKet6VJA= X-Received: by 2002:aca:4f97:: with SMTP id d145mr3121002oib.123.1610644940159; Thu, 14 Jan 2021 09:22:20 -0800 (PST) MIME-Version: 1.0 References: <20210113080752.1003793-1-lee.jones@linaro.org> <20210113080752.1003793-21-lee.jones@linaro.org> In-Reply-To: <20210113080752.1003793-21-lee.jones@linaro.org> From: Alex Deucher Date: Thu, 14 Jan 2021 12:22:09 -0500 Message-ID: Subject: Re: [PATCH 20/30] drm/amd/display/dc/core/dc: Fix a bunch of documentation misdemeanours 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.c:287: warning: Cannot = understand ***************************************************************= ************** > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:366: warning: Functio= n parameter or member 'crc_window' not described in 'dc_stream_configure_cr= c' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:430: warning: Functio= n parameter or member 'r_cr' not described in 'dc_stream_get_crc' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:430: warning: Functio= n parameter or member 'g_y' not described in 'dc_stream_get_crc' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:430: warning: Functio= n parameter or member 'b_cb' not described in 'dc_stream_get_crc' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2026: warning: Functi= on parameter or member 'dc' not described in 'dc_check_update_surfaces_for_= stream' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2026: warning: Functi= on parameter or member 'updates' not described in 'dc_check_update_surfaces= _for_stream' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2026: warning: Functi= on parameter or member 'surface_count' not described in 'dc_check_update_su= rfaces_for_stream' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2026: warning: Functi= on parameter or member 'stream_update' not described in 'dc_check_update_su= rfaces_for_stream' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2026: warning: Functi= on parameter or member 'stream_status' not described in 'dc_check_update_su= rfaces_for_stream' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2822: warning: Functi= on parameter or member 'dc' not described in 'dc_interrupt_set' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2822: warning: Functi= on parameter or member 'src' not described in 'dc_interrupt_set' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2822: warning: Functi= on parameter or member 'enable' not described in 'dc_interrupt_set' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2962: warning: Functi= on parameter or member 'link' not described in 'dc_link_add_remote_sink' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2962: warning: Functi= on parameter or member 'edid' not described in 'dc_link_add_remote_sink' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2962: warning: Functi= on parameter or member 'len' not described in 'dc_link_add_remote_sink' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2962: warning: Functi= on parameter or member 'init_data' not described in 'dc_link_add_remote_sin= k' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3022: warning: Functi= on parameter or member 'link' not described in 'dc_link_remove_remote_sink' > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3022: warning: Functi= on parameter or member 'sink' not described in 'dc_link_remove_remote_sink' > > 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.c | 33 ++++++++++++------------ > 1 file changed, 16 insertions(+), 17 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/a= md/display/dc/core/dc.c > index 0a07e608485ff..3ee3978fae977 100644 > --- a/drivers/gpu/drm/amd/display/dc/core/dc.c > +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c > @@ -284,20 +284,16 @@ static void dc_perf_trace_destroy(struct dc_perf_tr= ace **perf_trace) > } > > /** > - ***********************************************************************= ****** > - * Function: dc_stream_adjust_vmin_vmax > + * dc_stream_adjust_vmin_vmax: > * > - * @brief > - * Looks up the pipe context of dc_stream_state and updates the > - * vertical_total_min and vertical_total_max of the DRR, Dynamic Ref= resh > - * Rate, which is a power-saving feature that targets reducing panel > - * refresh rate while the screen is static > + * Looks up the pipe context of dc_stream_state and updates the > + * vertical_total_min and vertical_total_max of the DRR, Dynamic Refres= h > + * Rate, which is a power-saving feature that targets reducing panel > + * refresh rate while the screen is static > * > - * @param [in] dc: dc reference > - * @param [in] stream: Initial dc stream state > - * @param [in] adjust: Updated parameters for vertical_total_min and > - * vertical_total_max > - ***********************************************************************= ****** > + * @dc: dc reference > + * @stream: Initial dc stream state > + * @adjust: Updated parameters for vertical_total_min and vertical_tota= l_max > */ > bool dc_stream_adjust_vmin_vmax(struct dc *dc, > struct dc_stream_state *stream, > @@ -355,6 +351,7 @@ bool dc_stream_get_crtc_position(struct dc *dc, > * @dc: DC Object > * @stream: The stream to configure CRC on. > * @enable: Enable CRC if true, disable otherwise. > + * @crc_window: CRC window (x/y start/end) information > * @continuous: Capture CRC on every frame if true. Otherwise, only capt= ure > * once. > * > @@ -420,7 +417,9 @@ bool dc_stream_configure_crc(struct dc *dc, struct dc= _stream_state *stream, > * dc_stream_get_crc() - Get CRC values for the given stream. > * @dc: DC object > * @stream: The DC stream state of the stream to get CRCs from. > - * @r_cr, g_y, b_cb: CRC values for the three channels are stored here. > + * @r_cr: CRC value for the first of the 3 channels stored here. > + * @g_y: CRC value for the second of the 3 channels stored here. > + * @b_cb: CRC value for the third of the 3 channels stored here. > * > * dc_stream_configure_crc needs to be called beforehand to enable CRCs. > * Return false if stream is not found, or if CRCs are not enabled. > @@ -2012,7 +2011,7 @@ static enum surface_update_type check_update_surfac= es_for_stream( > return overall_type; > } > > -/** > +/* > * dc_check_update_surfaces_for_stream() - Determine update type (fast, = med, or full) > * > * See :c:type:`enum surface_update_type ` for expl= anation of update types > @@ -2815,7 +2814,7 @@ enum dc_irq_source dc_interrupt_to_irq_source( > return dal_irq_service_to_irq_source(dc->res_pool->irqs, src_id, = ext_id); > } > > -/** > +/* > * dc_interrupt_set() - Enable/disable an AMD hw interrupt source > */ > bool dc_interrupt_set(struct dc *dc, enum dc_irq_source src, bool enable= ) > @@ -2949,7 +2948,7 @@ static bool link_add_remote_sink_helper(struct dc_l= ink *dc_link, struct dc_sink > return true; > } > > -/** > +/* > * dc_link_add_remote_sink() - Create a sink and attach it to an existin= g link > * > * EDID length is in bytes > @@ -3012,7 +3011,7 @@ struct dc_sink *dc_link_add_remote_sink( > return NULL; > } > > -/** > +/* > * dc_link_remove_remote_sink() - Remove a remote sink from a dc_link > * > * Note that this just removes the struct dc_sink - it doesn't > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel