Re: [PATCH v6 0/5] drm/blend: Support generic plane-wide alpha

2018-04-16 Thread Maxime Ripard
On Wed, Apr 11, 2018 at 09:39:24AM +0200, Maxime Ripard wrote:
> Hi,
> 
> This serie aims at enhancing the support for plane-wide alpha in the
> drivers that are implementing it at the moment, by turning it into a
> generic property and converting the drivers (rcar-du and atmel-hclcdc). It
> also introduces support for it in the sun4i driver.

Applied with Sean and Maarten's Acked-by, as reported on IRC.

Maxime

-- 
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com


signature.asc
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PATCH v6 0/5] drm/blend: Support generic plane-wide alpha

2018-04-11 Thread Eric Anholt
Maxime Ripard  writes:

> Hi,
>
> This serie aims at enhancing the support for plane-wide alpha in the
> drivers that are implementing it at the moment, by turning it into a
> generic property and converting the drivers (rcar-du and atmel-hclcdc). It
> also introduces support for it in the sun4i driver.
>
> Let me know what you think,
> Maxime
>
> Changes from v5:
>   - Added back a comment about the pixel values not being pre-multiplied as
> suggested by Laurent

I like that comment.  Thanks!


signature.asc
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PATCH v6 0/5] drm/blend: Support generic plane-wide alpha

2018-04-11 Thread Maxime Ripard
Hi,

This serie aims at enhancing the support for plane-wide alpha in the
drivers that are implementing it at the moment, by turning it into a
generic property and converting the drivers (rcar-du and atmel-hclcdc). It
also introduces support for it in the sun4i driver.

Let me know what you think,
Maxime

Changes from v5:
  - Added back a comment about the pixel values not being pre-multiplied as
suggested by Laurent

Changes from v4:
  - Removed the premultiplied alpha mention
  - Added Eric Reviewed-by

Changes from v3:
  - Rebased on current drm-misc-next
  - Made the alpha property a 16 bits property, and have the drivers
drop the lowest 8 bits
  - Removed the csv documentation, and documented it in the doc instead

Changes from v2:
  - Rebased on current drm-misc-next
  - Removed the patches already applied
  - Split the patch implementing the automatic pipe assignment in two

Changes from v1:
  - Document the behaviour on concurrent usage of the alpha property and an
alpha component in the format
  - Allowed for higher alpha values
  - Moved the alpha value from a helper to the struct drm_format_info
  - Collected tags
  - Rebased on current drm-misc-next

Maxime Ripard (5):
  drm/blend: Add a generic alpha property
  drm/atmel-hclcdc: Convert to the new generic alpha property
  drm/rcar-du: Convert to the new generic alpha property
  drm/sun4i: Add support for plane alpha
  drm/docs: Remove the rcar alpha from the csv file

 Documentation/gpu/kms-properties.csv|  1 +-
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h| 13 +---
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 89 ++
 drivers/gpu/drm/drm_atomic.c|  4 +-
 drivers/gpu/drm/drm_atomic_helper.c |  4 +-
 drivers/gpu/drm/drm_blend.c | 39 -
 drivers/gpu/drm/rcar-du/rcar_du_drv.h   |  1 +-
 drivers/gpu/drm/rcar-du/rcar_du_kms.c   |  5 +-
 drivers/gpu/drm/rcar-du/rcar_du_plane.c | 15 +--
 drivers/gpu/drm/rcar-du/rcar_du_plane.h |  2 +-
 drivers/gpu/drm/rcar-du/rcar_du_vsp.c   | 42 +
 drivers/gpu/drm/rcar-du/rcar_du_vsp.h   |  3 +-
 drivers/gpu/drm/sun4i/sun4i_backend.c   | 16 ++-
 drivers/gpu/drm/sun4i/sun4i_backend.h   |  3 +-
 drivers/gpu/drm/sun4i/sun4i_layer.c |  2 +-
 include/drm/drm_blend.h |  3 +-
 include/drm/drm_plane.h |  6 +-
 17 files changed, 97 insertions(+), 151 deletions(-)

base-commit: d31b5c91a27b768ee221fe677eb0b18b4cfb9df8
-- 
git-series 0.9.1
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel