[PATCH v2 0/2] drm/drm_blend: allow blend mode property without PREMULTI

Leandro Ribeiro posted 2 patches 1 month, 1 week ago
There is a newer version of this series
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(-)
[PATCH v2 0/2] drm/drm_blend: allow blend mode property without PREMULTI
Posted by Leandro Ribeiro 1 month, 1 week ago
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