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

Sagar Arun Kamble sagar.a.kamble at intel.com
Wed Jun 11 02:59:40 PDT 2014


Reviewed-by: Sagar Kamble <sagar.a.kamble at 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 at intel.com>
> Cc: Sagar Kamble <sagar.a.kamble at intel.com>
> Cc: Daniel Vetter <daniel.vetter at 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>




More information about the dri-devel mailing list