Andre Renaud | 8 Aug 2012 04:11
Favicon

[PATCH] Expose the OMAP Z-Order property through DRM

Added support for zorder changes through DRM plane properties

Signed-off-by: Andre Renaud <andre <at> bluewatersys.com>
---
 drivers/staging/omapdrm/omap_drv.h   |    1 +
 drivers/staging/omapdrm/omap_plane.c |   19 +++++++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/drivers/staging/omapdrm/omap_drv.h b/drivers/staging/omapdrm/omap_drv.h
index 799dd46..14d67de 100644
--- a/drivers/staging/omapdrm/omap_drv.h
+++ b/drivers/staging/omapdrm/omap_drv.h
 <at>  <at>  -62,6 +62,7  <at>  <at>  struct omap_drm_private {

 	/* properties: */
 	struct drm_property *rotation_prop;
+	struct drm_property *zorder_prop;
 };

 /* this should probably be in drm-core to standardize amongst drivers */
diff --git a/drivers/staging/omapdrm/omap_plane.c b/drivers/staging/omapdrm/omap_plane.c
index 6931d06..4bde639 100644
--- a/drivers/staging/omapdrm/omap_plane.c
+++ b/drivers/staging/omapdrm/omap_plane.c
 <at>  <at>  -433,6 +433,15  <at>  <at>  void omap_plane_install_properties(struct drm_plane *plane,
 		priv->rotation_prop = prop;
 	}
 	drm_object_attach_property(obj, prop, 0);
+
+        prop = priv->zorder_prop;
(Continue reading)

Rob Clark | 8 Aug 2012 06:52
Favicon

Re: [PATCH] Expose the OMAP Z-Order property through DRM

On Tue, Aug 7, 2012 at 9:11 PM, Andre Renaud <andre <at> bluewatersys.com> wrote:
> Added support for zorder changes through DRM plane properties
>
> Signed-off-by: Andre Renaud <andre <at> bluewatersys.com>

Signed-off-by: Rob Clark <rob.clark <at> linaro.org>

> ---
>  drivers/staging/omapdrm/omap_drv.h   |    1 +
>  drivers/staging/omapdrm/omap_plane.c |   19 +++++++++++++++++++
>  2 files changed, 20 insertions(+)
>
> diff --git a/drivers/staging/omapdrm/omap_drv.h b/drivers/staging/omapdrm/omap_drv.h
> index 799dd46..14d67de 100644
> --- a/drivers/staging/omapdrm/omap_drv.h
> +++ b/drivers/staging/omapdrm/omap_drv.h
>  <at>  <at>  -62,6 +62,7  <at>  <at>  struct omap_drm_private {
>
>         /* properties: */
>         struct drm_property *rotation_prop;
> +       struct drm_property *zorder_prop;
>  };
>
>  /* this should probably be in drm-core to standardize amongst drivers */
> diff --git a/drivers/staging/omapdrm/omap_plane.c b/drivers/staging/omapdrm/omap_plane.c
> index 6931d06..4bde639 100644
> --- a/drivers/staging/omapdrm/omap_plane.c
> +++ b/drivers/staging/omapdrm/omap_plane.c
>  <at>  <at>  -433,6 +433,15  <at>  <at>  void omap_plane_install_properties(struct drm_plane *plane,
>                 priv->rotation_prop = prop;
(Continue reading)


Gmane