tests/kms_setmode: Fix mode selection for Nx tests
PATCH 1/1 tests/kms_setmode: Fix mode selection for Nx tests
This patch will find the connector/mode combination that fits into the bandwidth when more than one monitor is connected.
Example:
When two monitors connected through MST, the second monitor also tries to use the same mode. So two such modes may not fit into the link bandwidth. So, iterate through connected outputs & modes and find a combination of modes those fit into the link BW.
--- tests/kms_setmode.c | 95 ++++++++++++++++++++++++++++++++------------- 1 file changed, 68 insertions(+), 27 deletions(-)
tests/kms_setmode.c +68 -27
@@ -46,6 +46,9 @@ static int filter_test_id;static bool dry_run;static bool all_pipes = false; +static char str_buf[MAX_CRTCS ][1024 ]; +static const char *crtc_strs[MAX_CRTCS ]; +const drmModeModeInfo mode_640_480 = { .name ="640x480" , .vrefresh =60 ,
@@ -540,44 +543,46 @@ static void check_timings(int crtc_idx, const drmModeModeInfo *kmode) fabs(mean - expected) / line_time(kmode)); } -static void test_crtc_config (const struct test_config *tconf, -struct crtc_config *crtcs,int crtc_count) +static int sort_drm_modes (const void *a,const void *b) { -char str_buf[MAX_CRTCS ][1024 ]; -const char *crtc_strs[MAX_CRTCS ]; -struct crtc_config *crtc; -static int test_id; -bool config_failed = false; -int ret =0 ; -int i; +const drmModeModeInfo *mode1 = a, *mode2 = b; - test_id++; +return (mode1->clock < mode2->clock) - (mode2->clock < mode1->clock); +} -if (filter_test_id && filter_test_id != test_id) -return ; +static +int __test_crtc_config (struct crtc_config *crtcs,int crtc_count, +const struct test_config *tconf,bool *config_failed, +int base) +{ +struct crtc_config *crtc =NULL ; +int ret =0 ; -igt_info (" Test id#%d CRTC count %d\n" , test_id, crtc_count); +if (base >= crtc_count) +return ret; -for (i =0 ; i < crtc_count; i++) { -get_crtc_config_str (&crtcs[i], str_buf[i],sizeof (str_buf[i])); - crtc_strs[i] = &str_buf[i][0 ]; - } + crtc = &crtcs[base]; -if (dry_run) { -for (i =0 ; i < crtc_count; i++) -igt_info (" %s\n" , crtc_strs[i]); -return ; - } +/* Sort the modes in descending order by clock freq. */ +qsort (crtc->cconfs->connector->modes, + crtc->cconfs->connector->count_modes, +sizeof (drmModeModeInfo), + sort_drm_modes); -for (i =0 ; i < crtc_count; i++) { +for (int i =0 ; i < crtc->cconfs->connector->count_modes; i++) {uint32_t *ids; - crtc = &crtcs[i]; +if (!crtc_supports_mode (crtc, &crtc->cconfs->connector->modes[i])) +continue ; + + crtc->mode = crtc->cconfs->connector->modes[i]; -igt_info (" %s\n" , crtc_strs[i]); +get_crtc_config_str (crtc, str_buf[base],sizeof (str_buf[base])); + crtc_strs[base] = &str_buf[base][0 ]; +igt_info (" %s\n" , crtc_strs[base]);create_fb_for_crtc (crtc, &crtc->fb_info); -paint_fb (&crtc->fb_info, tconf->name, crtc_strs, crtc_count, i); +paint_fb (&crtc->fb_info, tconf->name, crtc_strs, crtc_count, base); ids =get_connector_ids (crtc);if (tconf->flags &TEST_STEALING )
@@ -589,12 +594,48 @@ static void test_crtc_config(const struct test_config *tconf,free (ids); +if (ret <0 && errno ==ENOSPC ) +continue ; +if (ret <0 ) {igt_assert_eq (errno,EINVAL ); - config_failed = true; + *config_failed = true; } + +return __test_crtc_config (crtcs, crtc_count, tconf, config_failed, base +1 ); + } + +return ret; +} + +static void test_crtc_config (const struct test_config *tconf, +struct crtc_config *crtcs,int crtc_count) +{ +static int test_id; +bool config_failed = false; +int ret =0 ; +int i; + + test_id++; + +if (filter_test_id && filter_test_id != test_id) +return ; + +igt_info (" Test id#%d CRTC count %d\n" , test_id, crtc_count); + +for (i =0 ; i < crtc_count; i++) { +get_crtc_config_str (&crtcs[i], str_buf[i],sizeof (str_buf[i])); + crtc_strs[i] = &str_buf[i][0 ]; } +if (dry_run) { +for (i =0 ; i < crtc_count; i++) +igt_info (" %s\n" , crtc_strs[i]); +return ; + } + + ret =__test_crtc_config (crtcs, crtc_count, tconf, &config_failed,0 ); +igt_assert (config_failed == !!(tconf->flags &TEST_INVALID ));if (ret ==0 && tconf->flags &TEST_TIMINGS )
Signature · 6 lines
2.20.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for tests/kms_setmode: Fix mode selection for Nx tests
== Series Details ==
== Series Details ==
Series: tests/kms_setmode: Fix mode selection for Nx tests
URL : https://patchwork.freedesktop.org/series/90525/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10130 -> IGTPW_5847
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/index.html
Known issues
------------
Here are the changes found in IGTPW_5847 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@core_hotunplug@unbind-rebind:
- fi-tgl-y: [PASS][1] -> [DMESG-WARN][2] ([i915#1982])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-tgl-y/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/fi-tgl-y/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- fi-tgl-u2: [PASS][3] -> [FAIL][4] ([i915#2416])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-tgl-u2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/fi-tgl-u2/igt@[email protected]
#### Warnings ####
* igt@runner@aborted:
- fi-skl-6600u: [FAIL][5] ([i915#1436] / [i915#3363]) -> [FAIL][6] ([i915#1436] / [i915#2426] / [i915#3363])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-skl-6600u/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/fi-skl-6600u/igt@[email protected]
- fi-bdw-5557u: [FAIL][7] ([i915#2426] / [i915#3462]) -> [FAIL][8] ([i915#3462])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-bdw-5557u/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/fi-bdw-5557u/igt@[email protected]
- fi-kbl-soraka: [FAIL][9] ([i915#1436] / [i915#2426] / [i915#3363]) -> [FAIL][10] ([i915#1436] / [i915#3363])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-kbl-soraka/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/fi-kbl-soraka/igt@[email protected]
- fi-kbl-guc: [FAIL][11] ([i915#1436] / [i915#3363]) -> [FAIL][12] ([i915#1436] / [i915#2426] / [i915#3363])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-kbl-guc/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/fi-kbl-guc/igt@[email protected]
- fi-cml-u2: [FAIL][13] ([i915#2082] / [i915#2426] / [i915#3363] / [i915#3462]) -> [FAIL][14] ([i915#3363] / [i915#3462])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-cml-u2/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/fi-cml-u2/igt@[email protected]
- fi-cfl-guc: [FAIL][15] ([i915#2426] / [i915#3363]) -> [FAIL][16] ([i915#3363])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-cfl-guc/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/fi-cfl-guc/igt@[email protected]
- fi-kbl-7567u: [FAIL][17] ([i915#1436] / [i915#3363]) -> [FAIL][18] ([i915#1436] / [i915#2426] / [i915#3363])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-kbl-7567u/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/fi-kbl-7567u/igt@[email protected]
- fi-skl-guc: [FAIL][19] ([i915#1436] / [i915#3363]) -> [FAIL][20] ([i915#1436] / [i915#2426] / [i915#3363])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-skl-guc/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/fi-skl-guc/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2082]: https://gitlab.freedesktop.org/drm/intel/issues/2082
[i915#2416]: https://gitlab.freedesktop.org/drm/intel/issues/2416
[i915#2426]: https://gitlab.freedesktop.org/drm/intel/issues/2426
[i915#2932]: https://gitlab.freedesktop.org/drm/intel/issues/2932
[i915#2966]: https://gitlab.freedesktop.org/drm/intel/issues/2966
[i915#3363]: https://gitlab.freedesktop.org/drm/intel/issues/3363
[i915#3462]: https://gitlab.freedesktop.org/drm/intel/issues/3462
Participating hosts (47 -> 40)
------------------------------
Missing (7): fi-rkl-11500t fi-ilk-m540 fi-hsw-4200u fi-bsw-cyan fi-ctg-p8600 fi-dg1-1 fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_6092 -> IGTPW_5847
CI-20190529: 20190529
CI_DRM_10130: 54ed0641087e2c7c4f8693a10fc19fe91ec85dc9 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5847: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/index.html
IGT_6092: d87087c321da07035d4f96d98c34e451b3ccb809 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.IGT: success for tests/kms_setmode: Fix mode selection for Nx tests
In reply to Bhanuprakash Modem== Series Details ==
== Series Details ==
Series: tests/kms_setmode: Fix mode selection for Nx tests
URL : https://patchwork.freedesktop.org/series/90525/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10130_full -> IGTPW_5847_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/index.html
New tests
---------
New tests have been introduced between CI_DRM_10130_full and IGTPW_5847_full:
### New IGT tests (117) ###
* igt@gem_exec_balancer@hog:
- Statuses :
- Exec time: [None] s
* igt@gem_exec_balancer@sliced:
- Statuses : 5 pass(s) 1 skip(s)
- Exec time: [0.0, 4.61] s
* igt@gem_exec_endless@dispatch:
- Statuses : 1 skip(s)
- Exec time: [0.0] s
* igt@gem_exec_endless@dispatch@bcs0:
- Statuses : 2 pass(s) 2 skip(s)
- Exec time: [0.00] s
* igt@gem_exec_endless@dispatch@rcs0:
- Statuses : 4 pass(s)
- Exec time: [0.00, 0.01] s
* igt@gem_exec_endless@dispatch@vcs0:
- Statuses : 4 pass(s)
- Exec time: [0.00, 0.01] s
* igt@gem_exec_endless@dispatch@vcs1:
- Statuses : 1 pass(s)
- Exec time: [0.00] s
* igt@gem_exec_endless@dispatch@vecs0:
- Statuses : 4 pass(s)
- Exec time: [0.00, 0.01] s
* igt@gem_exec_reloc@basic-concurrent0:
- Statuses : 6 pass(s)
- Exec time: [5.39, 5.47] s
* igt@gem_exec_reloc@basic-concurrent16:
- Statuses :
- Exec time: [None] s
* igt@gem_exec_schedule@preempt-engines:
- Statuses :
- Exec time: [None] s
* igt@gem_exec_schedule@preempt-engines@bcs0:
- Statuses : 4 pass(s)
- Exec time: [0.08, 0.34] s
* igt@gem_exec_schedule@preempt-engines@rcs0:
- Statuses : 4 pass(s)
- Exec time: [0.09, 0.31] s
* igt@gem_exec_schedule@preempt-engines@vcs0:
- Statuses : 4 pass(s)
- Exec time: [0.08, 0.26] s
* igt@gem_exec_schedule@preempt-engines@vcs1:
- Statuses : 2 pass(s)
- Exec time: [0.09, 0.11] s
* igt@gem_exec_schedule@preempt-engines@vecs0:
- Statuses : 4 pass(s)
- Exec time: [0.08, 0.25] s
* igt@gem_exec_schedule@submit-early-slice:
- Statuses :
- Exec time: [None] s
* igt@gem_exec_schedule@submit-early-slice@bcs0:
- Statuses : 5 pass(s)
- Exec time: [0.02, 0.07] s
* igt@gem_exec_schedule@submit-early-slice@rcs0:
- Statuses : 5 pass(s)
- Exec time: [0.02, 0.08] s
* igt@gem_exec_schedule@submit-early-slice@vcs0:
- Statuses : 5 pass(s)
- Exec time: [0.03, 0.07] s
* igt@gem_exec_schedule@submit-early-slice@vcs1:
- Statuses : 2 pass(s)
- Exec time: [0.03] s
* igt@gem_exec_schedule@submit-early-slice@vecs0:
- Statuses : 5 pass(s)
- Exec time: [0.02, 0.07] s
* igt@gem_exec_schedule@submit-golden-slice:
- Statuses :
- Exec time: [None] s
* igt@gem_exec_schedule@submit-golden-slice@bcs0:
- Statuses : 4 pass(s)
- Exec time: [0.02, 0.04] s
* igt@gem_exec_schedule@submit-golden-slice@rcs0:
- Statuses : 4 pass(s)
- Exec time: [0.02, 0.05] s
* igt@gem_exec_schedule@submit-golden-slice@vcs0:
- Statuses : 4 pass(s)
- Exec time: [0.02, 0.04] s
* igt@gem_exec_schedule@submit-golden-slice@vcs1:
- Statuses : 2 pass(s)
- Exec time: [0.02, 0.03] s
* igt@gem_exec_schedule@submit-golden-slice@vecs0:
- Statuses : 4 pass(s)
- Exec time: [0.02, 0.05] s
* igt@gem_exec_schedule@submit-late-slice:
- Statuses : 1 skip(s)
- Exec time: [0.0] s
* igt@gem_exec_schedule@submit-late-slice@bcs0:
- Statuses : 5 pass(s)
- Exec time: [0.02, 0.06] s
* igt@gem_exec_schedule@submit-late-slice@rcs0:
- Statuses : 5 pass(s)
- Exec time: [0.02, 0.07] s
* igt@gem_exec_schedule@submit-late-slice@vcs0:
- Statuses : 5 pass(s)
- Exec time: [0.02, 0.06] s
* igt@gem_exec_schedule@submit-late-slice@vcs1:
- Statuses : 3 pass(s)
- Exec time: [0.02, 0.03] s
* igt@gem_exec_schedule@submit-late-slice@vecs0:
- Statuses : 5 pass(s)
- Exec time: [0.02, 0.05] s
* igt@i915_pciid:
- Statuses : 6 pass(s)
- Exec time: [0.04, 0.21] s
* igt@i915_pm_lpsp@kms-lpsp:
- Statuses :
- Exec time: [None] s
* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-dp:
- Statuses : 1 skip(s)
- Exec time: [0.0] s
* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-edp:
- Statuses : 2 pass(s)
- Exec time: [0.11, 0.17] s
* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-hdmi-a:
- Statuses : 1 skip(s)
- Exec time: [0.0] s
* igt@i915_pm_rc6_residency@rc6-fence:
- Statuses :
- Exec time: [None] s
* igt@i915_query@engine-info:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@i915_query@engine-info-invalid:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@kms_big_fb@linear-16bpp-rotate-0:
- Statuses : 5 pass(s)
- Exec time: [1.71, 5.64] s
* igt@kms_big_fb@linear-16bpp-rotate-180:
- Statuses : 5 pass(s)
- Exec time: [1.71, 4.62] s
* igt@kms_big_fb@linear-16bpp-rotate-270:
- Statuses : 4 skip(s)
- Exec time: [0.05, 0.26] s
* igt@kms_big_fb@linear-16bpp-rotate-90:
- Statuses : 4 skip(s)
- Exec time: [0.03, 0.25] s
* igt@kms_big_fb@linear-32bpp-rotate-0:
- Statuses : 5 pass(s)
- Exec time: [1.75, 5.75] s
* igt@kms_big_fb@linear-32bpp-rotate-180:
- Statuses : 5 pass(s)
- Exec time: [1.74, 7.57] s
* igt@kms_big_fb@linear-32bpp-rotate-270:
- Statuses : 5 skip(s)
- Exec time: [0.01, 0.27] s
* igt@kms_big_fb@linear-32bpp-rotate-90:
- Statuses : 4 skip(s)
- Exec time: [0.03, 0.25] s
* igt@kms_big_fb@linear-64bpp-rotate-0:
- Statuses : 3 pass(s)
- Exec time: [2.13, 9.63] s
* igt@kms_big_fb@linear-64bpp-rotate-180:
- Statuses : 6 pass(s)
- Exec time: [2.12, 11.68] s
* igt@kms_big_fb@linear-64bpp-rotate-270:
- Statuses : 5 skip(s)
- Exec time: [0.06, 0.49] s
* igt@kms_big_fb@linear-64bpp-rotate-90:
- Statuses : 4 skip(s)
- Exec time: [0.18, 0.51] s
* igt@kms_big_fb@linear-8bpp-rotate-0:
- Statuses : 5 pass(s)
- Exec time: [1.33, 28.48] s
* igt@kms_big_fb@linear-8bpp-rotate-180:
- Statuses :
- Exec time: [None] s
* igt@kms_big_fb@linear-8bpp-rotate-270:
- Statuses : 4 skip(s)
- Exec time: [0.04, 0.31] s
* igt@kms_big_fb@linear-8bpp-rotate-90:
- Statuses : 5 skip(s)
- Exec time: [0.01, 0.28] s
* igt@kms_big_fb@linear-addfb:
- Statuses :
- Exec time: [None] s
* igt@kms_big_fb@x-tiled-16bpp-rotate-0:
- Statuses : 2 pass(s)
- Exec time: [1.58, 4.55] s
* igt@kms_big_fb@x-tiled-16bpp-rotate-180:
- Statuses : 5 pass(s)
- Exec time: [1.52, 4.49] s
* igt@kms_big_fb@x-tiled-16bpp-rotate-270:
- Statuses : 5 skip(s)
- Exec time: [0.03, 0.25] s
* igt@kms_big_fb@x-tiled-16bpp-rotate-90:
- Statuses : 6 skip(s)
- Exec time: [0.02, 0.28] s
* igt@kms_big_fb@x-tiled-32bpp-rotate-0:
- Statuses : 5 pass(s)
- Exec time: [1.69, 29.30] s
* igt@kms_big_fb@x-tiled-32bpp-rotate-180:
- Statuses : 5 pass(s)
- Exec time: [1.67, 6.59] s
* igt@kms_big_fb@x-tiled-32bpp-rotate-270:
- Statuses :
- Exec time: [None] s
* igt@kms_big_fb@x-tiled-32bpp-rotate-90:
- Statuses : 5 skip(s)
- Exec time: [0.03, 0.24] s
* igt@kms_big_fb@x-tiled-64bpp-rotate-0:
- Statuses : 4 pass(s)
- Exec time: [3.03, 8.95] s
* igt@kms_big_fb@x-tiled-64bpp-rotate-180:
- Statuses :
- Exec time: [None] s
* igt@kms_big_fb@x-tiled-64bpp-rotate-270:
- Statuses : 6 skip(s)
- Exec time: [0.06, 0.54] s
* igt@kms_big_fb@x-tiled-64bpp-rotate-90:
- Statuses : 5 skip(s)
- Exec time: [0.06, 0.50] s
* igt@kms_big_fb@x-tiled-8bpp-rotate-0:
- Statuses : 5 pass(s)
- Exec time: [1.37, 3.83] s
* igt@kms_big_fb@x-tiled-8bpp-rotate-180:
- Statuses : 5 pass(s)
- Exec time: [1.33, 3.57] s
* igt@kms_big_fb@x-tiled-8bpp-rotate-270:
- Statuses : 5 skip(s)
- Exec time: [0.02, 0.28] s
* igt@kms_big_fb@x-tiled-8bpp-rotate-90:
- Statuses : 6 skip(s)
- Exec time: [0.02, 0.32] s
* igt@kms_big_fb@x-tiled-addfb:
- Statuses : 2 pass(s)
- Exec time: [0.00] s
* igt@kms_big_fb@x-tiled-addfb-size-offset-overflow:
- Statuses : 4 pass(s)
- Exec time: [0.00, 0.01] s
* igt@kms_big_fb@x-tiled-addfb-size-overflow:
- Statuses : 4 pass(s) 1 skip(s)
- Exec time: [0.00, 0.01] s
* igt@kms_big_fb@y-tiled-16bpp-rotate-0:
- Statuses : 5 pass(s) 1 skip(s)
- Exec time: [0.0, 4.65] s
* igt@kms_big_fb@y-tiled-16bpp-rotate-180:
- Statuses : 4 pass(s) 1 skip(s)
- Exec time: [0.0, 5.47] s
* igt@kms_big_fb@y-tiled-16bpp-rotate-270:
- Statuses : 2 pass(s) 3 skip(s)
- Exec time: [0.0, 1.98] s
* igt@kms_big_fb@y-tiled-16bpp-rotate-90:
- Statuses : 2 pass(s) 3 skip(s)
- Exec time: [0.04, 2.00] s
* igt@kms_big_fb@y-tiled-32bpp-rotate-0:
- Statuses : 5 pass(s)
- Exec time: [1.97, 6.66] s
* igt@kms_big_fb@y-tiled-32bpp-rotate-180:
- Statuses : 4 pass(s) 1 skip(s)
- Exec time: [0.0, 5.41] s
* igt@kms_big_fb@y-tiled-32bpp-rotate-270:
- Statuses : 5 pass(s) 1 skip(s)
- Exec time: [0.0, 6.66] s
* igt@kms_big_fb@y-tiled-32bpp-rotate-90:
- Statuses : 3 pass(s)
- Exec time: [1.98, 5.44] s
* igt@kms_big_fb@y-tiled-64bpp-rotate-0:
- Statuses :
- Exec time: [None] s
* igt@kms_big_fb@y-tiled-64bpp-rotate-180:
- Statuses : 4 pass(s) 1 skip(s)
- Exec time: [0.00, 30.38] s
* igt@kms_big_fb@y-tiled-64bpp-rotate-270:
- Statuses : 4 skip(s)
- Exec time: [0.11, 0.51] s
* igt@kms_big_fb@y-tiled-64bpp-rotate-90:
- Statuses :
- Exec time: [None] s
* igt@kms_big_fb@y-tiled-8bpp-rotate-0:
- Statuses : 4 pass(s)
- Exec time: [1.29, 28.41] s
* igt@kms_big_fb@y-tiled-8bpp-rotate-180:
- Statuses : 5 pass(s)
- Exec time: [1.29, 3.60] s
* igt@kms_big_fb@y-tiled-8bpp-rotate-270:
- Statuses : 5 skip(s)
- Exec time: [0.0, 0.30] s
* igt@kms_big_fb@y-tiled-8bpp-rotate-90:
- Statuses : 5 skip(s)
- Exec time: [0.05, 0.29] s
* igt@kms_big_fb@y-tiled-addfb:
- Statuses : 3 pass(s) 1 skip(s)
- Exec time: [0.00, 0.01] s
* igt@kms_big_fb@y-tiled-addfb-size-offset-overflow:
- Statuses : 4 pass(s) 1 skip(s)
- Exec time: [0.00] s
* igt@kms_big_fb@y-tiled-addfb-size-overflow:
- Statuses : 4 pass(s)
- Exec time: [0.00] s
* igt@kms_big_fb@yf-tiled-16bpp-rotate-0:
- Statuses : 3 pass(s) 2 skip(s)
- Exec time: [0.0, 28.59] s
* igt@kms_big_fb@yf-tiled-16bpp-rotate-180:
- Statuses : 3 pass(s) 2 skip(s)
- Exec time: [0.0, 5.83] s
* igt@kms_big_fb@yf-tiled-16bpp-rotate-270:
- Statuses : 1 pass(s) 4 skip(s)
- Exec time: [0.0, 2.00] s
* igt@kms_big_fb@yf-tiled-16bpp-rotate-90:
- Statuses : 1 pass(s) 3 skip(s)
- Exec time: [0.0, 28.71] s
* igt@kms_big_fb@yf-tiled-32bpp-rotate-0:
- Statuses : 3 pass(s) 2 skip(s)
- Exec time: [0.0, 5.54] s
* igt@kms_big_fb@yf-tiled-32bpp-rotate-180:
- Statuses : 3 pass(s) 1 skip(s)
- Exec time: [0.0, 6.79] s
* igt@kms_big_fb@yf-tiled-32bpp-rotate-270:
- Statuses : 3 pass(s) 2 skip(s)
- Exec time: [0.0, 6.24] s
* igt@kms_big_fb@yf-tiled-32bpp-rotate-90:
- Statuses : 1 pass(s) 2 skip(s)
- Exec time: [0.0, 5.28] s
* igt@kms_big_fb@yf-tiled-64bpp-rotate-0:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_big_fb@yf-tiled-64bpp-rotate-180:
- Statuses :
- Exec time: [None] s
* igt@kms_big_fb@yf-tiled-64bpp-rotate-270:
- Statuses : 5 skip(s)
- Exec time: [0.0] s
* igt@kms_big_fb@yf-tiled-64bpp-rotate-90:
- Statuses : 2 skip(s)
- Exec time: [0.0] s
* igt@kms_big_fb@yf-tiled-8bpp-rotate-0:
- Statuses : 5 skip(s)
- Exec time: [0.0] s
* igt@kms_big_fb@yf-tiled-8bpp-rotate-180:
- Statuses : 4 skip(s)
- Exec time: [0.0] s
* igt@kms_big_fb@yf-tiled-8bpp-rotate-270:
- Statuses :
- Exec time: [None] s
* igt@kms_big_fb@yf-tiled-8bpp-rotate-90:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_big_fb@yf-tiled-addfb:
- Statuses : 3 pass(s) 2 skip(s)
- Exec time: [0.00] s
* igt@kms_big_fb@yf-tiled-addfb-size-offset-overflow:
- Statuses : 3 pass(s) 1 skip(s)
- Exec time: [0.00, 0.01] s
* igt@kms_big_fb@yf-tiled-addfb-size-overflow:
- Statuses : 2 pass(s) 2 skip(s)
- Exec time: [0.00, 0.01] s
* igt@kms_chamelium@hdmi-audio:
- Statuses : 5 skip(s)
- Exec time: [0.0] s
Known issues
------------
Here are the changes found in IGTPW_5847_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_create@create-massive:
- shard-snb: NOTRUN -> [DMESG-WARN][1] ([i915#3002])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-snb5/igt@[email protected]
* igt@gem_ctx_persistence@legacy-engines-mixed:
- shard-snb: NOTRUN -> [SKIP][2] ([fdo#109271] / [i915#1099]) +9 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-snb6/igt@[email protected]
* igt@gem_ctx_sseu@invalid-args:
- shard-tglb: NOTRUN -> [SKIP][3] ([i915#280])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb3/igt@[email protected]
* igt@gem_exec_fair@basic-deadline:
- shard-kbl: NOTRUN -> [FAIL][4] ([i915#2846])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-kbl7/igt@[email protected]
- shard-apl: NOTRUN -> [FAIL][5] ([i915#2846])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-apl8/igt@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-tglb: [PASS][6] -> [FAIL][7] ([i915#2842])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/shard-tglb5/igt@gem_exec_fair@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-tglb: NOTRUN -> [FAIL][8] ([i915#2842]) +1 similar issue
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb5/igt@gem_exec_fair@[email protected]
- shard-glk: NOTRUN -> [FAIL][9] ([i915#2842])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-glk6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-solo@rcs0:
- shard-glk: [PASS][10] -> [FAIL][11] ([i915#2842]) +1 similar issue
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/shard-glk7/igt@gem_exec_fair@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-glk6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@rcs0:
- shard-kbl: [PASS][12] -> [FAIL][13] ([i915#2842])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/shard-kbl1/igt@gem_exec_fair@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-kbl2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vcs1:
- shard-iclb: NOTRUN -> [FAIL][14] ([i915#2842]) +1 similar issue
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_params@no-bsd:
- shard-iclb: NOTRUN -> [SKIP][15] ([fdo#109283])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb8/igt@[email protected]
* igt@gem_exec_params@secure-non-master:
- shard-tglb: NOTRUN -> [SKIP][16] ([fdo#112283])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb1/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][17] ([fdo#112283])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb6/igt@[email protected]
* igt@gem_exec_reloc@basic-wide-active@bcs0:
- shard-apl: NOTRUN -> [FAIL][18] ([i915#2389]) +3 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-apl2/igt@gem_exec_reloc@[email protected]
* igt@gem_huc_copy@huc-copy:
- shard-apl: NOTRUN -> [SKIP][19] ([fdo#109271] / [i915#2190])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-apl8/igt@[email protected]
* igt@gem_media_vme:
- shard-tglb: NOTRUN -> [SKIP][20] ([i915#284])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb6/igt@gem_media_vme.html
* igt@gem_mmap_gtt@cpuset-basic-small-copy:
- shard-apl: [PASS][21] -> [INCOMPLETE][22] ([i915#3468])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/shard-apl2/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-apl2/igt@[email protected]
* igt@gem_mmap_gtt@cpuset-basic-small-copy-xy:
- shard-snb: NOTRUN -> [INCOMPLETE][23] ([i915#2055] / [i915#3468])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-snb7/igt@[email protected]
* igt@gem_mmap_gtt@fault-concurrent-y:
- shard-glk: NOTRUN -> [INCOMPLETE][24] ([i915#3468])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-glk2/igt@[email protected]
* igt@gem_pread@exhaustion:
- shard-tglb: NOTRUN -> [WARN][25] ([i915#2658]) +1 similar issue
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb6/igt@[email protected]
- shard-glk: NOTRUN -> [WARN][26] ([i915#2658]) +1 similar issue
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-glk3/igt@[email protected]
- shard-apl: NOTRUN -> [WARN][27] ([i915#2658]) +1 similar issue
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-apl2/igt@[email protected]
- shard-iclb: NOTRUN -> [WARN][28] ([i915#2658]) +1 similar issue
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb8/igt@[email protected]
* igt@gem_pwrite@basic-exhaustion:
- shard-snb: NOTRUN -> [WARN][29] ([i915#2658]) +1 similar issue
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-snb7/igt@[email protected]
- shard-kbl: NOTRUN -> [WARN][30] ([i915#2658])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-kbl4/igt@[email protected]
* igt@gem_render_copy@x-tiled-to-vebox-yf-tiled:
- shard-kbl: NOTRUN -> [SKIP][31] ([fdo#109271]) +211 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-kbl4/igt@[email protected]
* igt@gem_render_copy@y-tiled-to-vebox-linear:
- shard-iclb: NOTRUN -> [SKIP][32] ([i915#768]) +6 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb8/igt@[email protected]
* igt@gem_softpin@evict-snoop-interruptible:
- shard-tglb: NOTRUN -> [SKIP][33] ([fdo#109312])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb7/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][34] ([fdo#109312])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb3/igt@[email protected]
* igt@gem_userptr_blits@dmabuf-sync:
- shard-apl: NOTRUN -> [SKIP][35] ([fdo#109271] / [i915#3323])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-apl2/igt@[email protected]
* igt@gem_userptr_blits@unsync-unmap-cycles:
- shard-tglb: NOTRUN -> [SKIP][36] ([i915#3297]) +1 similar issue
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb3/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][37] ([i915#3297]) +1 similar issue
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb8/igt@[email protected]
* igt@gen9_exec_parse@bb-secure:
- shard-tglb: NOTRUN -> [SKIP][38] ([fdo#112306]) +2 similar issues
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb6/igt@[email protected]
* igt@gen9_exec_parse@unaligned-jump:
- shard-iclb: NOTRUN -> [SKIP][39] ([fdo#112306]) +3 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb6/igt@[email protected]
* igt@i915_pm_dc@dc9-dpms:
- shard-tglb: NOTRUN -> [SKIP][40] ([i915#3288])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb8/igt@[email protected]
- shard-iclb: NOTRUN -> [FAIL][41] ([i915#3343])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb5/igt@[email protected]
* igt@i915_pm_rc6_residency@media-rc6-accuracy:
- shard-tglb: NOTRUN -> [SKIP][42] ([fdo#109289] / [fdo#111719])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb1/igt@[email protected]
* igt@i915_pm_rpm@gem-execbuf-stress-pc8:
- shard-iclb: NOTRUN -> [SKIP][43] ([fdo#109293] / [fdo#109506])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb1/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][44] ([fdo#109506] / [i915#2411])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb1/igt@[email protected]
* igt@i915_query@query-topology-known-pci-ids:
- shard-tglb: NOTRUN -> [SKIP][45] ([fdo#109303])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb5/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][46] ([fdo#109303])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb6/igt@[email protected]
* igt@i915_selftest@live@execlists:
- shard-tglb: NOTRUN -> [INCOMPLETE][47] ([i915#3462])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb5/igt@i915_selftest@[email protected]
- shard-glk: NOTRUN -> [DMESG-FAIL][48] ([i915#3462])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-glk7/igt@i915_selftest@[email protected]
- shard-iclb: NOTRUN -> [DMESG-FAIL][49] ([i915#3462])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb6/igt@i915_selftest@[email protected]
- shard-kbl: NOTRUN -> [INCOMPLETE][50] ([i915#2782] / [i915#3462] / [i915#794])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-kbl3/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@gt_lrc:
- shard-tglb: NOTRUN -> [DMESG-FAIL][51] ([i915#2373])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb5/igt@i915_selftest@live@gt_lrc.html
* igt@i915_selftest@live@gt_pm:
- shard-tglb: NOTRUN -> [DMESG-FAIL][52] ([i915#1759] / [i915#2291])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb5/igt@i915_selftest@live@gt_pm.html
* igt@kms_atomic_transition@plane-all-modeset-transition-fencing:
- shard-iclb: NOTRUN -> [SKIP][53] ([i915#1769]) +1 similar issue
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb2/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][54] ([i915#1769])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb2/igt@[email protected]
* igt@kms_big_fb@x-tiled-16bpp-rotate-90 (NEW):
- shard-tglb: NOTRUN -> [SKIP][55] ([fdo#111614]) +3 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb6/igt@[email protected]
* igt@kms_big_fb@x-tiled-64bpp-rotate-270 (NEW):
- shard-iclb: NOTRUN -> [SKIP][56] ([fdo#110725] / [fdo#111614]) +3 similar issues
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb8/igt@[email protected]
* igt@kms_big_fb@yf-tiled-64bpp-rotate-270 (NEW):
- shard-iclb: NOTRUN -> [SKIP][57] ([fdo#110723])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb8/igt@[email protected]
* igt@kms_big_joiner@basic:
- shard-apl: NOTRUN -> [SKIP][58] ([fdo#109271] / [i915#2705])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-apl7/igt@[email protected]
* igt@kms_big_joiner@invalid-modeset:
- shard-iclb: NOTRUN -> [SKIP][59] ([i915#2705])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb1/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][60] ([fdo#109271] / [i915#2705])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-kbl7/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][61] ([fdo#109271] / [i915#2705])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-glk5/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][62] ([i915#2705])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb1/igt@[email protected]
* igt@kms_chamelium@dp-hpd-storm:
- shard-iclb: NOTRUN -> [SKIP][63] ([fdo#109284] / [fdo#111827]) +17 similar issues
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb6/igt@[email protected]
* igt@kms_chamelium@hdmi-aspect-ratio:
- shard-glk: NOTRUN -> [SKIP][64] ([fdo#109271] / [fdo#111827]) +17 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-glk5/igt@[email protected]
* igt@kms_chamelium@hdmi-edid-change-during-suspend:
- shard-apl: NOTRUN -> [SKIP][65] ([fdo#109271] / [fdo#111827]) +22 similar issues
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-apl7/igt@[email protected]
* igt@kms_chamelium@hdmi-mode-timings:
- shard-snb: NOTRUN -> [SKIP][66] ([fdo#109271] / [fdo#111827]) +29 similar issues
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-snb5/igt@[email protected]
* igt@kms_chamelium@vga-hpd-without-ddc:
- shard-kbl: NOTRUN -> [SKIP][67] ([fdo#109271] / [fdo#111827]) +27 similar issues
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-kbl7/igt@[email protected]
* igt@kms_color@pipe-c-degamma:
- shard-iclb: NOTRUN -> [FAIL][68] ([i915#1149])
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb8/igt@[email protected]
- shard-tglb: NOTRUN -> [FAIL][69] ([i915#1149])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb8/igt@[email protected]
* igt@kms_color_chamelium@pipe-d-ctm-green-to-red:
- shard-iclb: NOTRUN -> [SKIP][70] ([fdo#109278] / [fdo#109284] / [fdo#111827]) +1 similar issue
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb5/igt@[email protected]
* igt@kms_color_chamelium@pipe-d-ctm-max:
- shard-tglb: NOTRUN -> [SKIP][71] ([fdo#109284] / [fdo#111827]) +16 similar issues
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb5/igt@[email protected]
* igt@kms_content_protection@atomic-dpms:
- shard-apl: NOTRUN -> [TIMEOUT][72] ([i915#1319]) +1 similar issue
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-apl3/igt@[email protected]
* igt@kms_content_protection@content_type_change:
- shard-iclb: NOTRUN -> [SKIP][73] ([fdo#109300] / [fdo#111066]) +1 similar issue
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb6/igt@kms_content_protection@content_type_change.html
* igt@kms_content_protection@dp-mst-lic-type-0:
- shard-iclb: NOTRUN -> [SKIP][74] ([i915#3116])
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb3/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][75] ([i915#3116])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb1/igt@[email protected]
* igt@kms_content_protection@uevent:
- shard-kbl: NOTRUN -> [FAIL][76] ([i915#2105])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-kbl2/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][77] ([fdo#111828])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb3/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-512x170-onscreen:
- shard-tglb: NOTRUN -> [SKIP][78] ([fdo#109279] / [i915#3359]) +1 similar issue
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb3/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-512x512-rapid-movement:
- shard-iclb: NOTRUN -> [SKIP][79] ([fdo#109278] / [fdo#109279]) +3 similar issues
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-iclb2/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-max-size-offscreen:
- shard-tglb: NOTRUN -> [SKIP][80] ([i915#3359]) +8 similar issues
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/shard-tglb7/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-32x10-offscreen:
- shard-iclb: NOTRUN -> [SKIP][81] ([fdo#109278]) +35 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_58
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5847/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Hi Bhanu,
Overall the change looks good to me.
Only one thing that we might want to change is:
We are currently, trying all modes of Display 2 with first mode of Display 1.
If we exhaust all the modes of Display2, we should go with the 2nd mode of Display1 and try again.
Instead we just return from that point.
Consider a hypothetical case: Say we have DP and eDP combination mapped to pipe A and pipe B.
In that case, first we will try first for DP (pipe A) and then try all modes of eDP.
In case of eDP is having fixed mode, we get out of recursion after trying the one fixed mode of Display2 and just fail the test, instead of trying with lower modes of DP.
Please find inline suggestion to fix this:
Quoted 108 lines · Bhanuprakash Modem
This patch will find the connector/mode combination that fits into the bandwidth when more than one monitor is connected.
Example:
When two monitors connected through MST, the second monitor also tries to use the same mode. So two such modes may not fit into the link bandwidth. So, iterate through connected outputs & modes and find a combination of modes those fit into the link BW.Cc Imre Deak <[email protected]>Cc Ankit Nautiyal <[email protected]>Signed-off-by Bhanuprakash Modem <[email protected]>--- tests/kms_setmode.c | 95 ++++++++++++++++++++++++++++++++------------- 1 file changed, 68 insertions(+), 27 deletions(-)tests/kms_setmode.c +31
-26@@ -46,6 +46,9 @@ static int filter_test_id;static bool dry_run;static bool all_pipes = false; +static char str_buf[MAX_CRTCS ][1024 ]; +static const char *crtc_strs[MAX_CRTCS ]; +const drmModeModeInfo mode_640_480 = { .name ="640x480" , .vrefresh =60 ,@@ -540,44 +543,46 @@ static void check_timings(int crtc_idx, const drmModeModeInfo *kmode) fabs(mean - expected) / line_time(kmode)); } -static void test_crtc_config (const struct test_config *tconf, -struct crtc_config *crtcs,int crtc_count) +static int sort_drm_modes (const void *a,const void *b) { -char str_buf[MAX_CRTCS ][1024 ]; -const char *crtc_strs[MAX_CRTCS ]; -struct crtc_config *crtc; -static int test_id; -bool config_failed = false; -int ret =0 ; -int i; +const drmModeModeInfo *mode1 = a, *mode2 = b; - test_id++; +return (mode1->clock < mode2->clock) - (mode2->clock < mode1->clock); +} -if (filter_test_id && filter_test_id != test_id) -return ; +static +int __test_crtc_config (struct crtc_config *crtcs,int crtc_count, +const struct test_config *tconf,bool *config_failed, +int base) +{ +struct crtc_config *crtc =NULL ; +int ret =0 ; -igt_info (" Test id#%d CRTC count %d\n" , test_id, crtc_count); +if (base >= crtc_count) +return ret; -for (i =0 ; i < crtc_count; i++) { -get_crtc_config_str (&crtcs[i], str_buf[i],sizeof (str_buf[i])); - crtc_strs[i] = &str_buf[i][0 ]; - } + crtc = &crtcs[base]; -if (dry_run) { -for (i =0 ; i < crtc_count; i++) -igt_info (" %s\n" , crtc_strs[i]); -return ; - } +/* Sort the modes in descending order by clock freq. */ +qsort (crtc->cconfs->connector->modes, + crtc->cconfs->connector->count_modes, +sizeof (drmModeModeInfo), + sort_drm_modes); -for (i =0 ; i < crtc_count; i++) { +for (int i =0 ; i < crtc->cconfs->connector->count_modes; i++) {uint32_t *ids; - crtc = &crtcs[i]; +if (!crtc_supports_mode (crtc, &crtc->cconfs->connector->modes[i])) +continue ; + + crtc->mode = crtc->cconfs->connector->modes[i]; -igt_info (" %s\n" , crtc_strs[i]); +get_crtc_config_str (crtc, str_buf[base],sizeof (str_buf[base])); + crtc_strs[base] = &str_buf[base][0 ]; +igt_info (" %s\n" , crtc_strs[base]);create_fb_for_crtc (crtc, &crtc->fb_info); -paint_fb (&crtc->fb_info, tconf->name, crtc_strs, crtc_count, i); +paint_fb (&crtc->fb_info, tconf->name, crtc_strs, crtc_count, base); ids =get_connector_ids (crtc);if (tconf->flags &TEST_STEALING )@@ -589,12 +594,48 @@ static void test_crtc_config(const struct test_config *tconf,free (ids);
tests/kms_setmode.c static void test_crtc_config(const struct test_config *tconf, · line 605
Quoted 10 lines
tests/kms_setmode.c +6
-1+if (ret <0 && errno ==ENOSPC ) +continue ; +if (ret <0 ) {igt_assert_eq (errno,EINVAL ); - config_failed = true; + *config_failed = true; } + +return __test_crtc_config (crtcs, crtc_count, tconf, config_failed, base +1 );
IMHO this should be:
ret = __test_crtc_config(crtcs, crtc_count, tconf, config_failed, base + 1);
if (ret < 0 && errno == ENOSPC)
continue; //continue with next mode of current CRTC
else
return ret;
Regards,
Ankit
Quoted 26 lines
tests/kms_setmode.c +24
-0+ } + +return ret; +} + +static void test_crtc_config (const struct test_config *tconf, +struct crtc_config *crtcs,int crtc_count) +{ +static int test_id; +bool config_failed = false; +int ret =0 ; +int i; + + test_id++; + +if (filter_test_id && filter_test_id != test_id) +return ; + +igt_info (" Test id#%d CRTC count %d\n" , test_id, crtc_count); + +for (i =0 ; i < crtc_count; i++) { +get_crtc_config_str (&crtcs[i], str_buf[i],sizeof (str_buf[i])); + crtc_strs[i] = &str_buf[i][0 ]; } +if (dry_run) {
tests/kms_setmode.c static void test_crtc_config(const struct test_config *tconf, · line 641
Quoted 10 lines
tests/kms_setmode.c +7
-0+for (i =0 ; i < crtc_count; i++) +igt_info (" %s\n" , crtc_strs[i]); +return ; + } + + ret =__test_crtc_config (crtcs, crtc_count, tconf, &config_failed,0 ); +igt_assert (config_failed == !!(tconf->flags &TEST_INVALID ));if (ret ==0 && tconf->flags &TEST_TIMINGS )
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Quoted 156 lines
From: Nautiyal, Ankit K <[email protected]>
Sent: Wednesday, July 28, 2021 5:01 PM
To: Modem, Bhanuprakash <[email protected]>; igt- [email protected]; Deak, Imre <[email protected]>
Subject: Re: [PATCH i-g-t] tests/kms_setmode: Fix mode selection for Nx testsHi Bhanu,
Overall the change looks good to me.
Only one thing that we might want to change is:
We are currently, trying all modes of Display 2 with first mode of Display 1.
If we exhaust all the modes of Display2, we should go with the 2nd mode of Display1 and try again.
Instead we just return from that point.
Consider a hypothetical case: Say we have DP and eDP combination mapped to pipe A and pipe B.
In that case, first we will try first for DP (pipe A) and then try all modes of eDP.
In case of eDP is having fixed mode, we get out of recursion after trying the one fixed mode of Display2 and just fail the test, instead of trying with lower modes of DP.
Please find inline suggestion to fix this:
tests/kms_setmode.c static void check_timings(int crtc_idx, const
Quoted 32 lines · Bhanuprakash Modem
This patch will find the connector/mode combination that fits into the bandwidth when more than one monitor is connected.
Example:
When two monitors connected through MST, the second monitor also tries to use the same mode. So two such modes may not fit into the link bandwidth. So, iterate through connected outputs & modes and find a combination of modes those fit into the link BW.Cc Imre Deak <[email protected]>Cc Ankit Nautiyal <[email protected]>Signed-off-by Bhanuprakash Modem <[email protected]>--- tests/kms_setmode.c | 95 ++++++++++++++++++++++++++++++++------------- 1 file changed, 68 insertions(+), 27 deletions(-)tests/kms_setmode.c +3
-0@@ -46,6 +46,9 @@ static int filter_test_id;static bool dry_run;static bool all_pipes = false; +static char str_buf[MAX_CRTCS ][1024 ]; +static const char *crtc_strs[MAX_CRTCS ]; +const drmModeModeInfo mode_640_480 = { .name ="640x480" , .vrefresh =60 ,@@ -540,44 +543,46 @@ static void check_timings(int crtc_idx, constdrmModeModeInfo *kmode)
tests/kms_setmode.c static void test_crtc_config(const struct test_config
Quoted 73 lines
tests/kms_setmode.c +28
-26fabs(mean - expected) / line_time(kmode)); } -static void test_crtc_config (const struct test_config *tconf, -struct crtc_config *crtcs,int crtc_count) +static int sort_drm_modes (const void *a,const void *b) { -char str_buf[MAX_CRTCS ][1024 ]; -const char *crtc_strs[MAX_CRTCS ]; -struct crtc_config *crtc; -static int test_id; -bool config_failed = false; -int ret =0 ; -int i; +const drmModeModeInfo *mode1 = a, *mode2 = b; - test_id++; +return (mode1->clock < mode2->clock) - (mode2->clock < mode1->clock); +} -if (filter_test_id && filter_test_id != test_id) -return ; +static +int __test_crtc_config (struct crtc_config *crtcs,int crtc_count, +const struct test_config *tconf,bool *config_failed, +int base) +{ +struct crtc_config *crtc =NULL ; +int ret =0 ; -igt_info (" Test id#%d CRTC count %d\n" , test_id, crtc_count); +if (base >= crtc_count) +return ret; -for (i =0 ; i < crtc_count; i++) { -get_crtc_config_str (&crtcs[i], str_buf[i],sizeof (str_buf[i])); - crtc_strs[i] = &str_buf[i][0 ]; - } + crtc = &crtcs[base]; -if (dry_run) { -for (i =0 ; i < crtc_count; i++) -igt_info (" %s\n" , crtc_strs[i]); -return ; - } +/* Sort the modes in descending order by clock freq. */ +qsort (crtc->cconfs->connector->modes, + crtc->cconfs->connector->count_modes, +sizeof (drmModeModeInfo), + sort_drm_modes); -for (i =0 ; i < crtc_count; i++) { +for (int i =0 ; i < crtc->cconfs->connector->count_modes; i++) {uint32_t *ids; - crtc = &crtcs[i]; +if (!crtc_supports_mode (crtc, &crtc->cconfs->connector->modes[i])) +continue ; + + crtc->mode = crtc->cconfs->connector->modes[i]; -igt_info (" %s\n" , crtc_strs[i]); +get_crtc_config_str (crtc, str_buf[base],sizeof (str_buf[base])); + crtc_strs[base] = &str_buf[base][0 ]; +igt_info (" %s\n" , crtc_strs[base]);create_fb_for_crtc (crtc, &crtc->fb_info); -paint_fb (&crtc->fb_info, tconf->name, crtc_strs, crtc_count, i); +paint_fb (&crtc->fb_info, tconf->name, crtc_strs, crtc_count, base); ids =get_connector_ids (crtc);if (tconf->flags &TEST_STEALING )@@ -589,12 +594,48 @@ static void test_crtc_config(const struct test_config*tconf,
tests/kms_setmode.c static void test_crtc_config(const struct test_config *tconf,
Quoted 13 lines
tests/kms_setmode.c +6
-1free (ids); +if (ret <0 && errno ==ENOSPC ) +continue ; +if (ret <0 ) {igt_assert_eq (errno,EINVAL ); - config_failed = true; + *config_failed = true; } + + return __test_crtc_config(crtcs, crtc_count, tconf, config_failed,base + 1);
Quoted 3 lines
IMHO this should be:
ret =
__test_crtc_config(crtcs, crtc_count, tconf, config_failed, base + 1);
Thanks for the review Ankit, I have gone through the logic again.
As recursion calling is inside the loop (list of display modes), It can iterate over the all modes on each connected display.
And yes, there is a problem with this logic. Even though we find the valid connector & mode combination, recursion will continue & endup with the minimum modes. I am trying to find a way to break the recursion when we find the valid combination. If possible, can you please suggest any solution?
- Bhanu
Quoted 51 lines
if (ret < 0 && errno == ENOSPC)
continue; //continue with next mode of current CRTC
else
return ret;
Regards,
Ankit
Quoted 36 lines
tests/kms_setmode.c +31
-0+ } + +return ret; +} + +static void test_crtc_config (const struct test_config *tconf, +struct crtc_config *crtcs,int crtc_count) +{ +static int test_id; +bool config_failed = false; +int ret =0 ; +int i; + + test_id++; + +if (filter_test_id && filter_test_id != test_id) +return ; + +igt_info (" Test id#%d CRTC count %d\n" , test_id, crtc_count); + +for (i =0 ; i < crtc_count; i++) { +get_crtc_config_str (&crtcs[i], str_buf[i],sizeof (str_buf[i])); + crtc_strs[i] = &str_buf[i][0 ]; } +if (dry_run) { +for (i =0 ; i < crtc_count; i++) +igt_info (" %s\n" , crtc_strs[i]); +return ; + } + + ret =__test_crtc_config (crtcs, crtc_count, tconf, &config_failed,0 ); +igt_assert (config_failed == !!(tconf->flags &TEST_INVALID ));if (ret ==0 && tconf->flags &TEST_TIMINGS )