[PATCH 01/15] vga_switcheroo: Document _ALL_ the things!
Danilo Cesar Lemes de Paula
danilo.cesar at collabora.co.uk
Thu Sep 17 10:56:20 PDT 2015
On 09/17/2015 02:31 PM, Lukas Wunner wrote:
> Hi Danilo,
>
> On Thu, Sep 17, 2015 at 01:34:54PM -0300, Danilo Cesar Lemes de Paula wrote:
>>> - * GPU driver interface
>>> - * - set_gpu_state - this should do the equiv of s/r for the card
>>> - * - this should *not* set the discrete power state
>>
>> Did you check if this creates the desired format? (ie: Doesn't create a
>> <code> block).
>
> These lines are deleted by the patch.
Sorry, you're totally right.
>
> One oddity I did notice however is that in the HTML documentation for the
> public function vga_switcheroo_process_delayed_switch(), instead of the
> heading "Description" it says "Manual switching and manual power control"
> (which is the identifier of the preceding DOC section). I guess it's a bug
> in kernel-doc but I couldn't be bothered so far to look into it. No idea
> if it's introduced by your patches or if it was there all along.
That's odd... But I can have a look later.
>
> Another thing I noticed is that URLs are not clickable in the HTML output.
Did you tried the correct format? I just saw a regular http string,
which won't be converted. Markdown has this not obvious format for
links: This is a [Google](http://google.com) link
http://pandoc.org/try/?text=sudo+give+me+a+[link]%28http%3A%2F%2Fkernel.org%29%0A&from=markdown&to=docbook
>
> Otherwise the markdown support works great (though I've only used it for
> unsorted lists in this documentation).
>
> Thanks,
>
> Lukas
>
Danilo Cesar
More information about the dri-devel
mailing list