Skip to contentSkip to conversation

drm/doc: Add hflip/vflip property descriptions in msm

PATCH In review Jilai Wang 2 participants 3 messages Jul 27, 2015 – Jul 29, 2015

Subsystems (2)
lore
Share & tools
lore

Jilai Wang

author
#0 lore raw

PATCH 1/2 drm/doc: Add hflip/vflip property descriptions in msm

Add plane properties hflip/vflip which are used in MDP driver to flip the input horizontally/vertically.

---
 Documentation/DocBook/drm.tmpl | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)
Documentation/DocBook/drm.tmpl +16 -2
index d9f5613..bef6d34 100644
@@ -3501,8 +3501,8 @@ void intel_crt_init(struct drm_device *dev)
 	<td valign="top" >TBD</td>
 	</tr>
 	<tr>
-	<td rowspan="3" valign="top" >msm</td>
-	<td rowspan="3" valign="top" >Generic</td>
+	<td rowspan="5" valign="top" >msm</td>
+	<td rowspan="5" valign="top" >Generic</td>
 	<td valign="top" >"premultiplied"</td>
 	<td valign="top" >ENUM</td>
 	<td valign="top" >{ "false", "true" }</td>
@@ -3523,6 +3523,20 @@ void intel_crt_init(struct drm_device *dev)
 	<td valign="top" >Plane</td>
 	<td valign="top" >property to set plane's z position during blending</td>
 	</tr>
+	<tr>
+	<td valign="top" >"hflip"</td>
+	<td valign="top" >ENUM</td>
+	<td valign="top" >{ "off", "on" }</td>
+	<td valign="top" >Plane</td>
+	<td valign="top" >property to flip the input horizontally</td>
+	</tr>
+	<tr>
+	<td valign="top" >"vflip"</td>
+	<td valign="top" >ENUM</td>
+	<td valign="top" >{ "off", "on" }</td>
+	<td valign="top" >Plane</td>
+	<td valign="top" >property to flip the input vertically</td>
+	</tr>
 	</tbody>
 	</table>
     </sect2>
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
#1 lore raw
Quoted 4 lines · Jilai Wang

Add plane properties hflip/vflip which are used in MDP driver to flip the input horizontally/vertically.

Is the existing rotation prop with flip masks not enough? -Daniel

Quoted 48 lines
---
 Documentation/DocBook/drm.tmpl | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)
Documentation/DocBook/drm.tmpl +16 -2
index d9f5613..bef6d34 100644
@@ -3501,8 +3501,8 @@ void intel_crt_init(struct drm_device *dev)
 	<td valign="top" >TBD</td>
 	</tr>
 	<tr>
-	<td rowspan="3" valign="top" >msm</td>
-	<td rowspan="3" valign="top" >Generic</td>
+	<td rowspan="5" valign="top" >msm</td>
+	<td rowspan="5" valign="top" >Generic</td>
 	<td valign="top" >"premultiplied"</td>
 	<td valign="top" >ENUM</td>
 	<td valign="top" >{ "false", "true" }</td>
@@ -3523,6 +3523,20 @@ void intel_crt_init(struct drm_device *dev)
 	<td valign="top" >Plane</td>
 	<td valign="top" >property to set plane's z position during blending</td>
 	</tr>
+	<tr>
+	<td valign="top" >"hflip"</td>
+	<td valign="top" >ENUM</td>
+	<td valign="top" >{ "off", "on" }</td>
+	<td valign="top" >Plane</td>
+	<td valign="top" >property to flip the input horizontally</td>
+	</tr>
+	<tr>
+	<td valign="top" >"vflip"</td>
+	<td valign="top" >ENUM</td>
+	<td valign="top" >{ "off", "on" }</td>
+	<td valign="top" >Plane</td>
+	<td valign="top" >property to flip the input vertically</td>
+	</tr>
 	</tbody>
 	</table>
     </sect2>
Signature · 7 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

Thanks for this information, Daniel.
I will change it to use rotation prop in next patch.

Quoted 66 lines · Jilai Wang
Quoted 4 lines

Add plane properties hflip/vflip which are used in MDP driver to flip the input horizontally/vertically.

Is the existing rotation prop with flip masks not enough? -Daniel

Quoted 47 lines
---
 Documentation/DocBook/drm.tmpl | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)
Documentation/DocBook/drm.tmpl +2 -2
index d9f5613..bef6d34 100644
@@ -3501,8 +3501,8 @@ void intel_crt_init(struct drm_device *dev)
 	<td valign="top" >TBD</td>
 	</tr>
 	<tr>
-	<td rowspan="3" valign="top" >msm</td>
-	<td rowspan="3" valign="top" >Generic</td>
+	<td rowspan="5" valign="top" >msm</td>
+	<td rowspan="5" valign="top" >Generic</td>
 	<td valign="top" >"premultiplied"</td>
 	<td valign="top" >ENUM</td>
 	<td valign="top" >{ "false", "true" }</td>
@@ -3523,6 +3523,20 @@ void intel_crt_init(struct drm_device *dev)
 	<td valign="top" >Plane</td>
 	<td valign="top" >property to set plane's z position during

blending</td>

Documentation/DocBook/drm.tmpl +14 -1
 	</tr>
+	<tr>
+	<td valign="top" >"hflip"</td>
+	<td valign="top" >ENUM</td>
+	<td valign="top" >{ "off", "on" }</td>
+	<td valign="top" >Plane</td>
+	<td valign="top" >property to flip the input horizontally</td>
+	</tr>
+	<tr>
+	<td valign="top" >"vflip"</td>
+	<td valign="top" >ENUM</td>
+	<td valign="top" >{ "off", "on" }</td>
+	<td valign="top" >Plane</td>
+	<td valign="top" >property to flip the input vertically</td>
+	</tr>
 	</tbody>
 	</table>
     </sect2>
--

The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

Quoted 4 lines

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch