Skip to contentSkip to conversation

kms_atomic_transition: Skip unsupported blocking transitions on MTK

PATCH Superseded Xiandong Wang 3 participants 4 messages Sep 8

lore
Share & tools
lore
#0 lore raw

v3 cover kms_atomic_transition: Skip unsupported blocking transitions on MTK

MTK DRM does not currently provide the immediate page-flip event or out-fence completion required by the blocking atomic-transition tests.

Skip only those blocking variants on MTK. The nonblocking variants and the separate modeset-transition tests remain enabled, so coverage for the supported paths is retained.

Changes in v3:
- Add the missing Signed-off-by trailer.

Changes in v2:
- Use the MediaTek author e-mail address.
- Fold commit-message body lines to 65 columns.

Xiandong Wang (1):
tests/kms_atomic_transition: Skip blocking transitions on MTK

 tests/kms_atomic_transition.c | 4 ++++
 1 file changed, 4 insertions(+)
Signature · 1 line
2.45.2
#1 lore raw

PATCH v3 1/1 tests/kms_atomic_transition: Skip blocking transitions on MTK

MTK blocking atomic transition commits do not satisfy the immediate page-flip event or out-fence completion check used by this test.

Keep nonblocking transition variants enabled and skip only the blocking transition variants on MTK. The separate modeset transition tests remain enabled.

This is a temporary test limitation until blocking atomic transition completion is supported by the MTK DRM driver.

---
 tests/kms_atomic_transition.c | 4 ++++
 1 file changed, 4 insertions(+)
tests/kms_atomic_transition.c +4 -0
index 37dc77c28..a05a98575 100644
@@ -1288,6 +1288,10 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
 
 		igt_describe(transition_tests[i].desc);
 		igt_subtest_with_dynamic_f("%s", transition_tests[i].name) {
+			igt_skip_on_f(is_mtk_device(data.drm_fd) &&
+				      !transition_tests[i].nonblocking,
+				      "MTK blocking atomic transition is currently unsupported\n");
+
 			pipe_count = 0;
 
 			for_each_crtc_with_valid_output(&data.display, crtc,
Signature · 1 line
2.45.2
Acked-by on v3 1/1
#2 lore raw

Re: [PATCH i-g-t v3] tests/kms_atomic_transition: Skip blocking transitions on MTK

Hi Xiandong,

Quoted 4 lines · Xiandong Wang

MTK blocking atomic transition commits do not satisfy the immediate page-flip event or out-fence completion check used by this test.

Quoted 8 lines

Keep nonblocking transition variants enabled and skip only the blocking transition variants on MTK. The separate modeset transition tests remain enabled.

This is a temporary test limitation until blocking atomic transition completion is supported by the MTK DRM driver.

LGTM

I will merge it soon, thank you for your contribution.

Regards,
Kamil

Quoted 22 lines
---
 tests/kms_atomic_transition.c | 4 ++++
 1 file changed, 4 insertions(+)
tests/kms_atomic_transition.c +4 -0
index 37dc77c28..a05a98575 100644
@@ -1288,6 +1288,10 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
 
 		igt_describe(transition_tests[i].desc);
 		igt_subtest_with_dynamic_f("%s", transition_tests[i].name) {
+			igt_skip_on_f(is_mtk_device(data.drm_fd) &&
+				      !transition_tests[i].nonblocking,
+				      "MTK blocking atomic transition is currently unsupported\n");
+
 			pipe_count = 0;
 
 			for_each_crtc_with_valid_output(&data.display, crtc,
Signature · 1 line
2.45.2