From: Daniel Vetter <daniel@ffwll.ch>
To: Chris Wilson <chris@chris-wilson.co.uk>,
Daniel Vetter <daniel.vetter@ffwll.ch>,
DRI Development <dri-devel@lists.freedesktop.org>,
Intel Graphics Development <intel-gfx@lists.freedesktop.org>,
Daniel Vetter <daniel.vetter@intel.com>
Subject: Re: [PATCH 02/11] drm/doc: Add kerneldoc for @index
Date: Mon, 18 Jul 2016 09:15:35 +0200 [thread overview]
Message-ID: <20160718071534.GX17101@phenom.ffwll.local> (raw)
In-Reply-To: <20160715200604.GC26205@nuc-i3427.alporthouse.com>
On Fri, Jul 15, 2016 at 09:06:04PM +0100, Chris Wilson wrote:
> On Fri, Jul 15, 2016 at 09:47:59PM +0200, Daniel Vetter wrote:
> > Was forgotten when adding them all over. 0-day should complain about
> > new missing kernel-doc, not sure why that wasn't caught/fixed.
> >
> > Cc: Chris Wilson <chris@chris-wilson.co.uk>
> > Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
> > ---
> > include/drm/drm_crtc.h | 26 +++++++++++++++++++++-----
> > 1 file changed, 21 insertions(+), 5 deletions(-)
> >
> > diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
> > index ebf078685f86..656f189f1198 100644
> > --- a/include/drm/drm_crtc.h
> > +++ b/include/drm/drm_crtc.h
> > @@ -783,7 +783,10 @@ struct drm_crtc {
> > struct drm_plane *primary;
> > struct drm_plane *cursor;
> >
> > - /* position inside the mode_config.list, can be used as a [] idx */
> > + /**
> > + * @index: Position inside the mode_config.list, can be used as an array
>
> For all:
>
> @index: Fixed position inside the mode_config.list, can be used as an
> array index. The @index is assigned when the crtc is inserted into the
> list, and it will remain at that position inside the list until the
> module is unloaded.
>
> Just want to emphasis the unchanging nature of the @index. Second
> sentence may be overkill.
Just adding "It is invariant over the lifetime of $object." for brevity?
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2016-07-18 7:15 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-15 19:47 [PATCH 01/11] drm/drm-kms.rst: Remove unused drm_fourcc.h include directive Daniel Vetter
2016-07-15 19:47 ` [PATCH 02/11] drm/doc: Add kerneldoc for @index Daniel Vetter
2016-07-15 20:06 ` Chris Wilson
2016-07-18 7:15 ` Daniel Vetter [this message]
2016-07-18 7:29 ` Chris Wilson
2016-07-15 19:48 ` [PATCH 03/11] drm/doc: document all the properties in drm_mode_config Daniel Vetter
2016-07-15 19:48 ` [PATCH 04/11] drm: Extract&Document drm_irq.h Daniel Vetter
2016-07-15 19:48 ` [PATCH 05/11] drm/doc: Fix missing kerneldoc for drm_dp_helper.c Daniel Vetter
2016-07-15 19:48 ` [PATCH 06/11] drm/dp-mst: Remove tx_down_in_progress Daniel Vetter
2016-07-15 19:58 ` Chris Wilson
2016-07-15 19:48 ` [PATCH 07/11] drm/dp-mst: Missing kernel doc Daniel Vetter
2016-07-15 19:48 ` [PATCH 08/11] drm/i915: Fixup kerneldoc code snippets in intel_uncore.c Daniel Vetter
2016-07-15 19:48 ` [PATCH 09/11] drm/i915: Clean up kerneldoc for intel_lrc.c Daniel Vetter
2016-07-15 20:01 ` [Intel-gfx] " Chris Wilson
2016-07-15 19:48 ` [PATCH 10/11] drm/i915: Update missing kerneldoc Daniel Vetter
2016-07-15 19:48 ` [PATCH 11/11] drm/doc: Spinx leftovers Daniel Vetter
2016-07-19 8:34 ` [PATCH 01/11] drm/drm-kms.rst: Remove unused drm_fourcc.h include directive Daniel Vetter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160718071534.GX17101@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=chris@chris-wilson.co.uk \
--cc=daniel.vetter@ffwll.ch \
--cc=daniel.vetter@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.