[PATCH] drm/doc: Fix vga_switcheroo xref

Lukas Wunner lukas at wunner.de
Wed Aug 24 10:40:01 UTC 2016


On Wed, Aug 24, 2016 at 11:31:47AM +0100, Chris Wilson wrote:
> On Wed, Aug 24, 2016 at 12:19:15PM +0200, Daniel Vetter wrote:
> > Reported-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Chris Wilson <chris at chris-wilson.co.uk>
> > Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> > ---
> >  Documentation/gpu/vga-switcheroo.rst | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/Documentation/gpu/vga-switcheroo.rst b/Documentation/gpu/vga-switcheroo.rst
> > index 463a74fc40d1..cbbdb994f1dd 100644
> > --- a/Documentation/gpu/vga-switcheroo.rst
> > +++ b/Documentation/gpu/vga-switcheroo.rst
> > @@ -1,3 +1,5 @@
> > +.. _vga_switcheroo:
> 
> Ok, so this creates a label that can be used as target of :ref: as used
> by drm-internals.rst.
> 
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
> 
> Still learning rst.

:-)

The label had already been there since commit fb001dfd7e77
("vga_switcheroo: Sphinxify docs") but Daniel accidentaly
deleted it with b754b35b089d ("vgaarbiter: rst-ifiy and
polish kerneldoc").

Best regards,

Lukas


More information about the dri-devel mailing list