[Intel-gfx] [PATCH] drm/i915: Integrate cmd parser kerneldoc

Ville Syrjälä ville.syrjala at linux.intel.com
Fri Apr 25 18:38:55 CEST 2014


On Fri, Apr 25, 2014 at 05:00:04PM +0200, Daniel Vetter wrote:
> Ville noticed that we have this nice kerneldoc but it's not integrated
> anywhere. Fix this asap!
> 
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Cc: Brad Volkin <bradley.d.volkin at intel.com>
> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>

Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

> ---
>  Documentation/DocBook/drm.tmpl         | 5 +++++
>  drivers/gpu/drm/i915/i915_cmd_parser.c | 2 +-
>  2 files changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl
> index 702c4474919c..f19b3ab6104f 100644
> --- a/Documentation/DocBook/drm.tmpl
> +++ b/Documentation/DocBook/drm.tmpl
> @@ -2945,6 +2945,11 @@ int num_ioctls;</synopsis>
>  	This sections covers all things related to the GEM implementation in the
>  	i915 driver.
>        </para>
> +      <sect2>
> +        <title>Batchbuffer Parsing</title>
> +!Pdrivers/gpu/drm/i915/i915_cmd_parser.c batch buffer command parser
> +!Idrivers/gpu/drm/i915/i915_cmd_parser.c
> +      </sect2>
>      </sect1>
>    </chapter>
>  </part>
> diff --git a/drivers/gpu/drm/i915/i915_cmd_parser.c b/drivers/gpu/drm/i915/i915_cmd_parser.c
> index 9bac0979a294..6ea94139e20b 100644
> --- a/drivers/gpu/drm/i915/i915_cmd_parser.c
> +++ b/drivers/gpu/drm/i915/i915_cmd_parser.c
> @@ -28,7 +28,7 @@
>  #include "i915_drv.h"
>  
>  /**
> - * DOC: i915 batch buffer command parser
> + * DOC: batch buffer command parser
>   *
>   * Motivation:
>   * Certain OpenGL features (e.g. transform feedback, performance monitoring)
> -- 
> 1.9.2

-- 
Ville Syrjälä
Intel OTC



More information about the Intel-gfx mailing list