linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drm/blend: Add per-plane pixel blend mode property
@ 2018-05-30 11:23 Lowry Li
  2018-05-30 11:23 ` [PATCH v2 1/2] " Lowry Li
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Lowry Li @ 2018-05-30 11:23 UTC (permalink / raw)
  To: liviu.dudau
  Cc: gustavo, maarten.lankhorst, daniel.vetter, jani.nikula, seanpaul,
	airlied, ville.syrjala, dri-devel, linux-kernel, brian.starkey,
	malidp, nd

Hi,

This serie aims at adding the support for pixel blend modes represent the
alpha blending equation selection in the driver. It also introduces to use
it in the malidp driver.

Let me know what you think,
Lowry

Changes for v2:
 - Moves the blending equation into the DOC comment
 - Refines the comments of drm_plane_create_blend_mode_property to not
   enumerate the #defines, but instead the string values
 - Uses fg.* instead of pixel.* and plane_alpha instead of plane.alpha
 - Introduces to use it in the malidp driver, which depends on the plane
   alpha patch

Changes from v1:
 - v1 is just the core changes to request for commments
 - Adds a pixel_blend_mode to drm_plane_state and a blend_mode_property to
   drm_plane, and related support functions
 - Defines three blend modes in drm_blend.h
 - Rebased on current drm-next

Lowry Li (2):
  drm/blend: Add per-plane pixel blend mode property
  drm/mali-dp: Implement plane alpha and pixel blend on malidp

 drivers/gpu/drm/arm/malidp_planes.c |  76 ++++++++++++++-----------
 drivers/gpu/drm/drm_atomic.c        |   4 ++
 drivers/gpu/drm/drm_atomic_helper.c |   1 +
 drivers/gpu/drm/drm_blend.c         | 110 ++++++++++++++++++++++++++++++++++++
 include/drm/drm_blend.h             |   6 ++
 include/drm/drm_plane.h             |   6 ++
 6 files changed, 171 insertions(+), 32 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-06-01 11:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-30 11:23 [PATCH v2 0/2] drm/blend: Add per-plane pixel blend mode property Lowry Li
2018-05-30 11:23 ` [PATCH v2 1/2] " Lowry Li
2018-05-30 13:27   ` Brian Starkey
2018-05-31  9:36   ` Maarten Lankhorst
2018-05-31 14:51   ` Emil Velikov
2018-05-30 11:23 ` [PATCH v2 2/2] drm/mali-dp: Implement plane alpha and pixel blend on malidp Lowry Li
2018-05-30 13:34   ` Brian Starkey
2018-06-01 11:22   ` kbuild test robot
2018-05-30 14:40 ` [PATCH v2 0/2] drm/blend: Add per-plane pixel blend mode property Sean Paul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).