diff mbox

[1/3] drm/doc: Add description of drm properties in msm

Message ID 1434728209-24724-2-git-send-email-jilaiw@codeaurora.org (mailing list archive)
State Not Applicable, archived
Delegated to: Andy Gross
Headers show

Commit Message

jilai wang June 19, 2015, 3:36 p.m. UTC
Add plane properties "premultiplied/zpos/alpha" used in msm MDP
driver to perform proper blending operation.

Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>
---
 Documentation/DocBook/drm.tmpl | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Comments

Rob Clark June 24, 2015, 5:30 p.m. UTC | #1
On Fri, Jun 19, 2015 at 11:36 AM, Jilai Wang <jilaiw@codeaurora.org> wrote:
> Add plane properties "premultiplied/zpos/alpha" used in msm MDP
> driver to perform proper blending operation.
>
> Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>
> ---
>  Documentation/DocBook/drm.tmpl | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>
> diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl
> index 109fde8..9dc0940 100644
> --- a/Documentation/DocBook/drm.tmpl
> +++ b/Documentation/DocBook/drm.tmpl
> @@ -3500,6 +3500,29 @@ void intel_crt_init(struct drm_device *dev)
>         <td valign="top" >Plane</td>
>         <td valign="top" >TBD</td>
>         </tr>
> +       <tr>
> +       <td rowspan="3" valign="top" >msm</td>
> +       <td rowspan="3" valign="top" >Generic</td>
> +       <td valign="top" >"premultiplied"</td>
> +       <td valign="top" >RANGE</td>

probably an ENUM property for this?

> +       <td valign="top" >Min=0, Max=1</td>
> +       <td valign="top" >Plane</td>
> +       <td valign="top" >property to indicate the framebuffer used by this plane is alpha pre-multiplied</td>
> +       </tr>
> +       <tr>
> +       <td valign="top" >"alpha"</td>
> +       <td valign="top" >RANGE</td>
> +       <td valign="top" >Min=0, Max=255</td>
> +       <td valign="top" >Plane</td>
> +       <td valign="top" >property to set plane's global alpha value</td>
> +       </tr>
> +       <tr>
> +       <td valign="top" >"zpos"</td>
> +       <td valign="top" >RANGE</td>
> +       <td valign="top" >Min=1, Max=255</td>
> +       <td valign="top" >Plane</td>
> +       <td valign="top" >property to set plane's z position during blending</td>

looks like we already have alpha and zpos props..  although it
wouldn't hurt to copy your description over for those props, since it
is a bit more complete than "TBD" that we have currently

BR,
-R

> +       </tr>
>         </tbody>
>         </table>
>      </sect2>
> --
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
>
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl
index 109fde8..9dc0940 100644
--- a/Documentation/DocBook/drm.tmpl
+++ b/Documentation/DocBook/drm.tmpl
@@ -3500,6 +3500,29 @@  void intel_crt_init(struct drm_device *dev)
 	<td valign="top" >Plane</td>
 	<td valign="top" >TBD</td>
 	</tr>
+	<tr>
+	<td rowspan="3" valign="top" >msm</td>
+	<td rowspan="3" valign="top" >Generic</td>
+	<td valign="top" >"premultiplied"</td>
+	<td valign="top" >RANGE</td>
+	<td valign="top" >Min=0, Max=1</td>
+	<td valign="top" >Plane</td>
+	<td valign="top" >property to indicate the framebuffer used by this plane is alpha pre-multiplied</td>
+	</tr>
+	<tr>
+	<td valign="top" >"alpha"</td>
+	<td valign="top" >RANGE</td>
+	<td valign="top" >Min=0, Max=255</td>
+	<td valign="top" >Plane</td>
+	<td valign="top" >property to set plane's global alpha value</td>
+	</tr>
+	<tr>
+	<td valign="top" >"zpos"</td>
+	<td valign="top" >RANGE</td>
+	<td valign="top" >Min=1, Max=255</td>
+	<td valign="top" >Plane</td>
+	<td valign="top" >property to set plane's z position during blending</td>
+	</tr>
 	</tbody>
 	</table>
     </sect2>