Re: [PATCH] Documentation: DocBook DRM framework documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Michael,

Thank you for the review.

On Monday 23 July 2012 17:12:43 Michael Jones wrote:
> Hi Laurent,
> 
> At a quick glance I noticed a couple of things:
> 
> On 07/13/2012 02:00 AM, Laurent Pinchart wrote:
> 
> [snip]
> 
> > +    <para>
> > +      The <structname>drm_driver</structname> structure contains static
> > +      information that describe the driver and features it supports, and
> 
> s/describe/describes/

Fixed.

> > +      pointers to methods that the DRM core will call to implement the
> > DRM API.
> > +      We will first go through the <structname>drm_driver</structname>
> > static
> > +      information fields, and will then describe individual operations in
> > +      details as they get used in later sections.
> >       </para>
> > -
> >       <sect2>
> > -      <title>Driver private &amp; performance counters</title>
> > -      <para>
> > -	The driver private hangs off the main drm_device structure and
> > -	can be used for tracking various device-specific bits of
> > -	information, like register offsets, command buffer status,
> > -	register state for suspend/resume, etc.  At load time, a
> > -	driver may simply allocate one and set drm_device.dev_priv
> > -	appropriately; it should be freed and drm_device.dev_priv set
> > -	to NULL when the driver is unloaded.
> > -      </para>
> > +      <title>Driver Information</title>
> > +      <sect3>
> > +        <title>Driver Features</title>
> > +        <para>
> > +          Drivers inform the DRM core about their requirements and
> > supported
> > +          features by setting appropriate flags in the
> > +          <structfield>driver_features</structfield> field. Since those
> > flags
> > +          influence the DRM core behaviour since registration time, most
> > of them
>
> Elsewhere you use the American spelling "behavior".

I've used "behavior" when copying sections from the existing documentation. 
I'll unify that. Does kernel documentation favour one of the spellings ?

> [snip]
> 
> > +      <sect3>
> > +        <title>Major, Minor and Patchlevel</title>
> > +        <synopsis>int major;
> > +  int minor;
> > +  int patchlevel;</synopsis>
> 
> In my browser, "int minor" and "int patchlevel" look indented, whereas
> "int major" does not.  Looks like they _should_ be indented identically.
> Don't know how you fix this or if you even see the same problem.

Fixed.

[snip]

-- 
Regards,

Laurent Pinchart

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux