tests/kms_plane_lowres: Use highest and lowest resolution for testing
PATCH v2 1/1 tests/kms_plane_lowres: Use highest and lowest resolution for testing
Sometimes the delta between the highest (the selected default mode) and lowest resolution is not big enough to carry out tests succesfully. Hence, let's change the test procedure so that we select the highest available mode for high resolution case and the lowest possible mode for low resolution case.
v2: Try default 1024x768 mode if we can't find suitable low resolution mode (CI)
--- tests/kms_plane_lowres.c | 55 ++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 28 deletions(-)
tests/kms_plane_lowres.c +27 -28
@@ -54,31 +54,25 @@ typedef struct {int x, y; } data_t; -static drmModeModeInfo -get_lowres_mode (int drmfd,igt_output_t *output, -const drmModeModeInfo *mode_default) +static drmModeModeInfo * +get_mode (int drmfd,igt_output_t *output,bool lowres) { -const drmModeModeInfo *mode; -bool found = false; -int limit = mode_default->vdisplay -SIZE ; +drmModeModeInfo *mode, *tmp;int j; -for (j =0 ; j < output->config.connector->count_modes; j++) { - mode = &output->config.connector->modes[j]; -if (mode->vdisplay < limit) { - found = true; -break ; + mode = &output->config.connector->modes[0 ]; +for (j =1 ; j < output->config.connector->count_modes; j++) { + tmp = &output->config.connector->modes[j]; +if (lowres) { +if (tmp->vdisplay < mode->vdisplay) + mode = tmp; + }else { +if (tmp->vdisplay > mode->vdisplay) + mode = tmp; } } -if (!found) { -igt_require_f (mode_default->vdisplay -SIZE >768 , -"Current mode not tall enough; plane would still be onscreen after switch to 10x7.\n" ); - -return *igt_std_1024_mode_get (); - } - -return *mode; +return mode; }static igt_plane_t *first_sdr_plane (igt_output_t *output,uint32_t devid)
@@ -164,8 +158,7 @@ static void create_ref_fb(data_t *data, uint64_t modifier,static unsigned test_planes_on_pipe_with_output (data_t *data,igt_plane_t *plane,uint64_t modifier) { -const drmModeModeInfo *mode; -drmModeModeInfo mode_lowres; +drmModeModeInfo *mode, *mode_lowres;igt_pipe_crc_t *pipe_crc;unsigned tested =0 ;igt_plane_t *primary;
@@ -174,8 +167,14 @@ test_planes_on_pipe_with_output(data_t *data, igt_plane_t *plane, uint64_t modifigt_output_set_pipe (data->output, data->pipe); primary =compatible_main_plane (plane, data->output, data->devid); - mode =igt_output_get_mode (data->output); - mode_lowres =get_lowres_mode (data->drm_fd, data->output, mode); + mode =get_mode (data->drm_fd, data->output, false); + mode_lowres =get_mode (data->drm_fd, data->output, true); + +if (mode->vdisplay - mode_lowres->vdisplay <SIZE ) + mode_lowres = (drmModeModeInfo *)igt_std_1024_mode_get (); + +igt_require_f (mode->vdisplay - mode_lowres->vdisplay >SIZE , +"Current mode not tall enough; plane would still be onscreen after switch to the lowest resolution.\n" ); igt_create_color_pattern_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, DRM_FORMAT_XRGB8888, modifier, 0.0, 0.0, 1.0,
@@ -194,17 +193,17 @@ test_planes_on_pipe_with_output(data_t *data, igt_plane_t *plane, uint64_t modif 1.0, 1.0, 0.0, &data->fb_plane[1]);create_ref_fb (data, modifier, mode, &data->ref_hires.fb); -create_ref_fb (data, modifier, &mode_lowres, &data->ref_lowres.fb); +create_ref_fb (data, modifier, mode_lowres, &data->ref_lowres.fb); pipe_crc =igt_pipe_crc_new (data->drm_fd, data->pipe,INTEL_PIPE_CRC_SOURCE_AUTO ); -igt_output_override_mode (data->output, &mode_lowres); +igt_output_override_mode (data->output, mode_lowres);igt_plane_set_fb (primary, &data->ref_lowres.fb);igt_display_commit2 (&data->display,COMMIT_ATOMIC );igt_pipe_crc_collect_crc (pipe_crc, &data->ref_lowres.crc); -igt_output_override_mode (data->output,NULL ); +igt_output_override_mode (data->output, mode);igt_plane_set_fb (primary, &data->ref_hires.fb);igt_display_commit2 (&data->display,COMMIT_ATOMIC );igt_pipe_crc_collect_crc (pipe_crc, &data->ref_hires.crc);
@@ -221,13 +220,13 @@ test_planes_on_pipe_with_output(data_t *data, igt_plane_t *plane, uint64_t modifigt_pipe_crc_collect_crc (pipe_crc, &crc_hires1);/* switch to lower resolution */ -igt_output_override_mode (data->output, &mode_lowres); +igt_output_override_mode (data->output, mode_lowres);igt_display_commit2 (&data->display,COMMIT_ATOMIC );igt_pipe_crc_collect_crc (pipe_crc, &crc_lowres);/* switch back to higher resolution */ -igt_output_override_mode (data->output,NULL ); +igt_output_override_mode (data->output, mode);igt_display_commit2 (&data->display,COMMIT_ATOMIC );igt_pipe_crc_collect_crc (pipe_crc, &crc_hires2);
Signature · 6 lines
2.25.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_plane_lowres: Use highest and lowest resolution for testing (rev2)
== Series Details ==
== Series Details ==
Series: tests/kms_plane_lowres: Use highest and lowest resolution for testing (rev2)
URL : https://patchwork.freedesktop.org/series/86698/
State : success
== Summary ==
CI Bug Log - changes from IGT_5992 -> IGTPW_5483
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/index.html
Known issues
------------
Here are the changes found in IGTPW_5483 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_basic@cs-gfx:
- fi-skl-6700k2: NOTRUN -> [SKIP][1] ([fdo#109271]) +28 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/fi-skl-6700k2/igt@amdgpu/[email protected]
* igt@gem_huc_copy@huc-copy:
- fi-skl-6700k2: NOTRUN -> [SKIP][2] ([fdo#109271] / [i915#2190])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/fi-skl-6700k2/igt@[email protected]
* igt@i915_hangman@error-state-basic:
- fi-tgl-y: [PASS][3] -> [DMESG-WARN][4] ([i915#402]) +2 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/fi-tgl-y/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/fi-tgl-y/igt@[email protected]
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- fi-skl-6700k2: NOTRUN -> [SKIP][5] ([fdo#109271] / [i915#533])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/fi-skl-6700k2/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s0:
- fi-skl-6700k2: [DMESG-WARN][6] ([i915#1602]) -> [PASS][7]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/fi-skl-6700k2/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/fi-skl-6700k2/igt@[email protected]
* igt@gem_exec_suspend@basic-s3:
- fi-tgl-y: [DMESG-WARN][8] ([i915#2411] / [i915#402]) -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/fi-tgl-y/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/fi-tgl-y/igt@[email protected]
* igt@kms_chamelium@dp-crc-fast:
- fi-icl-u2: [FAIL][10] ([i915#1161] / [i915#262]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/fi-icl-u2/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/fi-icl-u2/igt@[email protected]
* igt@prime_self_import@basic-with_one_bo_two_files:
- fi-tgl-y: [DMESG-WARN][12] ([i915#402]) -> [PASS][13] +1 similar issue
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/fi-tgl-y/igt@prime_self_import@basic-with_one_bo_two_files.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/fi-tgl-y/igt@prime_self_import@basic-with_one_bo_two_files.html
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#1161]: https://gitlab.freedesktop.org/drm/intel/issues/1161
[i915#1602]: https://gitlab.freedesktop.org/drm/intel/issues/1602
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2411]: https://gitlab.freedesktop.org/drm/intel/issues/2411
[i915#262]: https://gitlab.freedesktop.org/drm/intel/issues/262
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
Participating hosts (43 -> 38)
------------------------------
Missing (5): fi-jsl-1 fi-ilk-m540 fi-bsw-cyan fi-dg1-1 fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5992 -> IGTPW_5483
CI-20190529: 20190529
CI_DRM_9735: 186ea69ad1d026d004fbd64457fb576ab86556eb @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5483: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/index.html
IGT_5992: b781a32b06a0173a71b4e1ac30d18dd7164a67c4 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/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_plane_lowres: Use highest and lowest resolution for testing (rev2)
In reply to Mika Kahola== Series Details ==
== Series Details ==
Series: tests/kms_plane_lowres: Use highest and lowest resolution for testing (rev2)
URL : https://patchwork.freedesktop.org/series/86698/
State : success
== Summary ==
CI Bug Log - changes from IGT_5992_full -> IGTPW_5483_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/index.html
Known issues
------------
Here are the changes found in IGTPW_5483_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_eio@in-flight-suspend:
- shard-apl: [PASS][1] -> [DMESG-WARN][2] ([i915#1037] / [i915#180])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-apl3/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-apl8/igt@[email protected]
* igt@gem_exec_fair@basic-deadline:
- shard-kbl: [PASS][3] -> [FAIL][4] ([i915#2846])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-kbl2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-kbl2/igt@[email protected]
- shard-glk: [PASS][5] -> [FAIL][6] ([i915#2846])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-glk6/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-glk2/igt@[email protected]
- shard-apl: NOTRUN -> [FAIL][7] ([i915#2846])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-apl6/igt@[email protected]
* igt@gem_exec_fair@basic-flow@rcs0:
- shard-tglb: [PASS][8] -> [FAIL][9] ([i915#2842]) +1 similar issue
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-tglb1/igt@gem_exec_fair@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-tglb2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-rrul@rcs0:
- shard-iclb: NOTRUN -> [FAIL][10] ([i915#2842]) +1 similar issue
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb4/igt@gem_exec_fair@[email protected]
- shard-glk: NOTRUN -> [FAIL][11] ([i915#2842])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-glk8/igt@gem_exec_fair@[email protected]
- shard-tglb: NOTRUN -> [FAIL][12] ([i915#2842])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-tglb1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-apl: [PASS][13] -> [SKIP][14] ([fdo#109271])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-apl4/igt@gem_exec_fair@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-apl2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@vecs0:
- shard-kbl: [PASS][15] -> [FAIL][16] ([i915#2842])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-kbl1/igt@gem_exec_fair@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-kbl3/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@rcs0:
- shard-kbl: NOTRUN -> [FAIL][17] ([i915#2842])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-kbl6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-glk: [PASS][18] -> [FAIL][19] ([i915#2842])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-glk7/igt@gem_exec_fair@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-glk9/igt@gem_exec_fair@[email protected]
* igt@gem_exec_schedule@u-fairslice@vcs0:
- shard-kbl: [PASS][20] -> [DMESG-WARN][21] ([i915#1610] / [i915#2803])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-kbl7/igt@gem_exec_schedule@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-kbl4/igt@gem_exec_schedule@[email protected]
* igt@gem_exec_whisper@basic-contexts-forked-all:
- shard-glk: [PASS][22] -> [DMESG-WARN][23] ([i915#118] / [i915#95])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-glk4/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-glk2/igt@[email protected]
* igt@gem_render_copy@y-tiled-to-vebox-x-tiled:
- shard-iclb: NOTRUN -> [SKIP][24] ([i915#768])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb2/igt@[email protected]
* igt@gem_userptr_blits@input-checking:
- shard-kbl: NOTRUN -> [DMESG-WARN][25] ([i915#3002])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-kbl6/igt@[email protected]
* igt@gem_userptr_blits@vma-merge:
- shard-iclb: NOTRUN -> [INCOMPLETE][26] ([i915#2502] / [i915#2667])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb5/igt@[email protected]
- shard-tglb: NOTRUN -> [INCOMPLETE][27] ([i915#2502] / [i915#2667])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-tglb1/igt@[email protected]
* igt@gem_vm_create@destroy-race:
- shard-tglb: [PASS][28] -> [TIMEOUT][29] ([i915#2795])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-tglb2/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-tglb8/igt@[email protected]
* igt@gen7_exec_parse@batch-without-end:
- shard-iclb: NOTRUN -> [SKIP][30] ([fdo#109289]) +1 similar issue
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb3/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][31] ([fdo#109289]) +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-tglb8/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [PASS][32] -> [FAIL][33] ([i915#454])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-iclb5/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb4/igt@[email protected]
* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-dp:
- shard-kbl: NOTRUN -> [SKIP][34] ([fdo#109271] / [i915#1937])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-kbl2/igt@i915_pm_lpsp@[email protected]
- shard-apl: NOTRUN -> [SKIP][35] ([fdo#109271] / [i915#1937])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-apl4/igt@i915_pm_lpsp@[email protected]
* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-hdmi-a:
- shard-glk: NOTRUN -> [SKIP][36] ([fdo#109271] / [i915#1937])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-glk7/igt@i915_pm_lpsp@[email protected]
* igt@i915_pm_rpm@dpms-non-lpsp:
- shard-tglb: NOTRUN -> [SKIP][37] ([fdo#111644] / [i915#1397] / [i915#2411])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-tglb8/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][38] ([fdo#110892])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb6/igt@[email protected]
* igt@i915_pm_rpm@modeset-pc8-residency-stress:
- shard-apl: NOTRUN -> [SKIP][39] ([fdo#109271]) +48 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-apl8/igt@[email protected]
* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-kbl: [PASS][40] -> [INCOMPLETE][41] ([i915#155] / [i915#794])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-kbl2/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-kbl6/igt@[email protected]
* igt@kms_big_fb@yf-tiled-64bpp-rotate-90:
- shard-tglb: NOTRUN -> [SKIP][42] ([fdo#111615]) +1 similar issue
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-tglb2/igt@[email protected]
* igt@kms_big_fb@yf-tiled-8bpp-rotate-0:
- shard-iclb: NOTRUN -> [SKIP][43] ([fdo#110723]) +1 similar issue
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb1/igt@[email protected]
* igt@kms_chamelium@dp-crc-single:
- shard-snb: NOTRUN -> [SKIP][44] ([fdo#109271] / [fdo#111827]) +1 similar issue
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-snb5/igt@[email protected]
- shard-hsw: NOTRUN -> [SKIP][45] ([fdo#109271] / [fdo#111827]) +1 similar issue
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-hsw7/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][46] ([fdo#109271] / [fdo#111827]) +1 similar issue
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-glk6/igt@[email protected]
* igt@kms_chamelium@dp-edid-read:
- shard-iclb: NOTRUN -> [SKIP][47] ([fdo#109284] / [fdo#111827]) +5 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb7/igt@[email protected]
* igt@kms_chamelium@vga-frame-dump:
- shard-tglb: NOTRUN -> [SKIP][48] ([fdo#109284] / [fdo#111827]) +5 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-tglb2/igt@[email protected]
* igt@kms_chamelium@vga-hpd-for-each-pipe:
- shard-kbl: NOTRUN -> [SKIP][49] ([fdo#109271] / [fdo#111827]) +3 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-kbl3/igt@[email protected]
* igt@kms_color@pipe-b-ctm-0-25:
- shard-iclb: NOTRUN -> [FAIL][50] ([i915#1149] / [i915#315])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb2/igt@[email protected]
- shard-tglb: NOTRUN -> [FAIL][51] ([i915#1149] / [i915#315]) +1 similar issue
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-tglb2/igt@[email protected]
* igt@kms_color@pipe-d-ctm-0-25:
- shard-iclb: NOTRUN -> [SKIP][52] ([fdo#109278] / [i915#1149])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb4/igt@[email protected]
* igt@kms_color_chamelium@pipe-c-ctm-max:
- shard-apl: NOTRUN -> [SKIP][53] ([fdo#109271] / [fdo#111827]) +6 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-apl6/igt@[email protected]
* igt@kms_content_protection@atomic:
- shard-iclb: NOTRUN -> [SKIP][54] ([fdo#109300] / [fdo#111066])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb2/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][55] ([fdo#111828])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-tglb7/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-128x128-onscreen:
- shard-glk: [PASS][56] -> [FAIL][57] ([i915#54])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-glk2/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-glk4/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-512x170-sliding:
- shard-iclb: NOTRUN -> [SKIP][58] ([fdo#109278] / [fdo#109279])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb2/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-256x256-random:
- shard-kbl: [PASS][59] -> [FAIL][60] ([i915#54]) +1 similar issue
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-kbl7/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-kbl7/igt@[email protected]
- shard-apl: [PASS][61] -> [FAIL][62] ([i915#54]) +1 similar issue
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-apl6/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-apl3/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-512x170-offscreen:
- shard-kbl: NOTRUN -> [SKIP][63] ([fdo#109271]) +35 similar issues
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-kbl1/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-512x170-offscreen:
- shard-tglb: NOTRUN -> [SKIP][64] ([fdo#109279]) +1 similar issue
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-tglb6/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][65] ([fdo#109278]) +5 similar issues
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb8/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipa-toggle:
- shard-iclb: NOTRUN -> [SKIP][66] ([fdo#109274] / [fdo#109278]) +2 similar issues
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb4/igt@[email protected]
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-kbl: [PASS][67] -> [INCOMPLETE][68] ([i915#155] / [i915#180] / [i915#636])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-kbl6/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-kbl3/igt@[email protected]
* igt@kms_flip@2x-flip-vs-dpms:
- shard-iclb: NOTRUN -> [SKIP][69] ([fdo#109274]) +1 similar issue
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb8/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@a-edp1:
- shard-tglb: [PASS][70] -> [FAIL][71] ([i915#2598])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-tglb1/igt@kms_flip@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-tglb6/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend@a-dp1:
- shard-apl: [PASS][72] -> [DMESG-WARN][73] ([i915#180]) +2 similar issues
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-apl2/igt@kms_flip@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-apl4/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-indfb-plflip-blt:
- shard-tglb: NOTRUN -> [SKIP][74] ([fdo#111825]) +17 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-tglb1/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-render:
- shard-iclb: NOTRUN -> [SKIP][75] ([fdo#109280]) +12 similar issues
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb3/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-mmap-gtt:
- shard-hsw: NOTRUN -> [SKIP][76] ([fdo#109271]) +28 similar issues
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-hsw1/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-mmap-gtt.html
* igt@kms_plane_alpha_blend@pipe-b-constant-alpha-max:
- shard-apl: NOTRUN -> [FAIL][77] ([fdo#108145] / [i915#265]) +1 similar issue
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-apl1/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-constant-alpha-max:
- shard-glk: NOTRUN -> [FAIL][78] ([fdo#108145] / [i915#265])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-glk7/igt@[email protected]
- shard-kbl: NOTRUN -> [FAIL][79] ([fdo#108145] / [i915#265])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-kbl2/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-d-alpha-opaque-fb:
- shard-glk: NOTRUN -> [SKIP][80] ([fdo#109271]) +10 similar issues
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-glk7/igt@[email protected]
- shard-hsw: NOTRUN -> [SKIP][81] ([fdo#109271] / [i915#533]) +1 similar issue
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-hsw4/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-5:
- shard-glk: NOTRUN -> [SKIP][82] ([fdo#109271] / [i915#658])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-glk9/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][83] ([fdo#109271] / [i915#658]) +1 similar issue
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-apl6/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][84] ([fdo#109271] / [i915#658])
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-kbl1/igt@[email protected]
* igt@kms_psr2_sf@plane-move-sf-dmg-area-2:
- shard-tglb: NOTRUN -> [SKIP][85] ([i915#2920]) +1 similar issue
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-tglb1/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][86] ([i915#658]) +1 similar issue
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb3/igt@[email protected]
* igt@kms_psr@psr2_no_drrs:
- shard-iclb: NOTRUN -> [SKIP][87] ([fdo#109441])
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb1/igt@kms_psr@psr2_no_drrs.html
* igt@kms_psr@psr2_suspend:
- shard-iclb: [PASS][88] -> [SKIP][89] ([fdo#109441])
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-iclb2/igt@kms_psr@psr2_suspend.html
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb1/igt@kms_psr@psr2_suspend.html
* igt@kms_psr@sprite_plane_onoff:
- shard-snb: NOTRUN -> [SKIP][90] ([fdo#109271]) +30 similar issues
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-snb5/igt@kms_psr@sprite_plane_onoff.html
- shard-hsw: NOTRUN -> [SKIP][91] ([fdo#109271] / [i915#1072])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-hsw2/igt@kms_psr@sprite_plane_onoff.html
* igt@kms_writeback@writeback-invalid-parameters:
- shard-kbl: NOTRUN -> [SKIP][92] ([fdo#109271] / [i915#2437])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-kbl4/igt@[email protected]
* igt@perf_pmu@rc6-suspend:
- shard-kbl: [PASS][93] -> [INCOMPLETE][94] ([i915#794])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-kbl4/igt@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-kbl1/igt@[email protected]
* igt@prime_nv_api@nv_self_import_to_different_fd:
- shard-tglb: NOTRUN -> [SKIP][95] ([fdo#109291])
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-tglb2/igt@prime_nv_api@nv_self_import_to_different_fd.html
- shard-iclb: NOTRUN -> [SKIP][96] ([fdo#109291])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb2/igt@prime_nv_api@nv_self_import_to_different_fd.html
* igt@sysfs_clients@recycle:
- shard-tglb: [PASS][97] -> [FAIL][98] ([i915#3028])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-tglb2/igt@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-tglb6/igt@[email protected]
* igt@sysfs_clients@sema-10@vcs0:
- shard-apl: [PASS][99] -> [SKIP][100] ([fdo#109271] / [i915#3026]) +2 similar issues
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-apl7/igt@sysfs_clients@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-apl6/igt@sysfs_clients@[email protected]
#### Possible fixes ####
* igt@feature_discovery@psr2:
- shard-iclb: [SKIP][101] ([i915#658]) -> [PASS][102]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-iclb3/igt@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb2/igt@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-tglb: [FAIL][103] ([i915#2842]) -> [PASS][104] +1 similar issue
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-tglb7/igt@gem_exec_fair@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-tglb3/igt@gem_exec_fair@[email protected]
- shard-glk: [FAIL][105] ([i915#2842]) -> [PASS][106]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-glk4/igt@gem_exec_fair@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-glk7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vecs0:
- shard-iclb: [FAIL][107] ([i915#2842]) -> [PASS][108]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-iclb8/igt@gem_exec_fair@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-iclb: [FAIL][109] ([i915#2849]) -> [PASS][110]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-iclb7/igt@gem_exec_fair@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb5/igt@gem_exec_fair@[email protected]
* igt@gem_exec_reloc@basic-many-active@rcs0:
- shard-glk: [FAIL][111] ([i915#2389]) -> [PASS][112]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-glk6/igt@gem_exec_reloc@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-glk4/igt@gem_exec_reloc@[email protected]
* igt@gem_exec_schedule@u-fairslice@rcs0:
- shard-apl: [DMESG-WARN][113] ([i915#1610]) -> [PASS][114]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-apl3/igt@gem_exec_schedule@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-apl8/igt@gem_exec_schedule@[email protected]
* igt@gem_exec_whisper@basic-normal-all:
- shard-glk: [DMESG-WARN][115] ([i915#118] / [i915#95]) -> [PASS][116]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-glk2/igt@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-glk9/igt@[email protected]
* igt@gem_exec_whisper@basic-queues-priority-all:
- shard-iclb: [INCOMPLETE][117] ([i915#1895]) -> [PASS][118]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-iclb5/igt@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb1/igt@[email protected]
* igt@gem_softpin@noreloc-s3:
- shard-kbl: [DMESG-WARN][119] ([i915#180]) -> [PASS][120] +1 similar issue
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-kbl3/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-kbl7/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- shard-hsw: [INCOMPLETE][121] ([i915#2782]) -> [PASS][122]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-hsw4/igt@i915_selftest@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-hsw1/igt@i915_selftest@[email protected]
* igt@kms_color@pipe-c-legacy-gamma-reset:
- shard-glk: [FAIL][123] ([i915#2964]) -> [PASS][124]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-glk2/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-glk8/igt@[email protected]
- shard-hsw: [FAIL][125] ([i915#2964]) -> [PASS][126]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-hsw7/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-hsw2/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-toggle:
- shard-tglb: [FAIL][127] ([i915#2346]) -> [PASS][128]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-tglb1/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-tglb5/igt@[email protected]
* igt@kms_flip@2x-flip-vs-suspend-interruptible@bc-vga1-hdmi-a1:
- shard-hsw: [INCOMPLETE][129] ([i915#2055]) -> [PASS][130]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-hsw4/igt@kms_flip@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-hsw4/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1:
- shard-tglb: [FAIL][131] ([i915#2598]) -> [PASS][132]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-tglb7/igt@kms_flip@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-tglb7/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-apl: [DMESG-WARN][133] ([i915#180]) -> [PASS][134] +2 similar issues
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-apl4/igt@kms_flip@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-apl8/igt@kms_flip@[email protected]
* igt@kms_psr2_su@frontbuffer:
- shard-iclb: [SKIP][135] ([fdo#109642] / [fdo#111068] / [i915#658]) -> [PASS][136]
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-iclb1/igt@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb2/igt@[email protected]
* igt@kms_psr@psr2_dpms:
- shard-iclb: [SKIP][137] ([fdo#109441]) -> [PASS][138] +1 similar issue
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-iclb5/igt@kms_psr@psr2_dpms.html
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb2/igt@kms_psr@psr2_dpms.html
* igt@sysfs_clients@recycle:
- shard-glk: [FAIL][139] ([i915#3028]) -> [PASS][140]
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-glk6/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-glk3/igt@[email protected]
* {igt@sysfs_clients@recycle-many}:
- shard-kbl: [FAIL][141] ([i915#3028]) -> [PASS][142]
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-kbl7/igt@[email protected]
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-kbl2/igt@[email protected]
- shard-tglb: [FAIL][143] ([i915#3028]) -> [PASS][144]
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-tglb7/igt@[email protected]
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-tglb3/igt@[email protected]
* igt@sysfs_clients@sema-10@vecs0:
- shard-apl: [SKIP][145] ([fdo#109271] / [i915#3026]) -> [PASS][146]
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-apl7/igt@sysfs_clients@[email protected]
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-apl6/igt@sysfs_clients@[email protected]
#### Warnings ####
* igt@i915_pm_rc6_residency@rc6-fence:
- shard-iclb: [WARN][147] ([i915#1804] / [i915#2684]) -> [WARN][148] ([i915#2681] / [i915#2684])
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-iclb6/igt@[email protected]
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb1/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-apl: [FAIL][149] ([i915#54]) -> [DMESG-WARN][150] ([i915#180])
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-apl1/igt@[email protected]
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-apl2/igt@[email protected]
* igt@kms_psr2_sf@plane-move-sf-dmg-area-3:
- shard-iclb: [SKIP][151] ([i915#658]) -> [SKIP][152] ([i915#2920]) +1 similar issue
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-iclb3/igt@[email protected]
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/shard-iclb2/igt@[email protected]
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-5:
- shard-iclb: [SKIP][153] ([i915#2920]) -> [SKIP][154] ([i915#658]) +1 similar issue
[153]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5992/shard-iclb2/igt@[email protected]
[154]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5483/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Quoted 17 lines · Mika Kahola
Sometimes the delta between the highest (the selected default mode) and lowest resolution is not big enough to carry out tests succesfully. Hence, let's change the test procedure so that we select the highest available mode for high resolution case and the lowest possible mode for low resolution case.
v2: Try default 1024x768 mode if we can't find suitable low resolution mode (CI)
Signed-off-by Mika Kahola <[email protected]>--- tests/kms_plane_lowres.c | 55 ++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 28 deletions(-)tests/kms_plane_lowres.c +0
-0
tests/kms_plane_lowres.c typedef struct { · line 58
Quoted 8 lines
tests/kms_plane_lowres.c +2
-3@@ -54,31 +54,25 @@ typedef struct {int x, y; } data_t; -static drmModeModeInfo -get_lowres_mode (int drmfd,igt_output_t *output, -const drmModeModeInfo *mode_default) +static drmModeModeInfo * +get_mode (int drmfd,igt_output_t *output,bool lowres)
I see this is called twice with just flip flopping lowres switch. How about making it like this instead:
get_mode(int drmfd, igt_output_t *output, drmModeModeInfoPtr himode, drmModeModeInfoPtr lomode)
This way you can avoid playing with tmp also do all comparisons on pointers on parameter.
Quoted 91 lines
tests/kms_plane_lowres.c +24
-24{ -const drmModeModeInfo *mode; -bool found = false; -int limit = mode_default->vdisplay -SIZE ; +drmModeModeInfo *mode, *tmp;int j; -for (j =0 ; j < output->config.connector->count_modes; j++) { - mode = &output->config.connector->modes[j]; -if (mode->vdisplay < limit) { - found = true; -break ; + mode = &output->config.connector->modes[0 ]; +for (j =1 ; j < output->config.connector->count_modes; j++) { + tmp = &output->config.connector->modes[j]; +if (lowres) { +if (tmp->vdisplay < mode->vdisplay) + mode = tmp; + }else { +if (tmp->vdisplay > mode->vdisplay) + mode = tmp; } } -if (!found) { -igt_require_f (mode_default->vdisplay -SIZE >768 , -"Current mode not tall enough; plane would still be onscreen after switch to 10x7.\n" ); - -return *igt_std_1024_mode_get (); - } - -return *mode; +return mode; }static igt_plane_t *first_sdr_plane (igt_output_t *output,uint32_t devid)@@ -164,8 +158,7 @@ static void create_ref_fb(data_t *data, uint64_t modifier,static unsigned test_planes_on_pipe_with_output (data_t *data,igt_plane_t *plane,uint64_t modifier) { -const drmModeModeInfo *mode; -drmModeModeInfo mode_lowres; +drmModeModeInfo *mode, *mode_lowres;igt_pipe_crc_t *pipe_crc;unsigned tested =0 ;igt_plane_t *primary;@@ -174,8 +167,14 @@ test_planes_on_pipe_with_output(data_t *data, igt_plane_t *plane, uint64_t modifigt_output_set_pipe (data->output, data->pipe); primary =compatible_main_plane (plane, data->output, data->devid); - mode =igt_output_get_mode (data->output); - mode_lowres =get_lowres_mode (data->drm_fd, data->output, mode); + mode =get_mode (data->drm_fd, data->output, false); + mode_lowres =get_mode (data->drm_fd, data->output, true); + +if (mode->vdisplay - mode_lowres->vdisplay <SIZE ) + mode_lowres = (drmModeModeInfo *)igt_std_1024_mode_get (); + +igt_require_f (mode->vdisplay - mode_lowres->vdisplay >SIZE , +"Current mode not tall enough; plane would still be onscreen after switch to the lowest resolution.\n" ); igt_create_color_pattern_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, DRM_FORMAT_XRGB8888, modifier, 0.0, 0.0, 1.0,@@ -194,17 +193,17 @@ test_planes_on_pipe_with_output(data_t *data, igt_plane_t *plane, uint64_t modif 1.0, 1.0, 0.0, &data->fb_plane[1]);create_ref_fb (data, modifier, mode, &data->ref_hires.fb); -create_ref_fb (data, modifier, &mode_lowres, &data->ref_lowres.fb); +create_ref_fb (data, modifier, mode_lowres, &data->ref_lowres.fb); pipe_crc =igt_pipe_crc_new (data->drm_fd, data->pipe,INTEL_PIPE_CRC_SOURCE_AUTO ); -igt_output_override_mode (data->output, &mode_lowres); +igt_output_override_mode (data->output, mode_lowres);igt_plane_set_fb (primary, &data->ref_lowres.fb);igt_display_commit2 (&data->display,COMMIT_ATOMIC );igt_pipe_crc_collect_crc (pipe_crc, &data->ref_lowres.crc); -igt_output_override_mode (data->output,NULL ); +igt_output_override_mode (data->output, mode);igt_plane_set_fb (primary, &data->ref_hires.fb);igt_display_commit2 (&data->display,COMMIT_ATOMIC );igt_pipe_crc_collect_crc (pipe_crc, &data->ref_hires.crc);@@ -221,13 +220,13 @@ test_planes_on_pipe_with_output(data_t *data, igt_plane_t *plane, uint64_t modifigt_pipe_crc_collect_crc (pipe_crc, &crc_hires1);/* switch to lower resolution */ -igt_output_override_mode (data->output, &mode_lowres); +igt_output_override_mode (data->output, mode_lowres);
tests/kms_plane_lowres.c test_planes_on_pipe_with_output(data_t *data, igt_plane_t *plane, uint64_t modif · line 232
Quoted 10 lines
tests/kms_plane_lowres.c +1
-1igt_display_commit2 (&data->display,COMMIT_ATOMIC );igt_pipe_crc_collect_crc (pipe_crc, &crc_lowres);/* switch back to higher resolution */ -igt_output_override_mode (data->output,NULL ); +igt_output_override_mode (data->output, mode);igt_display_commit2 (&data->display,COMMIT_ATOMIC );igt_pipe_crc_collect_crc (pipe_crc, &crc_hires2);
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev