lkml.org 
[lkml]   [2026]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] drm/drm_blend: allow blend mode property without PREMULTI
Date
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


\
 
 \ /
  Last update: 2026-05-04 16:17    [W:0.094 / U:0.963 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog