public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Subject: Re: [RFC] Documentation requirements for drm/i915 feature work
Date: Fri, 14 Mar 2014 11:03:25 -0700	[thread overview]
Message-ID: <20140314110325.5b100f80@jbarnes-desktop> (raw)
In-Reply-To: <CAKMK7uF1pMSoKe-q6RsA1EnqSSrWPxz0Xt2WGLNDFCtWSuk5Ow@mail.gmail.com>

On Fri, 14 Mar 2014 19:00:46 +0100
Daniel Vetter <daniel@ffwll.ch> wrote:

> On Fri, Mar 14, 2014 at 6:06 PM, Jesse Barnes <jbarnes@virtuousgeek.org> wrote:
> >> 3) Documentating userspace ABIs like ioctls structures&flags, properties
> >> and so on.
> >>
> >> I have no idea how to do 3) well, see e.g. the discussion on documenting
> >> drm properties. And the drm core is completely undocumented in that area
> >> anyway afaik. So I think we can postpone this for now.
> >
> > IMO (3) very much belongs in libdrm as man page updates.  We need to be
> > good about catching this on review for new stuff.
> >
> > For older stuff I think there was a bit of momentum awhile back, but it
> > seems to have dissipated.
> >
> > We could try to extract it from kernel source somehow, but for user API
> > stuff, I think we really want man pages in libdrm, in addition to
> > whatever web based documentation we make available.
> 
> Yeah, I think manpages are a nice form for documenting ioctls - they
> more easily allow grouping of related things and the layout lends it
> self well for specs imo. But for now I'm ok with just the
> documentation we have in the form of code as igt testcases. And I also
> think that internal driver docs (and igt test helper library docs
> fwiw) are the more immediately useful areas, so I won't pour effort
> into ioctls docs for now.
> 
> But if someone else wants to go wild I'll happily support such an effort.

Yeah just saying a man page should be required as part of any new
ioctl.

-- 
Jesse Barnes, Intel Open Source Technology Center

  reply	other threads:[~2014-03-14 18:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-11 11:21 [RFC] Documentation requirements for drm/i915 feature work Daniel Vetter
2014-03-14 17:06 ` Jesse Barnes
2014-03-14 18:00   ` Daniel Vetter
2014-03-14 18:03     ` Jesse Barnes [this message]
2014-03-14 18:16       ` Daniel Vetter
2014-03-14 18:24         ` Jesse Barnes

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=20140314110325.5b100f80@jbarnes-desktop \
    --to=jbarnes@virtuousgeek.org \
    --cc=daniel@ffwll.ch \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox