Skip to contentSkip to conversation

tests/kms_plane_alpha_blend: skip coverage tests on missing enum

PATCH In review Simon Ser 5 participants 7 messages Nov 4, 2021 – Nov 10, 2021

lore
Share & tools
lore

Simon Ser

author
#0 lore raw

PATCH 1/1 tests/kms_plane_alpha_blend: skip coverage tests on missing enum

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.

Cc Rodrigo Siqueira <[email protected]>
Cc Harry Wentland <[email protected]>
Cc Nicholas Kazlauskas <[email protected]>
---
 tests/kms_plane_alpha_blend.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tests/kms_plane_alpha_blend.c +2 -2
index 9e4ee22b43af..d061262da196 100644
@@ -419,7 +419,7 @@ static void coverage_7efc(data_t *data, enum pipe pipe, igt_plane_t *plane)
 	igt_crc_t ref_crc = {}, crc = {};
 	int i;
 
-	igt_plane_set_prop_enum(plane, IGT_PLANE_PIXEL_BLEND_MODE, "Coverage");
+	igt_require(igt_plane_try_prop_enum(plane, IGT_PLANE_PIXEL_BLEND_MODE, "Coverage"));
 	igt_display_commit2(display, COMMIT_ATOMIC);
 	igt_pipe_crc_start(data->pipe_crc);
 
@@ -451,7 +451,7 @@ static void coverage_premult_constant(data_t *data, enum pipe pipe, igt_plane_t
 	if (plane->type != DRM_PLANE_TYPE_PRIMARY)
 		igt_plane_set_fb(igt_pipe_get_plane_type(&display->pipes[pipe], DRM_PLANE_TYPE_PRIMARY), &data->gray_fb);
 
-	igt_plane_set_prop_enum(plane, IGT_PLANE_PIXEL_BLEND_MODE, "Coverage");
+	igt_require(igt_plane_try_prop_enum(plane, IGT_PLANE_PIXEL_BLEND_MODE, "Coverage"));
 	igt_plane_set_fb(plane, &data->argb_fb_cov_7e);
 	igt_display_commit2(display, COMMIT_ATOMIC);
 	igt_pipe_crc_start(data->pipe_crc);
Signature · 1 line
2.33.1
#1 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for tests/kms_plane_alpha_blend: skip coverage tests on missing enum

== Series Details ==

== Series Details ==

Series: tests/kms_plane_alpha_blend: skip coverage tests on missing enum
URL : https://patchwork.freedesktop.org/series/96579/
State : success

== Summary ==

CI Bug Log - changes from IGT_6274 -> IGTPW_6377
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/index.html

Participating hosts (37 -> 35)
------------------------------

Missing (2): fi-bsw-cyan fi-tgl-u2

Known issues
------------

Here are the changes found in IGTPW_6377 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@amdgpu/amd_cs_nop@sync-fork-compute0:
- fi-snb-2600: NOTRUN -> [SKIP][1] ([fdo#109271]) +17 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/fi-snb-2600/igt@amdgpu/[email protected]

* igt@runner@aborted:
- fi-bdw-5557u: NOTRUN -> [FAIL][2] ([i915#1602] / [i915#2029] / [i915#4312])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/fi-bdw-5557u/igt@[email protected]

#### Possible fixes ####

* igt@i915_selftest@live@hangcheck:
- fi-snb-2600: [INCOMPLETE][3] ([i915#3921]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/fi-snb-2600/igt@i915_selftest@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/fi-snb-2600/igt@i915_selftest@[email protected]

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#1602]: https://gitlab.freedesktop.org/drm/intel/issues/1602
[i915#2029]: https://gitlab.freedesktop.org/drm/intel/issues/2029
[i915#3921]: https://gitlab.freedesktop.org/drm/intel/issues/3921
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_6274 -> IGTPW_6377

CI-20190529: 20190529
CI_DRM_10841: 0b3fc75369bff156eca0c3e208567e2ceb030391 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_6377: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/index.html
IGT_6274: 569de51145fba197a8d93b2417348d47507bf485 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/index.html

#2 lore raw

[igt-dev] ✓ Fi.CI.IGT: success for tests/kms_plane_alpha_blend: skip coverage tests on missing enum

In reply to Simon Ser
== Series Details ==

== Series Details ==

Series: tests/kms_plane_alpha_blend: skip coverage tests on missing enum
URL : https://patchwork.freedesktop.org/series/96579/
State : success

== Summary ==

CI Bug Log - changes from IGT_6274_full -> IGTPW_6377_full
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/index.html

Participating hosts (7 -> 7)
------------------------------

No changes in participating hosts

Known issues
------------

Here are the changes found in IGTPW_6377_full that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@api_intel_allocator@execbuf-with-allocator:
- shard-snb: NOTRUN -> [SKIP][1] ([fdo#109271]) +38 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-snb2/igt@[email protected]

* igt@feature_discovery@display-2x:
- shard-tglb: NOTRUN -> [SKIP][2] ([i915#1839]) +1 similar issue
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb5/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][3] ([i915#1839])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb1/igt@[email protected]

* igt@feature_discovery@psr2:
- shard-iclb: NOTRUN -> [SKIP][4] ([i915#658]) +1 similar issue
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb6/igt@[email protected]

* igt@gem_ctx_persistence@engines-hostile:
- shard-snb: NOTRUN -> [SKIP][5] ([fdo#109271] / [i915#1099]) +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-snb5/igt@[email protected]

* igt@gem_ctx_sseu@engines:
- shard-tglb: NOTRUN -> [SKIP][6] ([i915#280])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb7/igt@[email protected]

* igt@gem_eio@unwedge-stress:
- shard-iclb: NOTRUN -> [TIMEOUT][7] ([i915#2369] / [i915#2481] / [i915#3070])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb7/igt@[email protected]

* igt@gem_exec_fair@basic-deadline:
- shard-apl: NOTRUN -> [FAIL][8] ([i915#2846])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-apl4/igt@[email protected]

* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-glk: [PASS][9] -> [FAIL][10] ([i915#2842])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-glk5/igt@gem_exec_fair@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-glk4/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none@vcs0:
- shard-tglb: NOTRUN -> [FAIL][11] ([i915#2842]) +6 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb1/igt@gem_exec_fair@[email protected]

* igt@gem_huc_copy@huc-copy:
- shard-apl: NOTRUN -> [SKIP][12] ([fdo#109271] / [i915#2190])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-apl8/igt@[email protected]

* igt@gem_render_copy@x-tiled-to-vebox-yf-tiled:
- shard-kbl: NOTRUN -> [SKIP][13] ([fdo#109271]) +76 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-kbl6/igt@[email protected]

* igt@gem_userptr_blits@unsync-unmap-cycles:
- shard-tglb: NOTRUN -> [SKIP][14] ([i915#3297]) +1 similar issue
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb1/igt@[email protected]

* igt@gen3_render_mixed_blits:
- shard-tglb: NOTRUN -> [SKIP][15] ([fdo#109289]) +2 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb5/igt@gen3_render_mixed_blits.html

* igt@gen7_exec_parse@oacontrol-tracking:
- shard-iclb: NOTRUN -> [SKIP][16] ([fdo#109289]) +2 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb1/igt@[email protected]

* igt@gen9_exec_parse@bb-start-far:
- shard-iclb: NOTRUN -> [SKIP][17] ([i915#2856])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb7/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][18] ([i915#2856]) +1 similar issue
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb6/igt@[email protected]

* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [PASS][19] -> [FAIL][20] ([i915#454])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-iclb2/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb3/igt@[email protected]

* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-dp:
- shard-kbl: NOTRUN -> [SKIP][21] ([fdo#109271] / [i915#1937])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-kbl2/igt@i915_pm_lpsp@[email protected]

* igt@i915_pm_rc6_residency@media-rc6-accuracy:
- shard-tglb: NOTRUN -> [SKIP][22] ([fdo#109289] / [fdo#111719])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb1/igt@[email protected]

* igt@i915_pm_rc6_residency@rc6-idle:
- shard-tglb: NOTRUN -> [WARN][23] ([i915#2681] / [i915#2684])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb5/igt@[email protected]

* igt@i915_pm_sseu@full-enable:
- shard-tglb: NOTRUN -> [SKIP][24] ([i915#4387])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb8/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][25] ([i915#4387])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb5/igt@[email protected]

* igt@kms_atomic@plane-primary-overlay-mutable-zpos:
- shard-iclb: NOTRUN -> [SKIP][26] ([i915#404])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb4/igt@[email protected]

* igt@kms_big_fb@linear-64bpp-rotate-270:
- shard-iclb: NOTRUN -> [SKIP][27] ([fdo#110725] / [fdo#111614])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb7/igt@[email protected]

* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-hflip:
- shard-glk: NOTRUN -> [SKIP][28] ([fdo#109271] / [i915#3777])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-glk4/igt@[email protected]

* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-hflip:
- shard-kbl: NOTRUN -> [SKIP][29] ([fdo#109271] / [i915#3777])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-kbl2/igt@[email protected]

* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180-hflip:
- shard-apl: NOTRUN -> [SKIP][30] ([fdo#109271] / [i915#3777])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-apl4/igt@[email protected]

* igt@kms_big_fb@yf-tiled-32bpp-rotate-270:
- shard-tglb: NOTRUN -> [SKIP][31] ([fdo#111615]) +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb7/igt@[email protected]

* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip:
- shard-iclb: NOTRUN -> [SKIP][32] ([fdo#110723])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb5/igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip.html

* igt@kms_big_joiner@2x-modeset:
- shard-tglb: NOTRUN -> [SKIP][33] ([i915#2705])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb2/igt@[email protected]

* igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][34] ([fdo#109271] / [i915#3886]) +6 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-apl4/igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_ccs@pipe-a-crc-primary-basic-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][35] ([i915#3689] / [i915#3886]) +1 similar issue
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb6/igt@kms_ccs@pipe-a-crc-primary-basic-y_tiled_gen12_mc_ccs.html
- shard-glk: NOTRUN -> [SKIP][36] ([fdo#109271] / [i915#3886])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-glk2/igt@kms_ccs@pipe-a-crc-primary-basic-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_mc_ccs:
- shard-kbl: NOTRUN -> [SKIP][37] ([fdo#109271] / [i915#3886]) +6 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-kbl4/igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-c-bad-aux-stride-y_tiled_gen12_mc_ccs:
- shard-iclb: NOTRUN -> [SKIP][38] ([fdo#109278] / [i915#3886]) +1 similar issue
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb6/igt@kms_ccs@pipe-c-bad-aux-stride-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-d-crc-sprite-planes-basic-y_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][39] ([i915#3689]) +7 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb8/igt@kms_ccs@pipe-d-crc-sprite-planes-basic-y_tiled_ccs.html

* igt@kms_ccs@pipe-d-random-ccs-data-yf_tiled_ccs:
- shard-iclb: NOTRUN -> [SKIP][40] ([fdo#109278]) +14 similar issues
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb8/igt@kms_ccs@pipe-d-random-ccs-data-yf_tiled_ccs.html

* igt@kms_cdclk@mode-transition:
- shard-iclb: NOTRUN -> [SKIP][41] ([i915#3742])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb4/igt@[email protected]

* igt@kms_chamelium@hdmi-hpd:
- shard-tglb: NOTRUN -> [SKIP][42] ([fdo#109284] / [fdo#111827]) +3 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb5/igt@[email protected]

* igt@kms_color@pipe-d-ctm-0-25:
- shard-iclb: NOTRUN -> [SKIP][43] ([fdo#109278] / [i915#1149])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb2/igt@[email protected]

* igt@kms_color_chamelium@pipe-a-ctm-0-5:
- shard-apl: NOTRUN -> [SKIP][44] ([fdo#109271] / [fdo#111827]) +10 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-apl2/igt@[email protected]

* igt@kms_color_chamelium@pipe-a-ctm-blue-to-red:
- shard-iclb: NOTRUN -> [SKIP][45] ([fdo#109284] / [fdo#111827]) +1 similar issue
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb8/igt@[email protected]

* igt@kms_color_chamelium@pipe-c-degamma:
- shard-glk: NOTRUN -> [SKIP][46] ([fdo#109271] / [fdo#111827])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-glk3/igt@[email protected]
- shard-snb: NOTRUN -> [SKIP][47] ([fdo#109271] / [fdo#111827])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-snb7/igt@[email protected]

* igt@kms_color_chamelium@pipe-c-gamma:
- shard-kbl: NOTRUN -> [SKIP][48] ([fdo#109271] / [fdo#111827]) +5 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-kbl2/igt@[email protected]

* igt@kms_color_chamelium@pipe-d-ctm-0-25:
- shard-iclb: NOTRUN -> [SKIP][49] ([fdo#109278] / [fdo#109284] / [fdo#111827])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb6/igt@[email protected]

* igt@kms_content_protection@dp-mst-lic-type-1:
- shard-tglb: NOTRUN -> [SKIP][50] ([i915#3116])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb8/igt@[email protected]

* igt@kms_content_protection@lic:
- shard-apl: NOTRUN -> [TIMEOUT][51] ([i915#1319]) +1 similar issue
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-apl1/igt@[email protected]

* igt@kms_content_protection@mei_interface:
- shard-iclb: NOTRUN -> [SKIP][52] ([fdo#109300] / [fdo#111066])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb4/igt@kms_content_protection@mei_interface.html

* igt@kms_cursor_crc@pipe-a-cursor-32x10-offscreen:
- shard-apl: NOTRUN -> [SKIP][53] ([fdo#109271]) +139 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-apl3/igt@[email protected]

* igt@kms_cursor_crc@pipe-b-cursor-512x512-rapid-movement:
- shard-iclb: NOTRUN -> [SKIP][54] ([fdo#109278] / [fdo#109279]) +2 similar issues
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb8/igt@[email protected]

* igt@kms_cursor_crc@pipe-b-cursor-suspend:
- shard-apl: [PASS][55] -> [DMESG-WARN][56] ([i915#180]) +3 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-apl4/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-apl8/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-32x10-rapid-movement:
- shard-tglb: NOTRUN -> [SKIP][57] ([i915#3359]) +4 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb5/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-512x512-onscreen:
- shard-tglb: NOTRUN -> [SKIP][58] ([fdo#109279] / [i915#3359]) +2 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb6/igt@[email protected]

* igt@kms_cursor_crc@pipe-d-cursor-32x32-onscreen:
- shard-tglb: NOTRUN -> [SKIP][59] ([i915#3319]) +1 similar issue
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb6/igt@[email protected]

* igt@kms_cursor_legacy@cursorb-vs-flipa-legacy:
- shard-iclb: NOTRUN -> [SKIP][60] ([fdo#109274] / [fdo#109278])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb2/igt@[email protected]

* igt@kms_cursor_legacy@short-busy-flip-before-cursor-toggle:
- shard-tglb: NOTRUN -> [SKIP][61] ([i915#4103])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb3/igt@[email protected]

* igt@kms_fbcon_fbt@fbc-suspend:
- shard-kbl: [PASS][62] -> [INCOMPLETE][63] ([i915#180] / [i915#636])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-kbl1/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-kbl6/igt@[email protected]

* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@ab-hdmi-a1-hdmi-a2:
- shard-glk: [PASS][64] -> [FAIL][65] ([i915#79]) +1 similar issue
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-glk9/igt@kms_flip@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-glk9/igt@kms_flip@[email protected]

* igt@kms_flip@2x-flip-vs-rmfb:
- shard-iclb: NOTRUN -> [SKIP][66] ([fdo#109274]) +1 similar issue
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb4/igt@[email protected]

* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-kbl: NOTRUN -> [DMESG-WARN][67] ([i915#180]) +2 similar issues
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-kbl7/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-suspend-interruptible@a-edp1:
- shard-tglb: NOTRUN -> [INCOMPLETE][68] ([i915#456])
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb7/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-suspend@a-edp1:
- shard-tglb: [PASS][69] -> [INCOMPLETE][70] ([i915#2411] / [i915#456])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-tglb3/igt@kms_flip@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb7/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-suspend@c-dp1:
- shard-kbl: [PASS][71] -> [DMESG-WARN][72] ([i915#180]) +6 similar issues
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-kbl3/igt@kms_flip@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-kbl4/igt@kms_flip@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-draw-mmap-cpu:
- shard-iclb: NOTRUN -> [SKIP][73] ([fdo#109280]) +13 similar issues
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb4/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-draw-mmap-cpu.html

* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-render:
- shard-glk: NOTRUN -> [SKIP][74] ([fdo#109271]) +47 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-glk2/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-render.html

* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-pwrite:
- shard-tglb: NOTRUN -> [SKIP][75] ([fdo#111825]) +19 similar issues
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb1/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-pwrite.html

* igt@kms_hdmi_inject@inject-audio:
- shard-tglb: [PASS][76] -> [SKIP][77] ([i915#433])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-tglb7/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb3/igt@[email protected]

* igt@kms_hdr@static-toggle:
- shard-iclb: NOTRUN -> [SKIP][78] ([i915#1187])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb7/igt@[email protected]

* igt@kms_hdr@static-toggle-dpms:
- shard-tglb: NOTRUN -> [SKIP][79] ([i915#1187])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb8/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb:
- shard-apl: NOTRUN -> [FAIL][80] ([fdo#108145] / [i915#265]) +2 similar issues
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-apl6/igt@[email protected]

* igt@kms_plane_lowres@pipe-b-tiling-none:
- shard-iclb: NOTRUN -> [SKIP][81] ([i915#3536])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb8/igt@[email protected]

* igt@kms_plane_lowres@pipe-c-tiling-yf:
- shard-tglb: NOTRUN -> [SKIP][82] ([fdo#112054])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb5/igt@[email protected]

* igt@kms_plane_lowres@pipe-d-tiling-y:
- shard-tglb: NOTRUN -> [SKIP][83] ([i915#3536]) +1 similar issue
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb5/igt@[email protected]

* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-2:
- shard-apl: NOTRUN -> [SKIP][84] ([fdo#109271] / [i915#658]) +1 similar issue
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-apl4/igt@[email protected]

* igt@kms_psr2_sf@plane-move-sf-dmg-area-2:
- shard-tglb: NOTRUN -> [SKIP][85] ([i915#2920]) +2 similar issues
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb3/igt@[email protected]

* igt@kms_psr2_su@frontbuffer:
- shard-iclb: [PASS][86] -> [SKIP][87] ([fdo#109642] / [fdo#111068] / [i915#658])
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-iclb2/igt@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb5/igt@[email protected]

* igt@kms_psr@psr2_sprite_plane_move:
- shard-tglb: NOTRUN -> [FAIL][88] ([i915#132] / [i915#3467]) +1 similar issue
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb3/igt@kms_psr@psr2_sprite_plane_move.html

* igt@kms_psr@psr2_sprite_plane_onoff:
- shard-iclb: [PASS][89] -> [SKIP][90] ([fdo#109441])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-iclb2/igt@kms_psr@psr2_sprite_plane_onoff.html
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb7/igt@kms_psr@psr2_sprite_plane_onoff.html

* igt@kms_psr@psr2_suspend:
- shard-iclb: NOTRUN -> [SKIP][91] ([fdo#109441])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb4/igt@kms_psr@psr2_suspend.html

* igt@kms_vblank@pipe-b-ts-continuation-suspend:
- shard-tglb: [PASS][92] -> [INCOMPLETE][93] ([i915#2828] / [i915#456])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-tglb8/igt@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb7/igt@[email protected]

* igt@kms_vblank@pipe-b-wait-forked-busy-hang:
- shard-glk: [PASS][94] -> [DMESG-WARN][95] ([i915#118] / [i915#1888])
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-glk3/igt@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-glk4/igt@[email protected]

* igt@kms_vrr@flip-suspend:
- shard-tglb: NOTRUN -> [SKIP][96] ([fdo#109502])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb1/igt@[email protected]

* igt@kms_writeback@writeback-invalid-parameters:
- shard-apl: NOTRUN -> [SKIP][97] ([fdo#109271] / [i915#2437])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-apl1/igt@[email protected]

* igt@nouveau_crc@pipe-a-source-outp-complete:
- shard-tglb: NOTRUN -> [SKIP][98] ([i915#2530]) +1 similar issue
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb3/igt@[email protected]

* igt@perf@polling-parameterized:
- shard-glk: [PASS][99] -> [FAIL][100] ([i915#1542])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-glk5/igt@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-glk9/igt@[email protected]

* igt@perf_pmu@rc6-suspend:
- shard-tglb: [PASS][101] -> [INCOMPLETE][102] ([i915#456])
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-tglb5/igt@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb7/igt@[email protected]

* igt@prime_nv_api@i915_nv_import_twice:
- shard-iclb: NOTRUN -> [SKIP][103] ([fdo#109291]) +3 similar issues
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb4/igt@prime_nv_api@i915_nv_import_twice.html

* igt@prime_nv_test@nv_write_i915_gtt_mmap_read:
- shard-tglb: NOTRUN -> [SKIP][104] ([fdo#109291]) +3 similar issues
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb3/igt@prime_nv_test@nv_write_i915_gtt_mmap_read.html

* igt@sysfs_clients@recycle-many:
- shard-apl: NOTRUN -> [SKIP][105] ([fdo#109271] / [i915#2994]) +2 similar issues
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-apl3/igt@[email protected]

#### Possible fixes ####

* igt@gem_eio@hibernate:
- shard-iclb: [DMESG-WARN][106] ([i915#4391]) -> [PASS][107] +2 similar issues
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-iclb7/igt@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb5/igt@[email protected]

* igt@gem_eio@in-flight-contexts-10ms:
- shard-tglb: [TIMEOUT][108] ([i915#3063]) -> [PASS][109]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-tglb8/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb2/igt@[email protected]

* igt@gem_exec_fair@basic-flow@rcs0:
- shard-kbl: [SKIP][110] ([fdo#109271]) -> [PASS][111]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-kbl6/igt@gem_exec_fair@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-kbl3/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none@vcs0:
- shard-apl: [FAIL][112] ([i915#2842]) -> [PASS][113]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-apl6/igt@gem_exec_fair@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-apl6/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none@vecs0:
- shard-apl: [FAIL][114] ([i915#2842] / [i915#3468]) -> [PASS][115]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-apl6/igt@gem_exec_fair@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-apl6/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-tglb: [FAIL][116] ([i915#2842]) -> [PASS][117]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-tglb1/igt@gem_exec_fair@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb6/igt@gem_exec_fair@[email protected]
- shard-glk: [FAIL][118] ([i915#2842]) -> [PASS][119] +1 similar issue
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-glk4/igt@gem_exec_fair@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-glk9/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace@vecs0:
- shard-kbl: [FAIL][120] ([i915#2842]) -> [PASS][121] +2 similar issues
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-kbl2/igt@gem_exec_fair@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-kbl2/igt@gem_exec_fair@[email protected]

* igt@gem_softpin@noreloc-s3:
- shard-tglb: [INCOMPLETE][122] ([i915#1373] / [i915#456]) -> [PASS][123]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-tglb7/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb2/igt@[email protected]

* igt@gem_workarounds@suspend-resume-context:
- shard-apl: [DMESG-WARN][124] ([i915#180]) -> [PASS][125] +1 similar issue
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-apl2/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-apl7/igt@[email protected]

* igt@i915_pm_rpm@modeset-lpsp-stress:
- shard-iclb: [INCOMPLETE][126] ([i915#4319]) -> [PASS][127]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-iclb4/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb1/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-suspend:
- shard-tglb: [INCOMPLETE][128] ([i915#2411] / [i915#456]) -> [PASS][129]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-tglb7/igt@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb3/igt@[email protected]

* igt@kms_hdr@bpc-switch-suspend:
- shard-kbl: [DMESG-WARN][130] ([i915#180]) -> [PASS][131] +4 similar issues
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-kbl4/igt@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-kbl7/igt@[email protected]

* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: [SKIP][132] ([fdo#109441]) -> [PASS][133] +3 similar issues
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-iclb1/igt@kms_psr@psr2_primary_mmap_cpu.html
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html

* igt@kms_setmode@basic:
- shard-glk: [FAIL][134] ([i915#31]) -> [PASS][135]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-glk9/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-glk9/igt@[email protected]

* igt@perf@polling-small-buf:
- shard-tglb: [FAIL][136] ([i915#1722]) -> [PASS][137]
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-tglb2/igt@[email protected]
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-tglb3/igt@[email protected]

#### Warnings ####

* igt@i915_pm_dc@dc9-dpms:
- shard-iclb: [FAIL][138] ([i915#4275]) -> [SKIP][139] ([i915#4281])
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6274/shard-iclb7/igt@[email protected]
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/shard-iclb3/igt@[email protected]

* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-2:
- shard-iclb: [SKIP][140] ([i915#658]) -> [SKIP][141] ([i915#2920])
[140]: https://in

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6377/index.html

Reviewed-by Rodrigo Siqueira on v1 1/1
#3 lore raw
In reply to Simon Ser
Quoted 31 lines · Simon Ser

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.

Cc Rodrigo Siqueira <[email protected]>
Cc Harry Wentland <[email protected]>
Cc Nicholas Kazlauskas <[email protected]>
---
  tests/kms_plane_alpha_blend.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
tests/kms_plane_alpha_blend.c +1 -1
index 9e4ee22b43af..d061262da196 100644
@@ -419,7 +419,7 @@ static void coverage_7efc(data_t *data, enum pipe pipe, igt_plane_t *plane)
  	igt_crc_t ref_crc = {}, crc = {};
  	int i;
 
-	igt_plane_set_prop_enum(plane, IGT_PLANE_PIXEL_BLEND_MODE, "Coverage");
+	igt_require(igt_plane_try_prop_enum(plane, IGT_PLANE_PIXEL_BLEND_MODE, "Coverage"));
  	igt_display_commit2(display, COMMIT_ATOMIC);
  	igt_pipe_crc_start(data->pipe_crc);
 

tests/kms_plane_alpha_blend.c static void coverage_premult_constant(data_t *data, enum pipe pipe, igt_plane_t · line 457

Quoted 8 lines
tests/kms_plane_alpha_blend.c +1 -1
@@ -451,7 +451,7 @@ static void coverage_premult_constant(data_t *data, enum pipe pipe, igt_plane_t
  	if (plane->type != DRM_PLANE_TYPE_PRIMARY)
  		igt_plane_set_fb(igt_pipe_get_plane_type(&display->pipes[pipe], DRM_PLANE_TYPE_PRIMARY), &data->gray_fb);
 
-	igt_plane_set_prop_enum(plane, IGT_PLANE_PIXEL_BLEND_MODE, "Coverage");
+	igt_require(igt_plane_try_prop_enum(plane, IGT_PLANE_PIXEL_BLEND_MODE, "Coverage"));
  	igt_plane_set_fb(plane, &data->argb_fb_cov_7e);
  	igt_display_commit2(display, COMMIT_ATOMIC);
  	igt_pipe_crc_start(data->pipe_crc);

Thanks

#4 lore raw
In reply to Simon Ser
Quoted 7 lines · Simon Ser

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.

Harry

Quoted 32 lines
Cc Rodrigo Siqueira <[email protected]>
Cc Harry Wentland <[email protected]>
Cc Nicholas Kazlauskas <[email protected]>
---
 tests/kms_plane_alpha_blend.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tests/kms_plane_alpha_blend.c +2 -2
index 9e4ee22b43af..d061262da196 100644
@@ -419,7 +419,7 @@ static void coverage_7efc(data_t *data, enum pipe pipe, igt_plane_t *plane)
 	igt_crc_t ref_crc = {}, crc = {};
 	int i;
 
-	igt_plane_set_prop_enum(plane, IGT_PLANE_PIXEL_BLEND_MODE, "Coverage");
+	igt_require(igt_plane_try_prop_enum(plane, IGT_PLANE_PIXEL_BLEND_MODE, "Coverage"));
 	igt_display_commit2(display, COMMIT_ATOMIC);
 	igt_pipe_crc_start(data->pipe_crc);
 
@@ -451,7 +451,7 @@ static void coverage_premult_constant(data_t *data, enum pipe pipe, igt_plane_t
 	if (plane->type != DRM_PLANE_TYPE_PRIMARY)
 		igt_plane_set_fb(igt_pipe_get_plane_type(&display->pipes[pipe], DRM_PLANE_TYPE_PRIMARY), &data->gray_fb);
 
-	igt_plane_set_prop_enum(plane, IGT_PLANE_PIXEL_BLEND_MODE, "Coverage");
+	igt_require(igt_plane_try_prop_enum(plane, IGT_PLANE_PIXEL_BLEND_MODE, "Coverage"));
 	igt_plane_set_fb(plane, &data->argb_fb_cov_7e);
 	igt_display_commit2(display, COMMIT_ATOMIC);
 	igt_pipe_crc_start(data->pipe_crc);
author
#5 lore raw
Quoted 11 lines · Harry Wentland
Quoted 7 lines · Simon Ser

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.)

#6 lore raw
Quoted 14 lines · On Tue, 09 Nov 2021 22:16:25 +0000 Simon Ser <[email protected]> wrote:
Quoted 11 lines · Harry Wentland
Quoted 7 lines · Simon Ser

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.

Quoted 6 lines

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.)

Thanks for the cc, Simon!

Yes, Coverage is the only usable blending mode in KMS when you have an alpha channel and you don't want to mess up the colors. Unfortunately, one would also need plane-DEGAMMA to not mess up colors in blending, since blending with physical coverage semantics[1] only works with linear color values.

This is regardless of color management or not, it's just one necessary step towards better color. If one wanted to use pre-multiplied blending mode, the pre-multiplication would need to happen after plane-DEGAMMA (and plane-CTM if you use that). Then it's not really pre-multiplication, it's just the Coverage mode.

And yes, Wayland with color management extensions will encourage applications to use straight alpha instead of pre-multiplied, because plane-DEGAMMA on pre-multiplied values makes no sense. A compositor will need to undo pre-multiplication before it can do anything.

[1] http://ssp.impulsetrain.com/translucency.html

Thanks,
pq