public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drm/drm_blend: allow blend mode property without PREMULTI
@ 2026-05-04 14:06 Leandro Ribeiro
  2026-05-04 14:06 ` [PATCH v2 1/2] " Leandro Ribeiro
  2026-05-04 14:06 ` [PATCH v2 2/2] drm: ensure blend mode supported if alpha exposed Leandro Ribeiro
  0 siblings, 2 replies; 5+ messages in thread
From: Leandro Ribeiro @ 2026-05-04 14:06 UTC (permalink / raw)
  To: dri-devel
  Cc: airlied, daniels, maarten.lankhorst, mripard, pekka.paalanen,
	simona, tzimmermann, ville.syrjala, linux-kernel

Some hardware only supports the COVERAGE blend mode and lacks PREMULTI
support entirely. DRM currently requires that PREMULTI is present when
creating a blend mode property, which prevents such drivers from being
properly upstreamed.

This series remove such restriction and allow drivers to create a blend
mode property without PREMULTI.

v2: force drivers to expose blend mode if plane supports alpha property
or pixel format with alpha.

Leandro Ribeiro (2):
  drm/drm_blend: allow blend mode property without PREMULTI
  drm: ensure blend mode supported if alpha exposed

 drivers/gpu/drm/drm_blend.c         | 21 ++++++++++-----
 drivers/gpu/drm/drm_crtc_internal.h |  1 +
 drivers/gpu/drm/drm_drv.c           |  7 ++++-
 drivers/gpu/drm/drm_mode_config.c   | 42 +++++++++++++++++++++++++++++
 4 files changed, 63 insertions(+), 8 deletions(-)

-- 
2.54.0


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

end of thread, other threads:[~2026-05-05 13:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-04 14:06 [PATCH v2 0/2] drm/drm_blend: allow blend mode property without PREMULTI Leandro Ribeiro
2026-05-04 14:06 ` [PATCH v2 1/2] " Leandro Ribeiro
2026-05-04 14:06 ` [PATCH v2 2/2] drm: ensure blend mode supported if alpha exposed Leandro Ribeiro
2026-05-05  7:57   ` Jani Nikula
2026-05-05 13:14     ` Leandro Ribeiro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox