* [igt-dev] [PATCH i-g-t 1/3] tests/kms_plane_scaling: negative tests can return -EINVAL or -ERANGE
@ 2023-04-24 18:33 Maíra Canal
2023-04-24 18:33 ` [igt-dev] [PATCH i-g-t 2/3] tests/kms_plane_scaling: fix variable misspelling Maíra Canal
` (4 more replies)
0 siblings, 5 replies; 8+ messages in thread
From: Maíra Canal @ 2023-04-24 18:33 UTC (permalink / raw)
To: Melissa Wen, Petri Latvala, Kamil Konieczny, Juha-Pekka Heikkila,
Swati Sharma
Cc: igt-dev
Similar to the subtest invalid-parameters, when the display commit fails
due to invalid parameters, the commit can return -EINVAL ou -ERANGE, not
only -EINVAL.
Fixes: 2372a4beb ("tests/kms_plane_scaling: Add negative test to check num of scalers")
Signed-off-by: Maíra Canal <mcanal@igalia.com>
---
tests/kms_plane_scaling.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
index 5008cd93..302fffcd 100644
--- a/tests/kms_plane_scaling.c
+++ b/tests/kms_plane_scaling.c
@@ -838,7 +838,7 @@ test_invalid_num_scalers(data_t *d, enum pipe pipe, igt_output_t *output)
* */
ret = igt_display_try_commit_atomic(display, DRM_MODE_ATOMIC_ALLOW_MODESET, NULL);
igt_skip_on_f(ret == 0, "Cannot test handling of too many scaling ops, the device supports a large amount.\n");
- igt_assert_eq(ret, -EINVAL);
+ igt_assert(ret == -EINVAL || ret == -ERANGE);
/* cleanup */
igt_plane_set_fb(plane[0], NULL);
--
2.40.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [igt-dev] [PATCH i-g-t 2/3] tests/kms_plane_scaling: fix variable misspelling
2023-04-24 18:33 [igt-dev] [PATCH i-g-t 1/3] tests/kms_plane_scaling: negative tests can return -EINVAL or -ERANGE Maíra Canal
@ 2023-04-24 18:33 ` Maíra Canal
2023-04-25 7:55 ` Kamil Konieczny
2023-04-24 18:34 ` [igt-dev] [PATCH i-g-t 3/3] tests/kms_plane_scaling: remove unused parameters Maíra Canal
` (3 subsequent siblings)
4 siblings, 1 reply; 8+ messages in thread
From: Maíra Canal @ 2023-04-24 18:33 UTC (permalink / raw)
To: Melissa Wen, Petri Latvala, Kamil Konieczny, Juha-Pekka Heikkila,
Swati Sharma
Cc: igt-dev
As the function test_scaler_with_multi_pipe_plane() intends to test two
planes, it is necessary to check the output of both planes, not only
one. Therefore, instead of checking the variable ret1 twice, check the
variable ret2.
Fixes: 56bedcde ("tests/kms_plane_scaling: Cleanup")
Signed-off-by: Maíra Canal <mcanal@igalia.com>
---
tests/kms_plane_scaling.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
index 302fffcd..7f5cb00d 100644
--- a/tests/kms_plane_scaling.c
+++ b/tests/kms_plane_scaling.c
@@ -926,7 +926,7 @@ static void test_scaler_with_multi_pipe_plane(data_t *d)
cleanup_fbs(d);
igt_skip_on_f(ret1 == -ERANGE || ret1 == -EINVAL ||
- ret2 == -ERANGE || ret1 == -EINVAL,
+ ret2 == -ERANGE || ret2 == -EINVAL,
"Scaling op is not supported by driver\n");
igt_assert_eq(ret1 && ret2, 0);
}
--
2.40.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [igt-dev] [PATCH i-g-t 3/3] tests/kms_plane_scaling: remove unused parameters
2023-04-24 18:33 [igt-dev] [PATCH i-g-t 1/3] tests/kms_plane_scaling: negative tests can return -EINVAL or -ERANGE Maíra Canal
2023-04-24 18:33 ` [igt-dev] [PATCH i-g-t 2/3] tests/kms_plane_scaling: fix variable misspelling Maíra Canal
@ 2023-04-24 18:34 ` Maíra Canal
2023-04-25 9:09 ` Kamil Konieczny
2023-04-24 19:50 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/3] tests/kms_plane_scaling: negative tests can return -EINVAL or -ERANGE Patchwork
` (2 subsequent siblings)
4 siblings, 1 reply; 8+ messages in thread
From: Maíra Canal @ 2023-04-24 18:34 UTC (permalink / raw)
To: Melissa Wen, Petri Latvala, Kamil Konieczny, Juha-Pekka Heikkila,
Swati Sharma
Cc: igt-dev
Commit 1b9ca59a ("tests/kms_plane_scaling: reduce work on framebuffer
creation") changed the colored framebuffer to blank framebuffers.
Therefore, there is no need to pass the RGB colors as parameters to the
function setup_fb(), as it only creates a blank framebuffer.
Fixes: 1b9ca59a ("tests/kms_plane_scaling: reduce work on framebuffer creation")
Signed-off-by: Maíra Canal <mcanal@igalia.com>
---
tests/kms_plane_scaling.c | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
index 7f5cb00d..19528a40 100644
--- a/tests/kms_plane_scaling.c
+++ b/tests/kms_plane_scaling.c
@@ -715,9 +715,7 @@ __test_planes_scaling_combo(data_t *d, int w1, int h1, int w2, int h2,
igt_assert_eq(ret, 0);
}
-static void setup_fb(int fd, int width, int height,
- double r, double g, double b,
- struct igt_fb *fb)
+static void setup_fb(int fd, int width, int height, struct igt_fb *fb)
{
igt_create_fb(fd, width, height,
DRM_FORMAT_XRGB8888,
@@ -744,20 +742,20 @@ test_planes_scaling_combo(data_t *d, int w1, int h1, int w2, int h2,
switch (test_type) {
case TEST_PLANES_UPSCALE:
- setup_fb(display->drm_fd, w1, h1, 1.0, 0.0, 0.0, &d->fb[1]);
- setup_fb(display->drm_fd, w2, h2, 0.0, 1.0, 0.0, &d->fb[2]);
+ setup_fb(display->drm_fd, w1, h1, &d->fb[1]);
+ setup_fb(display->drm_fd, w2, h2, &d->fb[2]);
break;
case TEST_PLANES_DOWNSCALE:
- setup_fb(display->drm_fd, mode->hdisplay, mode->vdisplay, 1.0, 0.0, 0.0, &d->fb[1]);
- setup_fb(display->drm_fd, mode->hdisplay, mode->vdisplay, 0.0, 1.0, 0.0, &d->fb[2]);
+ setup_fb(display->drm_fd, mode->hdisplay, mode->vdisplay, &d->fb[1]);
+ setup_fb(display->drm_fd, mode->hdisplay, mode->vdisplay, &d->fb[2]);
break;
case TEST_PLANES_UPSCALE_DOWNSCALE:
- setup_fb(display->drm_fd, w1, h1, 1.0, 0.0, 0.0, &d->fb[1]);
- setup_fb(display->drm_fd, mode->hdisplay, mode->vdisplay, 0.0, 1.0, 0.0, &d->fb[2]);
+ setup_fb(display->drm_fd, w1, h1, &d->fb[1]);
+ setup_fb(display->drm_fd, mode->hdisplay, mode->vdisplay, &d->fb[2]);
break;
case TEST_PLANES_DOWNSCALE_UPSCALE:
- setup_fb(display->drm_fd, mode->hdisplay, mode->vdisplay, 1.0, 0.0, 0.0, &d->fb[1]);
- setup_fb(display->drm_fd, w2, h2, 0.0, 1.0, 0.0, &d->fb[2]);
+ setup_fb(display->drm_fd, mode->hdisplay, mode->vdisplay, &d->fb[1]);
+ setup_fb(display->drm_fd, w2, h2, &d->fb[2]);
break;
default:
igt_assert(0);
--
2.40.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/3] tests/kms_plane_scaling: negative tests can return -EINVAL or -ERANGE
2023-04-24 18:33 [igt-dev] [PATCH i-g-t 1/3] tests/kms_plane_scaling: negative tests can return -EINVAL or -ERANGE Maíra Canal
2023-04-24 18:33 ` [igt-dev] [PATCH i-g-t 2/3] tests/kms_plane_scaling: fix variable misspelling Maíra Canal
2023-04-24 18:34 ` [igt-dev] [PATCH i-g-t 3/3] tests/kms_plane_scaling: remove unused parameters Maíra Canal
@ 2023-04-24 19:50 ` Patchwork
2023-04-25 0:23 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-04-25 9:00 ` [igt-dev] [PATCH i-g-t 1/3] " Kamil Konieczny
4 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2023-04-24 19:50 UTC (permalink / raw)
To: Maíra Canal; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 3837 bytes --]
== Series Details ==
Series: series starting with [i-g-t,1/3] tests/kms_plane_scaling: negative tests can return -EINVAL or -ERANGE
URL : https://patchwork.freedesktop.org/series/116907/
State : success
== Summary ==
CI Bug Log - changes from IGT_7267 -> IGTPW_8851
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/index.html
Participating hosts (39 -> 36)
------------------------------
Missing (3): bat-mtlp-8 fi-snb-2520m fi-bsw-n3050
Known issues
------------
Here are the changes found in IGTPW_8851 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s3@smem:
- bat-rpls-1: [PASS][1] -> [ABORT][2] ([i915#6687] / [i915#7978])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7267/bat-rpls-1/igt@gem_exec_suspend@basic-s3@smem.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/bat-rpls-1/igt@gem_exec_suspend@basic-s3@smem.html
* igt@i915_selftest@live@gt_heartbeat:
- fi-kbl-soraka: [PASS][3] -> [DMESG-FAIL][4] ([i915#5334] / [i915#7872])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7267/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html
* igt@i915_selftest@live@migrate:
- bat-adlp-9: [PASS][5] -> [DMESG-FAIL][6] ([i915#7699])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7267/bat-adlp-9/igt@i915_selftest@live@migrate.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/bat-adlp-9/igt@i915_selftest@live@migrate.html
- bat-adlp-6: [PASS][7] -> [DMESG-FAIL][8] ([i915#7699])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7267/bat-adlp-6/igt@i915_selftest@live@migrate.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/bat-adlp-6/igt@i915_selftest@live@migrate.html
* igt@kms_pipe_crc_basic@nonblocking-crc@pipe-d-dp-1:
- bat-dg2-8: [PASS][9] -> [FAIL][10] ([i915#7932]) +1 similar issue
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7267/bat-dg2-8/igt@kms_pipe_crc_basic@nonblocking-crc@pipe-d-dp-1.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/bat-dg2-8/igt@kms_pipe_crc_basic@nonblocking-crc@pipe-d-dp-1.html
#### Possible fixes ####
* igt@i915_selftest@live@gt_heartbeat:
- fi-rkl-11600: [DMESG-FAIL][11] ([i915#5334]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7267/fi-rkl-11600/igt@i915_selftest@live@gt_heartbeat.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/fi-rkl-11600/igt@i915_selftest@live@gt_heartbeat.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699
[i915#7872]: https://gitlab.freedesktop.org/drm/intel/issues/7872
[i915#7932]: https://gitlab.freedesktop.org/drm/intel/issues/7932
[i915#7978]: https://gitlab.freedesktop.org/drm/intel/issues/7978
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7267 -> IGTPW_8851
CI-20190529: 20190529
CI_DRM_13054: 8cabe2adb8e028197f9535daffd3d5ff98d51d8b @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8851: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/index.html
IGT_7267: a267f0236e06fc282e3dc3b8c7d76f9ed6088d9b @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/index.html
[-- Attachment #2: Type: text/html, Size: 4702 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/3] tests/kms_plane_scaling: negative tests can return -EINVAL or -ERANGE
2023-04-24 18:33 [igt-dev] [PATCH i-g-t 1/3] tests/kms_plane_scaling: negative tests can return -EINVAL or -ERANGE Maíra Canal
` (2 preceding siblings ...)
2023-04-24 19:50 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/3] tests/kms_plane_scaling: negative tests can return -EINVAL or -ERANGE Patchwork
@ 2023-04-25 0:23 ` Patchwork
2023-04-25 9:00 ` [igt-dev] [PATCH i-g-t 1/3] " Kamil Konieczny
4 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2023-04-25 0:23 UTC (permalink / raw)
To: Maíra Canal; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 15546 bytes --]
== Series Details ==
Series: series starting with [i-g-t,1/3] tests/kms_plane_scaling: negative tests can return -EINVAL or -ERANGE
URL : https://patchwork.freedesktop.org/series/116907/
State : success
== Summary ==
CI Bug Log - changes from IGT_7267_full -> IGTPW_8851_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/index.html
Participating hosts (8 -> 7)
------------------------------
Missing (1): shard-rkl0
Known issues
------------
Here are the changes found in IGTPW_8851_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_persistence@engines-cleanup:
- shard-snb: NOTRUN -> [SKIP][1] ([fdo#109271] / [i915#1099])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/shard-snb5/igt@gem_ctx_persistence@engines-cleanup.html
* igt@gem_exec_fair@basic-deadline:
- shard-glk: [PASS][2] -> [FAIL][3] ([i915#2846])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7267/shard-glk9/igt@gem_exec_fair@basic-deadline.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/shard-glk5/igt@gem_exec_fair@basic-deadline.html
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [PASS][4] -> [FAIL][5] ([i915#2842]) +3 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7267/shard-glk4/igt@gem_exec_fair@basic-pace-share@rcs0.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/shard-glk9/igt@gem_exec_fair@basic-pace-share@rcs0.html
* igt@gen9_exec_parse@allowed-single:
- shard-glk: [PASS][6] -> [ABORT][7] ([i915#5566])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7267/shard-glk1/igt@gen9_exec_parse@allowed-single.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/shard-glk8/igt@gen9_exec_parse@allowed-single.html
* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip:
- shard-apl: NOTRUN -> [SKIP][8] ([fdo#109271]) +5 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/shard-apl7/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip.html
* igt@kms_ccs@pipe-c-random-ccs-data-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][9] ([fdo#109271] / [i915#3886])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/shard-apl2/igt@kms_ccs@pipe-c-random-ccs-data-y_tiled_gen12_mc_ccs.html
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-glk: [PASS][10] -> [FAIL][11] ([i915#2346])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7267/shard-glk9/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/shard-glk2/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
- shard-apl: [PASS][12] -> [FAIL][13] ([i915#2346])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7267/shard-apl4/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/shard-apl2/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
* igt@kms_flip@flip-vs-suspend@b-dp1:
- shard-apl: [PASS][14] -> [ABORT][15] ([i915#180])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7267/shard-apl1/igt@kms_flip@flip-vs-suspend@b-dp1.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/shard-apl1/igt@kms_flip@flip-vs-suspend@b-dp1.html
* igt@kms_frontbuffer_tracking@fbcpsr-rgb101010-draw-blt:
- shard-snb: NOTRUN -> [SKIP][16] ([fdo#109271]) +83 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/shard-snb5/igt@kms_frontbuffer_tracking@fbcpsr-rgb101010-draw-blt.html
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area:
- shard-apl: NOTRUN -> [SKIP][17] ([fdo#109271] / [i915#658])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/shard-apl3/igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area.html
#### Possible fixes ####
* igt@gem_exec_fair@basic-deadline:
- {shard-rkl}: [FAIL][18] ([i915#2846]) -> [PASS][19]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7267/shard-rkl-2/igt@gem_exec_fair@basic-deadline.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/shard-rkl-2/igt@gem_exec_fair@basic-deadline.html
- shard-apl: [FAIL][20] ([i915#2846]) -> [PASS][21]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7267/shard-apl3/igt@gem_exec_fair@basic-deadline.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/shard-apl7/igt@gem_exec_fair@basic-deadline.html
* igt@gem_exec_fair@basic-none@vecs0:
- {shard-rkl}: [FAIL][22] ([i915#2842]) -> [PASS][23] +1 similar issue
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7267/shard-rkl-7/igt@gem_exec_fair@basic-none@vecs0.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/shard-rkl-6/igt@gem_exec_fair@basic-none@vecs0.html
* igt@i915_pm_rps@reset:
- shard-snb: [INCOMPLETE][24] ([i915#7790]) -> [PASS][25]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7267/shard-snb1/igt@i915_pm_rps@reset.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/shard-snb1/igt@i915_pm_rps@reset.html
* igt@kms_cursor_legacy@single-move@pipe-b:
- {shard-rkl}: [INCOMPLETE][26] ([i915#8011]) -> [PASS][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7267/shard-rkl-7/igt@kms_cursor_legacy@single-move@pipe-b.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/shard-rkl-4/igt@kms_cursor_legacy@single-move@pipe-b.html
* igt@kms_flip@2x-flip-vs-expired-vblank@ab-hdmi-a1-hdmi-a2:
- shard-glk: [FAIL][28] ([i915#79]) -> [PASS][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7267/shard-glk6/igt@kms_flip@2x-flip-vs-expired-vblank@ab-hdmi-a1-hdmi-a2.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/shard-glk7/igt@kms_flip@2x-flip-vs-expired-vblank@ab-hdmi-a1-hdmi-a2.html
* igt@kms_flip@flip-vs-suspend-interruptible@b-dp1:
- shard-apl: [ABORT][30] ([i915#180]) -> [PASS][31]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7267/shard-apl2/igt@kms_flip@flip-vs-suspend-interruptible@b-dp1.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/shard-apl7/igt@kms_flip@flip-vs-suspend-interruptible@b-dp1.html
* igt@kms_rotation_crc@primary-y-tiled-reflect-x-180:
- {shard-rkl}: [ABORT][32] ([i915#8311]) -> [PASS][33]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7267/shard-rkl-2/igt@kms_rotation_crc@primary-y-tiled-reflect-x-180.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/shard-rkl-2/igt@kms_rotation_crc@primary-y-tiled-reflect-x-180.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109307]: https://bugs.freedesktop.org/show_bug.cgi?id=109307
[fdo#109312]: https://bugs.freedesktop.org/show_bug.cgi?id=109312
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1099]: https://gitlab.freedesktop.org/drm/intel/issues/1099
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#1937]: https://gitlab.freedesktop.org/drm/intel/issues/1937
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2846]: https://gitlab.freedesktop.org/drm/intel/issues/2846
[i915#3023]: https://gitlab.freedesktop.org/drm/intel/issues/3023
[i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3361]: https://gitlab.freedesktop.org/drm/intel/issues/3361
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
[i915#3743]: https://gitlab.freedesktop.org/drm/intel/issues/3743
[i915#3778]: https://gitlab.freedesktop.org/drm/intel/issues/3778
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3952]: https://gitlab.freedesktop.org/drm/intel/issues/3952
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#3989]: https://gitlab.freedesktop.org/drm/intel/issues/3989
[i915#4036]: https://gitlab.freedesktop.org/drm/intel/issues/4036
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4816]: https://gitlab.freedesktop.org/drm/intel/issues/4816
[i915#4818]: https://gitlab.freedesktop.org/drm/intel/issues/4818
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4884]: https://gitlab.freedesktop.org/drm/intel/issues/4884
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5431]: https://gitlab.freedesktop.org/drm/intel/issues/5431
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6227]: https://gitlab.freedesktop.org/drm/intel/issues/6227
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
[i915#6953]: https://gitlab.freedesktop.org/drm/intel/issues/6953
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697
[i915#7707]: https://gitlab.freedesktop.org/drm/intel/issues/7707
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
[i915#7790]: https://gitlab.freedesktop.org/drm/intel/issues/7790
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#7975]: https://gitlab.freedesktop.org/drm/intel/issues/7975
[i915#7984]: https://gitlab.freedesktop.org/drm/intel/issues/7984
[i915#8011]: https://gitlab.freedesktop.org/drm/intel/issues/8011
[i915#8150]: https://gitlab.freedesktop.org/drm/intel/issues/8150
[i915#8213]: https://gitlab.freedesktop.org/drm/intel/issues/8213
[i915#8247]: https://gitlab.freedesktop.org/drm/intel/issues/8247
[i915#8311]: https://gitlab.freedesktop.org/drm/intel/issues/8311
[i915#8381]: https://gitlab.freedesktop.org/drm/intel/issues/8381
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7267 -> IGTPW_8851
CI-20190529: 20190529
CI_DRM_13054: 8cabe2adb8e028197f9535daffd3d5ff98d51d8b @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8851: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/index.html
IGT_7267: a267f0236e06fc282e3dc3b8c7d76f9ed6088d9b @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8851/index.html
[-- Attachment #2: Type: text/html, Size: 10155 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [igt-dev] [PATCH i-g-t 2/3] tests/kms_plane_scaling: fix variable misspelling
2023-04-24 18:33 ` [igt-dev] [PATCH i-g-t 2/3] tests/kms_plane_scaling: fix variable misspelling Maíra Canal
@ 2023-04-25 7:55 ` Kamil Konieczny
0 siblings, 0 replies; 8+ messages in thread
From: Kamil Konieczny @ 2023-04-25 7:55 UTC (permalink / raw)
To: igt-dev
Hi,
On 2023-04-24 at 15:33:59 -0300, Maíra Canal wrote:
> As the function test_scaler_with_multi_pipe_plane() intends to test two
> planes, it is necessary to check the output of both planes, not only
> one. Therefore, instead of checking the variable ret1 twice, check the
> variable ret2.
>
> Fixes: 56bedcde ("tests/kms_plane_scaling: Cleanup")
> Signed-off-by: Maíra Canal <mcanal@igalia.com>
> ---
> tests/kms_plane_scaling.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
> index 302fffcd..7f5cb00d 100644
> --- a/tests/kms_plane_scaling.c
> +++ b/tests/kms_plane_scaling.c
> @@ -926,7 +926,7 @@ static void test_scaler_with_multi_pipe_plane(data_t *d)
> cleanup_fbs(d);
>
> igt_skip_on_f(ret1 == -ERANGE || ret1 == -EINVAL ||
> - ret2 == -ERANGE || ret1 == -EINVAL,
> + ret2 == -ERANGE || ret2 == -EINVAL,
Good catch, thank you for the fix,
Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
> "Scaling op is not supported by driver\n");
> igt_assert_eq(ret1 && ret2, 0);
> }
> --
> 2.40.0
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [igt-dev] [PATCH i-g-t 1/3] tests/kms_plane_scaling: negative tests can return -EINVAL or -ERANGE
2023-04-24 18:33 [igt-dev] [PATCH i-g-t 1/3] tests/kms_plane_scaling: negative tests can return -EINVAL or -ERANGE Maíra Canal
` (3 preceding siblings ...)
2023-04-25 0:23 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
@ 2023-04-25 9:00 ` Kamil Konieczny
4 siblings, 0 replies; 8+ messages in thread
From: Kamil Konieczny @ 2023-04-25 9:00 UTC (permalink / raw)
To: igt-dev
On 2023-04-24 at 15:33:58 -0300, Maíra Canal wrote:
> Similar to the subtest invalid-parameters, when the display commit fails
> due to invalid parameters, the commit can return -EINVAL ou -ERANGE, not
> only -EINVAL.
>
> Fixes: 2372a4beb ("tests/kms_plane_scaling: Add negative test to check num of scalers")
> Signed-off-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
> ---
> tests/kms_plane_scaling.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
> index 5008cd93..302fffcd 100644
> --- a/tests/kms_plane_scaling.c
> +++ b/tests/kms_plane_scaling.c
> @@ -838,7 +838,7 @@ test_invalid_num_scalers(data_t *d, enum pipe pipe, igt_output_t *output)
> * */
> ret = igt_display_try_commit_atomic(display, DRM_MODE_ATOMIC_ALLOW_MODESET, NULL);
> igt_skip_on_f(ret == 0, "Cannot test handling of too many scaling ops, the device supports a large amount.\n");
> - igt_assert_eq(ret, -EINVAL);
> + igt_assert(ret == -EINVAL || ret == -ERANGE);
>
> /* cleanup */
> igt_plane_set_fb(plane[0], NULL);
> --
> 2.40.0
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [igt-dev] [PATCH i-g-t 3/3] tests/kms_plane_scaling: remove unused parameters
2023-04-24 18:34 ` [igt-dev] [PATCH i-g-t 3/3] tests/kms_plane_scaling: remove unused parameters Maíra Canal
@ 2023-04-25 9:09 ` Kamil Konieczny
0 siblings, 0 replies; 8+ messages in thread
From: Kamil Konieczny @ 2023-04-25 9:09 UTC (permalink / raw)
To: igt-dev
On 2023-04-24 at 15:34:00 -0300, Maíra Canal wrote:
> Commit 1b9ca59a ("tests/kms_plane_scaling: reduce work on framebuffer
> creation") changed the colored framebuffer to blank framebuffers.
> Therefore, there is no need to pass the RGB colors as parameters to the
> function setup_fb(), as it only creates a blank framebuffer.
>
> Fixes: 1b9ca59a ("tests/kms_plane_scaling: reduce work on framebuffer creation")
> Signed-off-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
> ---
> tests/kms_plane_scaling.c | 20 +++++++++-----------
> 1 file changed, 9 insertions(+), 11 deletions(-)
>
> diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
> index 7f5cb00d..19528a40 100644
> --- a/tests/kms_plane_scaling.c
> +++ b/tests/kms_plane_scaling.c
> @@ -715,9 +715,7 @@ __test_planes_scaling_combo(data_t *d, int w1, int h1, int w2, int h2,
> igt_assert_eq(ret, 0);
> }
>
> -static void setup_fb(int fd, int width, int height,
> - double r, double g, double b,
> - struct igt_fb *fb)
> +static void setup_fb(int fd, int width, int height, struct igt_fb *fb)
> {
> igt_create_fb(fd, width, height,
> DRM_FORMAT_XRGB8888,
> @@ -744,20 +742,20 @@ test_planes_scaling_combo(data_t *d, int w1, int h1, int w2, int h2,
>
> switch (test_type) {
> case TEST_PLANES_UPSCALE:
> - setup_fb(display->drm_fd, w1, h1, 1.0, 0.0, 0.0, &d->fb[1]);
> - setup_fb(display->drm_fd, w2, h2, 0.0, 1.0, 0.0, &d->fb[2]);
> + setup_fb(display->drm_fd, w1, h1, &d->fb[1]);
> + setup_fb(display->drm_fd, w2, h2, &d->fb[2]);
> break;
> case TEST_PLANES_DOWNSCALE:
> - setup_fb(display->drm_fd, mode->hdisplay, mode->vdisplay, 1.0, 0.0, 0.0, &d->fb[1]);
> - setup_fb(display->drm_fd, mode->hdisplay, mode->vdisplay, 0.0, 1.0, 0.0, &d->fb[2]);
> + setup_fb(display->drm_fd, mode->hdisplay, mode->vdisplay, &d->fb[1]);
> + setup_fb(display->drm_fd, mode->hdisplay, mode->vdisplay, &d->fb[2]);
> break;
> case TEST_PLANES_UPSCALE_DOWNSCALE:
> - setup_fb(display->drm_fd, w1, h1, 1.0, 0.0, 0.0, &d->fb[1]);
> - setup_fb(display->drm_fd, mode->hdisplay, mode->vdisplay, 0.0, 1.0, 0.0, &d->fb[2]);
> + setup_fb(display->drm_fd, w1, h1, &d->fb[1]);
> + setup_fb(display->drm_fd, mode->hdisplay, mode->vdisplay, &d->fb[2]);
> break;
> case TEST_PLANES_DOWNSCALE_UPSCALE:
> - setup_fb(display->drm_fd, mode->hdisplay, mode->vdisplay, 1.0, 0.0, 0.0, &d->fb[1]);
> - setup_fb(display->drm_fd, w2, h2, 0.0, 1.0, 0.0, &d->fb[2]);
> + setup_fb(display->drm_fd, mode->hdisplay, mode->vdisplay, &d->fb[1]);
> + setup_fb(display->drm_fd, w2, h2, &d->fb[2]);
> break;
> default:
> igt_assert(0);
> --
> 2.40.0
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-04-25 9:09 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-24 18:33 [igt-dev] [PATCH i-g-t 1/3] tests/kms_plane_scaling: negative tests can return -EINVAL or -ERANGE Maíra Canal
2023-04-24 18:33 ` [igt-dev] [PATCH i-g-t 2/3] tests/kms_plane_scaling: fix variable misspelling Maíra Canal
2023-04-25 7:55 ` Kamil Konieczny
2023-04-24 18:34 ` [igt-dev] [PATCH i-g-t 3/3] tests/kms_plane_scaling: remove unused parameters Maíra Canal
2023-04-25 9:09 ` Kamil Konieczny
2023-04-24 19:50 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/3] tests/kms_plane_scaling: negative tests can return -EINVAL or -ERANGE Patchwork
2023-04-25 0:23 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-04-25 9:00 ` [igt-dev] [PATCH i-g-t 1/3] " Kamil Konieczny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox