ksummit.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel.vetter@ffwll.ch>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: "ksummit-discuss@lists.linuxfoundation.org"
	<ksummit-discuss@lists.linuxfoundation.org>
Subject: Re: [Ksummit-discuss] [CORE TOPIC] Documentation
Date: Tue, 4 Aug 2015 16:30:52 +0200	[thread overview]
Message-ID: <CAKMK7uGuNDGZr3H33+munD5LXLiTt-pzzYOrUc2WHR=N3F_LZg@mail.gmail.com> (raw)
In-Reply-To: <4555213.bCW3TZxWso@avalon>

On Tue, Aug 4, 2015 at 4:28 PM, Laurent Pinchart
<laurent.pinchart@ideasonboard.com> wrote:
>> > A good (or bad example, depending on how you see it) of this is the
>> > DRM/KMS documentation available from Documentation/DocBook/drm.tmpl. I
>> > spent a considerable amount of time writing it, it got reviewed, merged in
>> > the kernel, and has now been rendered completely useless as the DRM/KMS
>> > internal API has evolved and the documentation hasn't been updated
>> > despite my repeated requests. That was extremely demotivating, and made
>> > me give up documenting DRM/KMS at all.
>>
>> drm having gone downhill is why I want to pull it out of the template
>> into code. E.g. we have extensive docs for vtables, but since they're
>> not next to the vtables in the code no one updates those. And
>> duplicating a summary in kerneldoc and then the extended version in
>> the docbook is even worse imo.
>
> The problem is two-fold. Extensive vtables documentation is definitely good,
> but it mostly serves as API reference documentation. I believe we also need a
> guide type of documentation that goes through the bits and pieces drivers need
> in a logical order. That should of course be linked to the vtables reference
> documentation, but it should be a natural text flow type of documentation that
> driver developers can read from start to end, guiding them in the process of
> writing a DRM/KMS driver.

Oh the vtables is just the blocker why I didn't start this yet - I
really don't like the current duplication we have. Fully agreed that
we need overview docs to tie it all together and explain how it works.
With markdown we can even do inline code snippets, which should help a
lot with explaining how to use certain helper libraries.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

  reply	other threads:[~2015-08-04 14:30 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-01 14:41 Jonathan Corbet
2015-08-02  7:07 ` Davidlohr Bueso
2015-08-03 13:35   ` Rafael J. Wysocki
2015-08-03 13:27     ` Konstantin Ryabitsev
2015-08-03 14:33     ` Jonathan Corbet
2015-08-03 20:45       ` Dmitry Torokhov
2015-08-04 10:59         ` Daniel Vetter
2015-08-04  0:52       ` Rafael J. Wysocki
2015-08-04 12:50       ` Laurent Pinchart
2015-08-04 13:03         ` Daniel Vetter
2015-08-04 14:28           ` Laurent Pinchart
2015-08-04 14:30             ` Daniel Vetter [this message]
2015-08-04 13:50         ` Dan Carpenter
2015-08-04 14:05           ` Geert Uytterhoeven
2015-08-04 14:29             ` Daniel Vetter
2015-08-04 14:30             ` Laurent Pinchart
2015-08-04 17:10               ` Geert Uytterhoeven
2015-08-04 14:42           ` Konstantin Ryabitsev
2015-08-04 18:21             ` Tim Bird
2015-08-04 21:00               ` Laurent Pinchart
2015-08-04 15:35         ` Mark Brown
2015-08-05 17:07           ` Michael Kerrisk (man-pages)
2015-08-04 17:24         ` Jonathan Corbet
2015-08-04  7:12 ` Michael Ellerman
2015-08-04  7:42   ` Marcel Holtmann
2015-08-04  8:33     ` Peter Huewe
2015-08-05 17:08       ` Michael Kerrisk (man-pages)
2015-08-05 17:19         ` josh
2015-08-05 17:21         ` Konstantin Ryabitsev
2015-08-04 12:54   ` Laurent Pinchart
2015-08-04 13:07     ` Daniel Vetter
2015-08-04 11:09 ` 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='CAKMK7uGuNDGZr3H33+munD5LXLiTt-pzzYOrUc2WHR=N3F_LZg@mail.gmail.com' \
    --to=daniel.vetter@ffwll.ch \
    --cc=ksummit-discuss@lists.linuxfoundation.org \
    --cc=laurent.pinchart@ideasonboard.com \
    /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