]> git.baikalelectronics.ru Git - kernel.git/commit
drm/blend: Add a generic alpha property
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 11 Apr 2018 07:39:25 +0000 (09:39 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 16 Apr 2018 19:17:29 +0000 (21:17 +0200)
commit0175c7f3d5f15eb90b53aa60a894a33d135f928a
tree08e84813756efaadf64b1be7ae953f62fb4a8a4f
parentb26af8a4ecb3dc2a6f56dd619fe752dd7e159894
drm/blend: Add a generic alpha property

Some drivers duplicate the logic to create a property to store a per-plane
alpha.

This is especially useful if we ever want to support extra protocols for
Wayland like:
https://lists.freedesktop.org/archives/wayland-devel/2017-August/034741.html

Let's create a helper in order to move that to the core.

Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Acked-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/6e1ce0db78fcfc407e94913c64819e65109d034d.1523432341.git-series.maxime.ripard@bootlin.com
drivers/gpu/drm/drm_atomic.c
drivers/gpu/drm/drm_atomic_helper.c
drivers/gpu/drm/drm_blend.c
include/drm/drm_blend.h
include/drm/drm_plane.h