* [PATCH 4/4] Documentation/drm: Describing aspect ratio property
@ 2014-05-26 10:15 Vandana Kannan
2014-06-11 9:03 ` [PATCH v2 " Vandana Kannan
0 siblings, 1 reply; 3+ messages in thread
From: Vandana Kannan @ 2014-05-26 10:15 UTC (permalink / raw)
To: intel-gfx, dri-devel; +Cc: Daniel Vetter, Sagar Kamble
Updated drm documentation to include description of aspect ratio property.
HTML table structure created by Sagar Kamble.
Signed-off-by: Vandana Kannan <vandana.kannan@intel.com>
Cc: Sagar Kamble <sagar.a.kamble@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Thierry Reding <thierry.reding@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2 4/4] Documentation/drm: Describing aspect ratio property
2014-05-26 10:15 [PATCH 4/4] Documentation/drm: Describing aspect ratio property Vandana Kannan
@ 2014-06-11 9:03 ` Vandana Kannan
2014-06-11 9:59 ` Sagar Arun Kamble
0 siblings, 1 reply; 3+ messages in thread
From: Vandana Kannan @ 2014-06-11 9:03 UTC (permalink / raw)
To: intel-gfx, dri-devel; +Cc: Daniel Vetter, Sagar Kamble
Updated drm documentation to include desscription of aspect ratio property.
v2: Updated aspect ratio specific documentation on top of the HTML table created.
Signed-off-by: Vandana Kannan <vandana.kannan@intel.com>
Cc: Sagar Kamble <sagar.a.kamble@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
---
Documentation/DocBook/drm.tmpl | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl
index 7df3134..3e98151 100644
--- a/Documentation/DocBook/drm.tmpl
+++ b/Documentation/DocBook/drm.tmpl
@@ -2502,7 +2502,7 @@ void intel_crt_init(struct drm_device *dev)
<td valign="top" >Description/Restrictions</td>
</tr>
<tr>
- <td rowspan="20" valign="top" >DRM</td>
+ <td rowspan="21" valign="top" >DRM</td>
<td rowspan="2" valign="top" >Generic</td>
<td valign="top" >“EDID”</td>
<td valign="top" >BLOB | IMMUTABLE</td>
@@ -2633,7 +2633,7 @@ void intel_crt_init(struct drm_device *dev)
<td valign="top" >TBD</td>
</tr>
<tr>
- <td rowspan="2" valign="top" >Optional</td>
+ <td rowspan="3" valign="top" >Optional</td>
<td valign="top" >“scaling mode”</td>
<td valign="top" >ENUM</td>
<td valign="top" >{ "None", "Full", "Center", "Full aspect" }</td>
@@ -2641,6 +2641,15 @@ void intel_crt_init(struct drm_device *dev)
<td valign="top" >TBD</td>
</tr>
<tr>
+ <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 app.
+ This enum is made generic to allow addition of custom aspect
+ ratios.</td>
+ </tr>
+ <tr>
<td valign="top" >“dirty”</td>
<td valign="top" >ENUM | IMMUTABLE</td>
<td valign="top" >{ "Off", "On", "Annotate" }</td>
--
1.9.3
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2 4/4] Documentation/drm: Describing aspect ratio property
2014-06-11 9:03 ` [PATCH v2 " Vandana Kannan
@ 2014-06-11 9:59 ` Sagar Arun Kamble
0 siblings, 0 replies; 3+ messages in thread
From: Sagar Arun Kamble @ 2014-06-11 9:59 UTC (permalink / raw)
To: Vandana Kannan; +Cc: Daniel Vetter, intel-gfx, dri-devel
Reviewed-by: Sagar Kamble <sagar.a.kamble@intel.com>
On Wed, 2014-06-11 at 14:33 +0530, Vandana Kannan wrote:
> Updated drm documentation to include desscription of aspect ratio property.
>
> v2: Updated aspect ratio specific documentation on top of the HTML table created.
>
> Signed-off-by: Vandana Kannan <vandana.kannan@intel.com>
> Cc: Sagar Kamble <sagar.a.kamble@intel.com>
> Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
> ---
> Documentation/DocBook/drm.tmpl | 13 +++++++++++--
> 1 file changed, 11 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl
> index 7df3134..3e98151 100644
> --- a/Documentation/DocBook/drm.tmpl
> +++ b/Documentation/DocBook/drm.tmpl
> @@ -2502,7 +2502,7 @@ void intel_crt_init(struct drm_device *dev)
> <td valign="top" >Description/Restrictions</td>
> </tr>
> <tr>
> - <td rowspan="20" valign="top" >DRM</td>
> + <td rowspan="21" valign="top" >DRM</td>
> <td rowspan="2" valign="top" >Generic</td>
> <td valign="top" >“EDID”</td>
> <td valign="top" >BLOB | IMMUTABLE</td>
> @@ -2633,7 +2633,7 @@ void intel_crt_init(struct drm_device *dev)
> <td valign="top" >TBD</td>
> </tr>
> <tr>
> - <td rowspan="2" valign="top" >Optional</td>
> + <td rowspan="3" valign="top" >Optional</td>
> <td valign="top" >“scaling mode”</td>
> <td valign="top" >ENUM</td>
> <td valign="top" >{ "None", "Full", "Center", "Full aspect" }</td>
> @@ -2641,6 +2641,15 @@ void intel_crt_init(struct drm_device *dev)
> <td valign="top" >TBD</td>
> </tr>
> <tr>
> + <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 app.
> + This enum is made generic to allow addition of custom aspect
> + ratios.</td>
> + </tr>
> + <tr>
> <td valign="top" >“dirty”</td>
> <td valign="top" >ENUM | IMMUTABLE</td>
> <td valign="top" >{ "Off", "On", "Annotate" }</td>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-06-11 9:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-26 10:15 [PATCH 4/4] Documentation/drm: Describing aspect ratio property Vandana Kannan
2014-06-11 9:03 ` [PATCH v2 " Vandana Kannan
2014-06-11 9:59 ` Sagar Arun Kamble
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox