[igt-dev] [PATCH] tests/kms_plane_alpha_blend: skip coverage tests on missing enum

Simon Ser contact at emersion.fr
Tue Nov 9 22:16:25 UTC 2021


On Tuesday, November 9th, 2021 at 19:14, Harry Wentland <harry.wentland at amd.com> wrote:

> On 2021-11-04 12:27, Simon Ser wrote:
> > Some KMS drivers support the KMS "pixel blend mode" plane property,
> > but don't support the "Coverage" mode. This enum entry is missing
> > to indicate lack of support as seen in this drm_info exerpt:
> >
> >     "pixel blend mode": enum {None, Pre-multiplied} = Pre-multiplied
> >
> > Skip the coverage tests in this case.
>
> Is "coverage" interesting for compositors? We have the ability to do
> pre-multiplied or coverage in HW but it's not hooked up currently.

I _think_ it'll be useful with the WIP color management Wayland protocol,
because clients will be able to submit straight (non-premult) buffers?

CC Pekka

(In any case, it's good to have the skip since it's not AMD-specific.)


More information about the igt-dev mailing list