[PATCH 4/4] Documentation/drm: Describing aspect ratio property

Vandana Kannan vandana.kannan at intel.com
Mon May 26 03:15:25 PDT 2014


Updated drm documentation to include description of aspect ratio property.
HTML table structure created by Sagar Kamble.

Signed-off-by: Vandana Kannan <vandana.kannan at intel.com>
Cc: Sagar Kamble <sagar.a.kamble at intel.com>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Cc: Thierry Reding <thierry.reding at gmail.com>
---
 Documentation/DocBook/drm.tmpl | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl
index 9574bf2..6e2c36f 100644
--- a/Documentation/DocBook/drm.tmpl
+++ b/Documentation/DocBook/drm.tmpl
@@ -2442,6 +2442,37 @@ void intel_crt_init(struct drm_device *dev)
       pointer to the target object, a pointer to the previously created property
       and an initial instance value.
     </para>
+    <sect2>
+       <title>Existing KMS Properties</title>
+       <para>
+       The following table gives description of drm properties exposed by various
+       modules/drivers.
+       </para>
+       <table border="1" cellpadding="0" cellspacing="0">
+       <tbody>
+       <tr style="font-weight: bold;">
+       <td valign="top" >Owner Module/Drivers</td>
+       <td valign="top" >Group</td>
+       <td valign="top" >Property Name</td>
+       <td valign="top" >Type</td>
+       <td valign="top" >Property Values</td>
+       <td valign="top" >Object attached</td>
+       <td valign="top" >Description/Restrictions</td>
+       </tr>
+       <tr>
+       <td valign="top" >DRM</td>
+       <td valign="top" >Generic</td>
+       <td valign="top" >Aspect Ratio</td>
+       <td valign="top" >ENUM</td>
+       <td valign="top" >{ "None", "4:3", "16:9" }</td>
+       <td valign="top" >Connector</td>
+       <td valign="top" >DRM property to set aspect ratio from user space.
+		This enum is made generic to allow addition of custom aspect
+		ratios.</td>
+       </tr>
+       </tbody>
+       </table>
+    </sect2>
   </sect1>
 
   <!-- Internals: vertical blanking -->
-- 
1.9.3



More information about the dri-devel mailing list