diff options
author | Christoph Manszewski <c.manszewski@samsung.com> | 2018-09-21 14:24:38 +0200 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2018-10-01 11:49:59 +0900 |
commit | 6ac99a328ee16d3f8cc253f1df62623cee3e9ea5 (patch) | |
tree | 94a40e3f22e9a1e9d94248a0e3a3043d76e45b66 /drivers/gpu/drm/exynos/exynos_drm_plane.c | |
parent | drm/exynos: mixer: Make pixel blend mode configurable (diff) | |
download | linux-dev-6ac99a328ee16d3f8cc253f1df62623cee3e9ea5.tar.xz linux-dev-6ac99a328ee16d3f8cc253f1df62623cee3e9ea5.zip |
drm/exynos: mixer: Make plane alpha configurable
The mixer hardware supports variable plane alpha. Currently planes are
opaque, make this configurable.
Tested on Odroid-U3 with Exynos 4412 CPU, kernel next-20180913
using modetest.
Signed-off-by: Christoph Manszewski <c.manszewski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_plane.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_plane.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_plane.c b/drivers/gpu/drm/exynos/exynos_drm_plane.c index 236408906f1f..df0508e0e49e 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_plane.c +++ b/drivers/gpu/drm/exynos/exynos_drm_plane.c @@ -325,5 +325,8 @@ int exynos_plane_init(struct drm_device *dev, if (config->capabilities & EXYNOS_DRM_PLANE_CAP_PIX_BLEND) drm_plane_create_blend_mode_property(plane, supported_modes); + if (config->capabilities & EXYNOS_DRM_PLANE_CAP_WIN_BLEND) + drm_plane_create_alpha_property(plane); + return 0; } |