tests/kms_setmode: Fix mode selection for Nx tests
PATCH v2 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.
V2:
* Addressed comments from Ankit
--- tests/kms_setmode.c | 116 +++++++++++++++++++++++++++++++++----------- 1 file changed, 88 insertions(+), 28 deletions(-)
tests/kms_setmode.c +88 -28
@@ -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,43 @@ 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++; - -if (filter_test_id && filter_test_id != test_id) -return ; +return (mode1->clock < mode2->clock) - (mode2->clock < mode1->clock); +} -igt_info (" Test id#%d CRTC count %d\n" , test_id, crtc_count); +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 ; -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 +591,70 @@ static void test_crtc_config(const struct test_config *tconf,free (ids); +/* crtcs[base].modes[i] don't fit, try next mode. */ +if (ret <0 && errno ==ENOSPC ) +continue ; +if (ret <0 ) {igt_assert_eq (errno,EINVAL ); - config_failed = true; + *config_failed = true; + +return ret; } + +/* Try all crtcs recursively. */ +if (base +1 < crtc_count) + ret =__test_crtc_config (crtcs, crtc_count, tconf, config_failed, base +1 ); + +/* +* With crtcs[base].modes[i], None of the crtc[base+1] modes fits +* into the link BW. +* +* Lets try with crtcs[base].modes[i+1] +*/ +if (ret <0 && errno ==ENOSPC ) +continue ; + +/* +* ret == 0, (or) ret < 0 && errno == EINVAL +* No need to try other modes of crtcs[base]. +*/ +return ret; + } + +/* When all crtcs[base].modes are tried & failed to fit into link BW. */ +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_skip_on_f ((ret <0 && errno ==ENOSPC ), +"No suitable mode(s) found to fit into the link BW\n" );igt_assert (config_failed == !!(tconf->flags &TEST_INVALID ));if (ret ==0 && tconf->flags &TEST_TIMINGS )
--
2.32.0
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for tests/kms_setmode: Fix mode selection for Nx tests (rev2)
== Series Details ==
== Series Details ==
Series: tests/kms_setmode: Fix mode selection for Nx tests (rev2)
URL : https://patchwork.freedesktop.org/series/90525/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10446 -> IGTPW_6090
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/index.html
Known issues
------------
Here are the changes found in IGTPW_6090 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_fence@basic-busy@bcs0:
- fi-kbl-8809g: NOTRUN -> [SKIP][1] ([fdo#109271]) +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/fi-kbl-8809g/igt@gem_exec_fence@[email protected]
* igt@gem_exec_suspend@basic-s3:
- fi-kbl-8809g: NOTRUN -> [INCOMPLETE][2] ([i915#155])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/fi-kbl-8809g/igt@[email protected]
#### Possible fixes ####
* igt@core_auth@basic-auth:
- fi-kbl-8809g: [DMESG-WARN][3] -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/fi-kbl-8809g/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/fi-kbl-8809g/igt@[email protected]
{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
[i915#155]: https://gitlab.freedesktop.org/drm/intel/issues/155
[i915#3303]: https://gitlab.freedesktop.org/drm/intel/issues/3303
Participating hosts (35 -> 33)
------------------------------
Missing (2): fi-bsw-cyan fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_6159 -> IGTPW_6090
CI-20190529: 20190529
CI_DRM_10446: 7b039c201fce9777a2a3304cdf7cf6d8cc6bd33d @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_6090: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/index.html
IGT_6159: 6135b9cc319ed965e3aafb5b2ae2abf4762a06b2 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/index.html
Patchwork
CI[igt-dev] ✗ GitLab.Pipeline: warning for tests/kms_setmode: Fix mode selection for Nx tests (rev2)
In reply to Bhanuprakash Modem== Series Details ==
== Series Details ==
Series: tests/kms_setmode: Fix mode selection for Nx tests (rev2)
URL : https://patchwork.freedesktop.org/series/90525/
State : warning
== Summary ==
Pipeline status: FAILED.
see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/374940 for the overview.
test:ninja-test-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/12505274):
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mesonbuild/mesonmain.py", line 112, in run
return options.run_func(options)
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 805, in run
return th.doit()
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 555, in doit
self.run_tests(tests)
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 715, in run_tests
self.drain_futures(futures)
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 732, in drain_futures
self.print_stats(numlen, tests, name, result.result(), i)
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 505, in print_stats
result_str += "\n\n" + result.get_log()
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 178, in get_log
res += self.stde
TypeError: can only concatenate str (not "bytes") to str
1/291 lib igt_assert TIMEOUT 32.10 s
section_end:1628152254:step_script
ERROR: Job failed: execution took longer than 1h0m0s seconds
test:ninja-test-armhf has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/12505275):
1/291 lib igt_assert TIMEOUT 32.11 s
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mesonbuild/mesonmain.py", line 112, in run
return options.run_func(options)
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 805, in run
return th.doit()
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 555, in doit
self.run_tests(tests)
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 715, in run_tests
self.drain_futures(futures)
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 732, in drain_futures
self.print_stats(numlen, tests, name, result.result(), i)
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 505, in print_stats
result_str += "\n\n" + result.get_log()
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 178, in get_log
res += self.stde
TypeError: can only concatenate str (not "bytes") to str section_end:1628152259:step_script
ERROR: Job failed: execution took longer than 1h0m0s seconds
test:ninja-test-clang has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/12505276):
298/305 assembler test/rndd OK 0.01 s 299/305 assembler test/rndu OK 0.02 s 300/305 assembler test/rnde OK 0.01 s 301/305 assembler test/rnde-intsrc OK 0.02 s 302/305 assembler test/rndz OK 0.01 s 303/305 assembler test/lzd OK 0.01 s 304/305 assembler test/not OK 0.01 s 305/305 assembler test/immediate OK 0.02 s
Ok: 280
Expected Fail: 0 Fail: 0 Unexpected Pass: 0 Skipped: 0
Timeout: 25
Full log written to /builds/gfx-ci/igt-ci-tags/build/meson-logs/testlog.txt section_end:1628152259:step_script
ERROR: Job failed: execution took longer than 1h0m0s seconds
== Logs ==
For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/374940
Patchwork
CI[igt-dev] ✓ Fi.CI.IGT: success for tests/kms_setmode: Fix mode selection for Nx tests (rev2)
In reply to Bhanuprakash Modem== Series Details ==
== Series Details ==
Series: tests/kms_setmode: Fix mode selection for Nx tests (rev2)
URL : https://patchwork.freedesktop.org/series/90525/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10446_full -> IGTPW_6090_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/index.html
Known issues
------------
Here are the changes found in IGTPW_6090_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_create@create-massive:
- shard-apl: NOTRUN -> [DMESG-WARN][1] ([i915#3002])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl6/igt@[email protected]
* igt@gem_ctx_persistence@legacy-engines-mixed:
- shard-snb: NOTRUN -> [SKIP][2] ([fdo#109271] / [i915#1099]) +4 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-snb2/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-tglb: [PASS][3] -> [TIMEOUT][4] ([i915#2369] / [i915#3063] / [i915#3648])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-tglb7/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb6/igt@[email protected]
* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-iclb: NOTRUN -> [FAIL][5] ([i915#2842])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-kbl: [PASS][6] -> [FAIL][7] ([i915#2842]) +3 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-kbl4/igt@gem_exec_fair@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-kbl1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-glk: [PASS][8] -> [FAIL][9] ([i915#2842])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-glk5/igt@gem_exec_fair@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-glk6/igt@gem_exec_fair@[email protected]
* igt@gem_ppgtt@flink-and-close-vma-leak:
- shard-apl: [PASS][10] -> [FAIL][11] ([i915#644])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-apl7/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl6/igt@[email protected]
* igt@gem_pwrite@basic-exhaustion:
- shard-snb: NOTRUN -> [WARN][12] ([i915#2658])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-snb7/igt@[email protected]
- shard-kbl: NOTRUN -> [WARN][13] ([i915#2658])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-kbl2/igt@[email protected]
- shard-apl: NOTRUN -> [WARN][14] ([i915#2658])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl2/igt@[email protected]
* igt@gem_userptr_blits@invalid-mmap-offset-unsync:
- shard-iclb: NOTRUN -> [SKIP][15] ([i915#3297])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb4/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][16] ([i915#3297])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb2/igt@[email protected]
* igt@gem_workarounds@suspend-resume-context:
- shard-apl: NOTRUN -> [DMESG-WARN][17] ([i915#180])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl7/igt@[email protected]
* igt@gen7_exec_parse@basic-allowed:
- shard-iclb: NOTRUN -> [SKIP][18] ([fdo#109289]) +1 similar issue
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb4/igt@[email protected]
* igt@gen9_exec_parse@bb-start-cmd:
- shard-tglb: NOTRUN -> [SKIP][19] ([i915#2856])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb6/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][20] ([i915#2856])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb8/igt@[email protected]
* igt@i915_pm_dc@dc5-dpms:
- shard-kbl: NOTRUN -> [FAIL][21] ([i915#545])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-kbl4/igt@[email protected]
* igt@i915_pm_rc6_residency@rc6-fence:
- shard-iclb: NOTRUN -> [WARN][22] ([i915#1804] / [i915#2684])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb4/igt@[email protected]
* igt@i915_pm_rpm@modeset-non-lpsp:
- shard-iclb: NOTRUN -> [SKIP][23] ([i915#579]) +1 similar issue
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb1/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][24] ([i915#579])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb5/igt@[email protected]
* igt@kms_addfb_basic@invalid-smem-bo-on-discrete:
- shard-tglb: NOTRUN -> [SKIP][25] ([i915#3826])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb7/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][26] ([i915#3826])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb2/igt@[email protected]
* igt@kms_big_fb@linear-64bpp-rotate-90:
- shard-tglb: NOTRUN -> [SKIP][27] ([fdo#111614])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb8/igt@[email protected]
* igt@kms_big_fb@x-tiled-32bpp-rotate-180:
- shard-glk: [PASS][28] -> [DMESG-WARN][29] ([i915#118] / [i915#95]) +1 similar issue
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-glk2/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-glk8/igt@[email protected]
* igt@kms_big_fb@x-tiled-8bpp-rotate-270:
- shard-iclb: NOTRUN -> [SKIP][30] ([fdo#110725] / [fdo#111614]) +1 similar issue
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb6/igt@[email protected]
* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip:
- shard-glk: NOTRUN -> [SKIP][31] ([fdo#109271] / [i915#3777])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-glk5/igt@[email protected]
* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-hflip:
- shard-kbl: NOTRUN -> [SKIP][32] ([fdo#109271] / [i915#3777]) +2 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-kbl7/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][33] ([fdo#109271] / [i915#3777]) +1 similar issue
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl1/igt@[email protected]
* igt@kms_big_fb@yf-tiled-addfb:
- shard-tglb: NOTRUN -> [SKIP][34] ([fdo#111615])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb3/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180-hflip:
- shard-iclb: NOTRUN -> [SKIP][35] ([fdo#110723])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb2/igt@[email protected]
* igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_rc_ccs_cc:
- shard-glk: NOTRUN -> [SKIP][36] ([fdo#109271] / [i915#3886]) +4 similar issues
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-glk7/igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][37] ([i915#3689]) +4 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb5/igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_ccs.html
* igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][38] ([i915#3689] / [i915#3886])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb2/igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc:
- shard-kbl: NOTRUN -> [SKIP][39] ([fdo#109271] / [i915#3886]) +1 similar issue
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-kbl1/igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc.html
- shard-iclb: NOTRUN -> [SKIP][40] ([fdo#109278] / [i915#3886]) +1 similar issue
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb2/igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][41] ([fdo#109271] / [i915#3886]) +8 similar issues
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl7/igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-d-bad-pixel-format-y_tiled_ccs:
- shard-snb: NOTRUN -> [SKIP][42] ([fdo#109271]) +444 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-snb2/igt@kms_ccs@pipe-d-bad-pixel-format-y_tiled_ccs.html
* igt@kms_ccs@pipe-d-crc-primary-rotation-180-y_tiled_gen12_mc_ccs:
- shard-glk: NOTRUN -> [SKIP][43] ([fdo#109271]) +82 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-glk2/igt@kms_ccs@pipe-d-crc-primary-rotation-180-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-d-missing-ccs-buffer-y_tiled_gen12_rc_ccs:
- shard-kbl: NOTRUN -> [SKIP][44] ([fdo#109271]) +73 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-kbl1/igt@kms_ccs@pipe-d-missing-ccs-buffer-y_tiled_gen12_rc_ccs.html
* igt@kms_chamelium@dp-frame-dump:
- shard-iclb: NOTRUN -> [SKIP][45] ([fdo#109284] / [fdo#111827]) +7 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb4/igt@[email protected]
* igt@kms_chamelium@dp-hpd-storm-disable:
- shard-apl: NOTRUN -> [SKIP][46] ([fdo#109271] / [fdo#111827]) +13 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl3/igt@[email protected]
* igt@kms_chamelium@hdmi-mode-timings:
- shard-kbl: NOTRUN -> [SKIP][47] ([fdo#109271] / [fdo#111827]) +7 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-kbl2/igt@[email protected]
* igt@kms_chamelium@vga-hpd-enable-disable-mode:
- shard-glk: NOTRUN -> [SKIP][48] ([fdo#109271] / [fdo#111827]) +10 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-glk8/igt@[email protected]
* igt@kms_color@pipe-d-ctm-0-5:
- shard-iclb: NOTRUN -> [SKIP][49] ([fdo#109278] / [i915#1149])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb7/igt@[email protected]
* igt@kms_color_chamelium@pipe-b-ctm-0-75:
- shard-tglb: NOTRUN -> [SKIP][50] ([fdo#109284] / [fdo#111827]) +5 similar issues
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb5/igt@[email protected]
* igt@kms_color_chamelium@pipe-invalid-ctm-matrix-sizes:
- shard-snb: NOTRUN -> [SKIP][51] ([fdo#109271] / [fdo#111827]) +27 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-snb5/igt@[email protected]
* igt@kms_content_protection@dp-mst-lic-type-1:
- shard-iclb: NOTRUN -> [SKIP][52] ([i915#3116])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb5/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][53] ([i915#3116])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb5/igt@[email protected]
* igt@kms_content_protection@legacy:
- shard-iclb: NOTRUN -> [SKIP][54] ([fdo#109300] / [fdo#111066]) +1 similar issue
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb6/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][55] ([fdo#111828])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb1/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-max-size-rapid-movement:
- shard-tglb: NOTRUN -> [SKIP][56] ([i915#3359]) +1 similar issue
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb3/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-512x512-sliding:
- shard-tglb: NOTRUN -> [SKIP][57] ([fdo#109279] / [i915#3359])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb7/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-32x32-sliding:
- shard-tglb: NOTRUN -> [SKIP][58] ([i915#3319])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb5/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-512x170-sliding:
- shard-iclb: NOTRUN -> [SKIP][59] ([fdo#109278] / [fdo#109279]) +2 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb8/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size:
- shard-iclb: NOTRUN -> [SKIP][60] ([fdo#109274] / [fdo#109278])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb8/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size.html
* igt@kms_cursor_legacy@pipe-d-single-bo:
- shard-apl: NOTRUN -> [SKIP][61] ([fdo#109271] / [i915#533])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl8/igt@[email protected]
* igt@kms_cursor_legacy@pipe-d-single-move:
- shard-iclb: NOTRUN -> [SKIP][62] ([fdo#109278]) +19 similar issues
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb4/igt@[email protected]
* igt@kms_flip@2x-flip-vs-panning:
- shard-iclb: NOTRUN -> [SKIP][63] ([fdo#109274]) +2 similar issues
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb6/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile:
- shard-tglb: NOTRUN -> [SKIP][64] ([i915#2587])
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb7/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs:
- shard-kbl: NOTRUN -> [SKIP][65] ([fdo#109271] / [i915#2672])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-kbl7/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][66] ([fdo#109271] / [i915#2672])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-pgflip-blt:
- shard-glk: NOTRUN -> [FAIL][67] ([i915#2546])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-glk6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-mmap-cpu:
- shard-iclb: NOTRUN -> [SKIP][68] ([fdo#109280]) +17 similar issues
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb6/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-mmap-cpu.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-mmap-gtt:
- shard-glk: [PASS][69] -> [FAIL][70] ([i915#2546])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-glk2/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-mmap-gtt.html
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-glk1/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-mmap-gtt.html
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-pri-shrfb-draw-render:
- shard-tglb: NOTRUN -> [SKIP][71] ([fdo#111825]) +16 similar issues
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb7/igt@kms_frontbuffer_tracking@psr-2p-primscrn-pri-shrfb-draw-render.html
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
- shard-apl: [PASS][72] -> [DMESG-WARN][73] ([i915#180]) +2 similar issues
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-apl7/igt@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl8/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-alpha-transparent-fb:
- shard-apl: NOTRUN -> [FAIL][74] ([i915#265]) +1 similar issue
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-alpha-basic:
- shard-apl: NOTRUN -> [FAIL][75] ([fdo#108145] / [i915#265]) +1 similar issue
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl8/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-alpha-transparent-fb:
- shard-glk: NOTRUN -> [FAIL][76] ([i915#265])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-glk1/igt@[email protected]
* igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping:
- shard-apl: NOTRUN -> [SKIP][77] ([fdo#109271] / [i915#2733])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl7/igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping.html
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-2:
- shard-apl: NOTRUN -> [SKIP][78] ([fdo#109271] / [i915#658]) +3 similar issues
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl6/igt@[email protected]
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-2:
- shard-glk: NOTRUN -> [SKIP][79] ([fdo#109271] / [i915#658]) +1 similar issue
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-glk9/igt@[email protected]
* igt@kms_psr@psr2_cursor_plane_move:
- shard-iclb: NOTRUN -> [SKIP][80] ([fdo#109441])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb6/igt@kms_psr@psr2_cursor_plane_move.html
* igt@kms_psr@psr2_cursor_plane_onoff:
- shard-tglb: NOTRUN -> [FAIL][81] ([i915#132] / [i915#3467]) +1 similar issue
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb8/igt@kms_psr@psr2_cursor_plane_onoff.html
* igt@kms_psr@psr2_primary_blt:
- shard-iclb: [PASS][82] -> [SKIP][83] ([fdo#109441])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-iclb2/igt@kms_psr@psr2_primary_blt.html
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb8/igt@kms_psr@psr2_primary_blt.html
* igt@kms_vblank@pipe-d-ts-continuation-idle:
- shard-apl: NOTRUN -> [SKIP][84] ([fdo#109271]) +201 similar issues
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl2/igt@[email protected]
* igt@kms_vrr@flipline:
- shard-iclb: NOTRUN -> [SKIP][85] ([fdo#109502])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb2/igt@[email protected]
* igt@kms_writeback@writeback-pixel-formats:
- shard-apl: NOTRUN -> [SKIP][86] ([fdo#109271] / [i915#2437])
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl3/igt@[email protected]
* igt@nouveau_crc@pipe-a-ctx-flip-skip-current-frame:
- shard-tglb: NOTRUN -> [SKIP][87] ([i915#2530])
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb1/igt@[email protected]
* igt@nouveau_crc@pipe-c-ctx-flip-detection:
- shard-iclb: NOTRUN -> [SKIP][88] ([i915#2530]) +1 similar issue
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb3/igt@[email protected]
* igt@perf@polling-parameterized:
- shard-glk: [PASS][89] -> [FAIL][90] ([i915#1542])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-glk1/igt@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-glk8/igt@[email protected]
* igt@prime_nv_pcopy@test3_1:
- shard-tglb: NOTRUN -> [SKIP][91] ([fdo#109291]) +1 similar issue
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb5/igt@prime_nv_pcopy@test3_1.html
* igt@prime_nv_test@nv_write_i915_gtt_mmap_read:
- shard-iclb: NOTRUN -> [SKIP][92] ([fdo#109291]) +1 similar issue
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb1/igt@prime_nv_test@nv_write_i915_gtt_mmap_read.html
* igt@sysfs_clients@recycle:
- shard-apl: NOTRUN -> [SKIP][93] ([fdo#109271] / [i915#2994]) +2 similar issues
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl7/igt@[email protected]
* igt@sysfs_clients@sema-50:
- shard-iclb: NOTRUN -> [SKIP][94] ([i915#2994])
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb3/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][95] ([fdo#109271] / [i915#2994])
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-kbl3/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][96] ([fdo#109271] / [i915#2994]) +1 similar issue
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-glk6/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][97] ([i915#2994])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb3/igt@[email protected]
#### Possible fixes ####
* igt@gem_ctx_persistence@legacy-engines-hang@render:
- shard-tglb: [FAIL][98] ([i915#2410]) -> [PASS][99] +1 similar issue
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-tglb3/igt@gem_ctx_persistence@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-tglb2/igt@gem_ctx_persistence@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-iclb: [TIMEOUT][100] ([i915#2369] / [i915#2481] / [i915#3070]) -> [PASS][101]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-iclb7/igt@[email protected]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb1/igt@[email protected]
* igt@gem_exec_fair@basic-deadline:
- shard-glk: [FAIL][102] ([i915#2846]) -> [PASS][103]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-glk7/igt@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-glk5/igt@[email protected]
* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-glk: [FAIL][104] ([i915#2842]) -> [PASS][105]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-glk2/igt@gem_exec_fair@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-glk7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@vcs0:
- shard-kbl: [FAIL][106] ([i915#2842]) -> [PASS][107] +1 similar issue
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-kbl4/igt@gem_exec_fair@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-kbl3/igt@gem_exec_fair@[email protected]
* igt@gem_softpin@noreloc-s3:
- shard-apl: [DMESG-WARN][108] ([i915#180]) -> [PASS][109]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-apl8/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl3/igt@[email protected]
* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@ac-hdmi-a1-hdmi-a2:
- shard-glk: [FAIL][110] ([i915#79]) -> [PASS][111] +1 similar issue
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-glk2/igt@kms_flip@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-glk5/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-suspend:
- shard-iclb: [INCOMPLETE][112] ([i915#1185] / [i915#123]) -> [PASS][113]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-iclb3/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb2/igt@[email protected]
* igt@kms_psr@psr2_primary_render:
- shard-iclb: [SKIP][114] ([fdo#109441]) -> [PASS][115]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-iclb4/igt@kms_psr@psr2_primary_render.html
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb2/igt@kms_psr@psr2_primary_render.html
#### Warnings ####
* igt@i915_pm_rc6_residency@rc6-idle:
- shard-iclb: [WARN][116] ([i915#1804] / [i915#2684]) -> [WARN][117] ([i915#2684])
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-iclb7/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb5/igt@[email protected]
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-3:
- shard-iclb: [SKIP][118] ([i915#658]) -> [SKIP][119] ([i915#2920]) +1 similar issue
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-iclb6/igt@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb2/igt@[email protected]
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-4:
- shard-iclb: [SKIP][120] ([i915#2920]) -> [SKIP][121] ([i915#658]) +2 similar issues
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-iclb2/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-iclb1/igt@[email protected]
* igt@runner@aborted:
- shard-apl: ([FAIL][122], [FAIL][123], [FAIL][124]) ([i915#180] / [i915#3002] / [i915#3363]) -> ([FAIL][125], [FAIL][126], [FAIL][127], [FAIL][128], [FAIL][129], [FAIL][130]) ([fdo#109271] / [i915#1610] / [i915#180] / [i915#1814] / [i915#3002] / [i915#3363])
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-apl6/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-apl8/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10446/shard-apl2/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl1/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl8/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl6/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl3/igt@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl8/igt@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/shard-apl7/igt@[email protected]
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109279]: https://bugs.freedesktop.org/show_bug.cgi?id=109279
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291
[fdo#109300]: https://bugs.freedesktop.org/show_bug.cgi?id=109300
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109502]: https://bugs.freedesktop.org/show_bug.cgi?id=109502
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#110725]: https://bugs.freedesktop.org/show_bug.cgi?id=110725
[fdo#111066]: https://bugs.freedesktop.org/show_bug.cgi?id=111066
[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#111828]: https://bugs.freedesktop.org/show_bug.cgi?id=111828
[i915#1099]: https://gitlab.freedesktop.org/drm/intel/issues/1099
[i915#1149]: https://gitlab.freedesktop.org/drm/intel/issues/1149
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i91
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6090/index.html
LGTM.
Quoted 180 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.V2:
* Addressed comments from AnkitCc Imre Deak <[email protected]>Cc Ankit Nautiyal <[email protected]>Signed-off-by Bhanuprakash Modem <[email protected]>--- tests/kms_setmode.c | 116 +++++++++++++++++++++++++++++++++----------- 1 file changed, 88 insertions(+), 28 deletions(-)tests/kms_setmode.c +88
-29@@ -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,43 @@ 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++; - -if (filter_test_id && filter_test_id != test_id) -return ; +return (mode1->clock < mode2->clock) - (mode2->clock < mode1->clock); +} -igt_info (" Test id#%d CRTC count %d\n" , test_id, crtc_count); +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 ; -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 +591,70 @@ static void test_crtc_config(const struct test_config *tconf,free (ids); +/* crtcs[base].modes[i] don't fit, try next mode. */ +if (ret <0 && errno ==ENOSPC ) +continue ; +if (ret <0 ) {igt_assert_eq (errno,EINVAL ); - config_failed = true; + *config_failed = true; + +return ret; } + +/* Try all crtcs recursively. */ +if (base +1 < crtc_count) + ret =__test_crtc_config (crtcs, crtc_count, tconf, config_failed, base +1 ); + +/* +* With crtcs[base].modes[i], None of the crtc[base+1] modes fits +* into the link BW. +* +* Lets try with crtcs[base].modes[i+1] +*/ +if (ret <0 && errno ==ENOSPC ) +continue ; + +/* +* ret == 0, (or) ret < 0 && errno == EINVAL +* No need to try other modes of crtcs[base]. +*/ +return ret; + } + +/* When all crtcs[base].modes are tried & failed to fit into link BW. */ +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_skip_on_f ((ret <0 && errno ==ENOSPC ), +"No suitable mode(s) found to fit into the link BW\n" );igt_assert (config_failed == !!(tconf->flags &TEST_INVALID ));if (ret ==0 && tconf->flags &TEST_TIMINGS ) --2.32.0