diff mbox

drm/doc: Fix vga_switcheroo xref

Message ID 20160824101916.30125-1-daniel.vetter@ffwll.ch (mailing list archive)
State New, archived
Headers show

Commit Message

Daniel Vetter Aug. 24, 2016, 10:19 a.m. UTC
Reported-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
---
 Documentation/gpu/vga-switcheroo.rst | 2 ++
 1 file changed, 2 insertions(+)

Comments

Chris Wilson Aug. 24, 2016, 10:31 a.m. UTC | #1
On Wed, Aug 24, 2016 at 12:19:15PM +0200, Daniel Vetter wrote:
> Reported-by: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Chris Wilson <chris@chris-wilson.co.uk>
> Signed-off-by: Daniel Vetter <daniel.vetter@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@chris-wilson.co.uk>

Still learning rst.
-Chris
Lukas Wunner Aug. 24, 2016, 10:40 a.m. UTC | #2
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@chris-wilson.co.uk>
> > Cc: Chris Wilson <chris@chris-wilson.co.uk>
> > Signed-off-by: Daniel Vetter <daniel.vetter@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@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
Daniel Vetter Aug. 24, 2016, 11:12 a.m. UTC | #3
On Wed, Aug 24, 2016 at 12:40:01PM +0200, Lukas Wunner wrote:
> 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@chris-wilson.co.uk>
> > > Cc: Chris Wilson <chris@chris-wilson.co.uk>
> > > Signed-off-by: Daniel Vetter <daniel.vetter@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@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").

Oops. Added a Fixes: line with this sha1 and applied to drm-misc.

Also still learning rst ... ;-)

Thanks, Daniel
diff mbox

Patch

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:
+
 ==============
 VGA Switcheroo
 ==============