Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp387921yba; Wed, 24 Apr 2019 03:04:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqzXG9nw/2S+E7jsmI9/PWTT9CVLrKI4JLxsGogRopQQ81xKZLxKgMnQDoCrd1+I+xVix4/t X-Received: by 2002:a17:902:184:: with SMTP id b4mr31477447plb.26.1556100280610; Wed, 24 Apr 2019 03:04:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556100280; cv=none; d=google.com; s=arc-20160816; b=U6V76YoSoi+WFTEyrgdWQJJkwHVYOJb1BbNzwlsHOu/vcFl6414P43q27O7NV7nyoz fkSydB63aufrZpCmItjYz9XNUIJZp0/PuTaWZ6sG/ytdnVCBWUc7HAlN/3SEPI6ZEQK+ v3j7FvgEdPYtJ+9hAuirS6esVb+cjwIfwhE9u3gOJlulvVxLNy34u33pTduQzRzhVS3h ktLAQIdDRoBWr2w+i3jkdDSZtsUFO3WVAgCTLj+efJAg8sbbvkidQ0eE3QHhMf/k9haD P5K9VXF97U+T0OR5HEy+kdEMyfB7uSqq8CwXN7sdHX94ELNR7zETI0ifvfYs5vA+IYVH hcoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=5Qq48G8FLF4UySZrW3ykOxETsAqrV9StgjQQGN9lTko=; b=gJMUdeYdtUrtk0yFvGGKAcvph5Qop4ElHOqQlCbcHXLoAa2H6WAnFD67EvJwX9hZDl hPloSCtTl9JrJo6+OaRKhMahgW+3+FDzLbf60/1MtlvhqbJWTaaq0Q5Pj74bqfe3Cz5O m0f087WVjIeOirW9FLAJtBQbkNLDuTkkWwDO+v+GzFSCQ/q7xCfBbreqLVCac90qZA7S jLvjGu7HZQOeNJWtcsO//S0WAMCWyD8lL0sgsGOPj3cqnqW9jdnLFNOg6rXcEIlpkCEI KCYa4TWv2kgw+IwHCqEz/F7epKIwXPbay7RfYovAFjsexl2HNBeGQteTxOX4QZyiRNfj m5Jw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s14si17164841pgs.343.2019.04.24.03.04.20; Wed, 24 Apr 2019 03:04:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728307AbfDXKCU (ORCPT + 99 others); Wed, 24 Apr 2019 06:02:20 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:40930 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726135AbfDXKCU (ORCPT ); Wed, 24 Apr 2019 06:02:20 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E9247A78; Wed, 24 Apr 2019 03:02:19 -0700 (PDT) Received: from e110455-lin.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 921113F5AF; Wed, 24 Apr 2019 03:02:19 -0700 (PDT) Received: by e110455-lin.cambridge.arm.com (Postfix, from userid 1000) id CD37E68240F; Wed, 24 Apr 2019 11:02:17 +0100 (BST) Date: Wed, 24 Apr 2019 11:02:17 +0100 From: Liviu Dudau To: "james qian wang (Arm Technology China)" Cc: "airlied@linux.ie" , Brian Starkey , "maarten.lankhorst@linux.intel.com" , "sean@poorly.run" , "Jonathan Chai (Arm Technology China)" , "Julien Yin (Arm Technology China)" , "thomas Sun (Arm Technology China)" , "Lowry Li (Arm Technology China)" , Ayan Halder , "Tiannan Zhu (Arm Technology China)" , "Yiqi Kang (Arm Technology China)" , nd , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" Subject: Re: [PATCH v2] drm/komeda: Fixed warning: Function parameter or member not described Message-ID: <20190424100217.GZ15144@e110455-lin.cambridge.arm.com> References: <20190424054741.19213-1-james.qian.wang@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190424054741.19213-1-james.qian.wang@arm.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 24, 2019 at 06:48:11AM +0100, james qian wang (Arm Technology China) wrote: > From: "james qian wang (Arm Technology China)" > > Fixed the warnings: Function parameter or member 'xxx' not described > when make htmldocs > > This patch depends on: > - https://patchwork.freedesktop.org/series/54448/ > - https://patchwork.freedesktop.org/series/54449/ > - https://patchwork.freedesktop.org/series/54450/ > > v2: Rebase and add reporter > > Reported-by: kbuild test robot > Signed-off-by: James Qian Wang (Arm Technology China) Acked-by: Liviu Dudau Best regards, Liviu > --- > .../gpu/drm/arm/display/komeda/komeda_crtc.c | 14 ++++-- > .../gpu/drm/arm/display/komeda/komeda_dev.h | 16 +++++-- > .../arm/display/komeda/komeda_framebuffer.h | 9 +++- > .../gpu/drm/arm/display/komeda/komeda_kms.h | 18 ++++++-- > .../drm/arm/display/komeda/komeda_pipeline.h | 43 ++++++++++++++----- > .../gpu/drm/arm/display/komeda/komeda_plane.c | 8 ++++ > 6 files changed, 85 insertions(+), 23 deletions(-) > > diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c b/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c > index 053b1e3e74be..d335fec1b727 100644 > --- a/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c > +++ b/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c > @@ -18,9 +18,17 @@ > #include "komeda_dev.h" > #include "komeda_kms.h" > > -/* crtc_atomic_check is the final check stage, so beside build a display data > - * pipeline according the crtc_state, but still needs to release/disable the > - * unclaimed pipeline resources. > +/** > + * komeda_crtc_atomic_check - build display output data flow > + * @crtc: DRM crtc > + * @state: the crtc state object > + * > + * crtc_atomic_check is the final check stage, so beside build a display data > + * pipeline according to the crtc_state, but still needs to release or disable > + * the unclaimed pipeline resources. > + * > + * RETURNS: > + * Zero for success or -errno > */ > static int > komeda_crtc_atomic_check(struct drm_crtc *crtc, > diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_dev.h b/drivers/gpu/drm/arm/display/komeda/komeda_dev.h > index 0c3e32b596d9..29e03c4e1ffc 100644 > --- a/drivers/gpu/drm/arm/display/komeda/komeda_dev.h > +++ b/drivers/gpu/drm/arm/display/komeda/komeda_dev.h > @@ -120,7 +120,7 @@ struct komeda_dev_funcs { > int master_pipe, u32 active_pipes); > }; > > -/** > +/* > * DISPLAY_MODE describes how many display been enabled, and which will be > * passed to CHIP by &komeda_dev_funcs->change_opmode(), then CHIP can do the > * pipeline resources assignment according to this usage hint. > @@ -145,24 +145,31 @@ enum { > * control-abilites of device. > */ > struct komeda_dev { > + /** @dev: the base device structure */ > struct device *dev; > + /** @reg_base: the base address of komeda io space */ > u32 __iomem *reg_base; > > + /** @chip: the basic chip information */ > struct komeda_chip_info chip; > /** @fmt_tbl: initialized by &komeda_dev_funcs->init_format_table */ > struct komeda_format_caps_table fmt_tbl; > /** @pclk: APB clock for register access */ > struct clk *pclk; > - /** @mck: HW main engine clk */ > + /** @mclk: HW main engine clk */ > struct clk *mclk; > > /** @irq: irq number */ > int irq; > > - struct mutex lock; /* used to protect dpmode */ > - u32 dpmode; /* current display mode */ > + /** @lock: used to protect dpmode */ > + struct mutex lock; > + /** @dpmode: current display mode */ > + u32 dpmode; > > + /** @n_pipelines: the number of pipe in @pipelines */ > int n_pipelines; > + /** @pipelines: the komeda pipelines */ > struct komeda_pipeline *pipelines[KOMEDA_MAX_PIPELINES]; > > /** @funcs: chip funcs to access to HW */ > @@ -175,6 +182,7 @@ struct komeda_dev { > */ > void *chip_data; > > + /** @debugfs_root: root directory of komeda debugfs */ > struct dentry *debugfs_root; > }; > > diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.h b/drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.h > index 0de2e4a2afd2..ea2fe190c1e3 100644 > --- a/drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.h > +++ b/drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.h > @@ -10,11 +10,16 @@ > #include > #include "komeda_format_caps.h" > > -/** struct komeda_fb - entend drm_framebuffer with komeda attribute */ > +/** > + * struct komeda_fb - Entending drm_framebuffer with komeda attribute > + */ > struct komeda_fb { > /** @base: &drm_framebuffer */ > struct drm_framebuffer base; > - /* @format_caps: &komeda_format_caps */ > + /** > + * @format_caps: > + * extends drm_format_info for komeda specific information > + */ > const struct komeda_format_caps *format_caps; > /** @aligned_w: aligned frame buffer width */ > u32 aligned_w; > diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_kms.h b/drivers/gpu/drm/arm/display/komeda/komeda_kms.h > index 7ec571d3c240..ac3d9209b4d9 100644 > --- a/drivers/gpu/drm/arm/display/komeda/komeda_kms.h > +++ b/drivers/gpu/drm/arm/display/komeda/komeda_kms.h > @@ -15,7 +15,9 @@ > #include