Linux 7.3 added validate_blend_mode_for_alpha_formats(), which warns once per plane that exposes a pixel format with an alpha channel but has no blend mode property. Neither the DE2+ mixer planes nor the DE1 backend planes create one.
Both engines blend a layer with its own alpha channel and do not premultiply, which is the DRM "coverage" equation, so advertise exactly DRM_MODE_BLEND_COVERAGE and leave the register programming unchanged. Changes in v2: - Drop the Fixes: tag. 860e748bddcc only added the generic check; it did not change this driver. - Drop the code comments; they only restated the commit message. - Handle the DE1 backend planes too, in a separate patch, since they expose alpha formats as well and still warned on A10/A20/A31/A33. - Link to v1: https://lore.kernel.org/dri-devel/[email protected]/ Yang Siyuan (2): drm/sun4i: mixer: report coverage blending for alpha-capable planes drm/sun4i: backend: report coverage blending for alpha-capable planes drivers/gpu/drm/sun4i/sun4i_layer.c | 7 +++++++ drivers/gpu/drm/sun4i/sun8i_ui_layer.c | 7 +++++++ drivers/gpu/drm/sun4i/sun8i_vi_layer.c | 9 +++++++++ 3 files changed, 23 insertions(+) base-commit: 091b06388b117fefdcb63336ac09956a4914b961 -- 2.56.1
