tests/kms_vblank: Turn on hardware before testing invalid vblank.
PATCH 1/1 tests/kms_vblank: Turn on hardware before testing invalid vblank.
From: Mark Yacoub <[email protected]>
[Why]
Before any hardware is on, the vblank is off and its ref counter is in an initialized state as each driver handles toggling it differently. Ioctl DRM_IOCTL_WAIT_VBLANK could return 0 or invalid depending on the hardware, without necessarily meaning anything.
[How]
For invalid_subtest(), active the CRTCs to turn the hardware on so DRM_IOCTL_WAIT_VBLANK returns something meaningful.
--- tests/kms_vblank.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
tests/kms_vblank.c +10 -1
@@ -475,8 +475,14 @@ static void invalid_subtest(data_t *data, int fd) {union drm_wait_vblank vbl;unsigned long valid_flags; +igt_display_t * display = &data->display; +enum pipe p =0 ; +igt_output_t * output; -igt_display_require_output_on_pipe (&data->display,0 ); +igt_display_require_output_on_pipe (display, p); + data->pipe = p; +for_each_valid_output_on_pipe (display, p, output) +prepare_crtc (data, fd, output);/* First check all is well with a simple query */ memset (&vbl,0 ,sizeof (vbl));
@@ -511,6 +517,9 @@ static void invalid_subtest(data_t *data, int fd) vbl.request.type |= _DRM_VBLANK_SECONDARY; vbl.request.type |= _DRM_VBLANK_FLAGS_MASK;igt_assert_eq (wait_vblank (fd, &vbl), -EINVAL ); + +for_each_valid_output_on_pipe (display, p, output) +cleanup_crtc (data, fd, output); } igt_main
Signature · 6 lines
2.31.1.818.g46aad6cb9e-goog _______________________________________________ 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_vblank: Turn on hardware before testing invalid vblank.
== Series Details ==
== Series Details ==
Series: tests/kms_vblank: Turn on hardware before testing invalid vblank.
URL : https://patchwork.freedesktop.org/series/90382/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10114 -> IGTPW_5828
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/index.html
Known issues
------------
Here are the changes found in IGTPW_5828 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_module_load@reload:
- fi-kbl-soraka: [PASS][1] -> [DMESG-WARN][2] ([i915#1982])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/fi-kbl-soraka/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/fi-kbl-soraka/igt@[email protected]
* igt@i915_pm_rpm@module-reload:
- fi-kbl-guc: [PASS][3] -> [INCOMPLETE][4] ([i915#151])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/fi-kbl-guc/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/fi-kbl-guc/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- fi-icl-u2: [PASS][5] -> [FAIL][6] ([i915#49])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/fi-icl-u2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/fi-icl-u2/igt@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@hangcheck:
- {fi-hsw-gt1}: [DMESG-WARN][7] ([i915#3303]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/fi-hsw-gt1/igt@i915_selftest@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/fi-hsw-gt1/igt@i915_selftest@[email protected]
#### Warnings ####
* igt@runner@aborted:
- fi-kbl-x1275: [FAIL][9] ([i915#1436] / [i915#3363]) -> [FAIL][10] ([i915#1436] / [i915#2426] / [i915#3363])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/fi-kbl-x1275/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/fi-kbl-x1275/igt@[email protected]
- fi-bdw-5557u: [FAIL][11] ([i915#3462]) -> [FAIL][12] ([i915#1602] / [i915#2029])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/fi-bdw-5557u/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/fi-bdw-5557u/igt@[email protected]
- fi-skl-6700k2: [FAIL][13] ([i915#1436] / [i915#3363]) -> [FAIL][14] ([i915#1436] / [i915#2426] / [i915#3363])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/fi-skl-6700k2/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/fi-skl-6700k2/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#151]: https://gitlab.freedesktop.org/drm/intel/issues/151
[i915#1602]: https://gitlab.freedesktop.org/drm/intel/issues/1602
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2029]: https://gitlab.freedesktop.org/drm/intel/issues/2029
[i915#2426]: https://gitlab.freedesktop.org/drm/intel/issues/2426
[i915#3277]: https://gitlab.freedesktop.org/drm/intel/issues/3277
[i915#3283]: https://gitlab.freedesktop.org/drm/intel/issues/3283
[i915#3303]: https://gitlab.freedesktop.org/drm/intel/issues/3303
[i915#3363]: https://gitlab.freedesktop.org/drm/intel/issues/3363
[i915#3462]: https://gitlab.freedesktop.org/drm/intel/issues/3462
[i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49
Participating hosts (42 -> 37)
------------------------------
Missing (5): fi-hsw-4200u fi-bdw-gvtdvm fi-bsw-cyan fi-dg1-1 fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_6090 -> IGTPW_5828
CI-20190529: 20190529
CI_DRM_10114: 585bd31ef1042586d598531d9ce3f26c3ee13a1d @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5828: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/index.html
IGT_6090: 8eeb9c130e75d4063d0dc2ed69c8acde66b6b5d0 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/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_vblank: Turn on hardware before testing invalid vblank.
In reply to Mark Yacoub== Series Details ==
== Series Details ==
Series: tests/kms_vblank: Turn on hardware before testing invalid vblank.
URL : https://patchwork.freedesktop.org/series/90382/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10114_full -> IGTPW_5828_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/index.html
Known issues
------------
Here are the changes found in IGTPW_5828_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_5828/shard-apl7/igt@[email protected]
* igt@gem_ctx_persistence@legacy-engines-persistence:
- shard-snb: NOTRUN -> [SKIP][2] ([fdo#109271] / [i915#1099]) +1 similar issue
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-snb7/igt@[email protected]
* igt@gem_ctx_sseu@mmap-args:
- shard-tglb: NOTRUN -> [SKIP][3] ([i915#280])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb2/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-tglb: [PASS][4] -> [TIMEOUT][5] ([i915#2369] / [i915#3063])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/shard-tglb6/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb3/igt@[email protected]
* igt@gem_exec_fair@basic-none-rrul@rcs0:
- shard-iclb: NOTRUN -> [FAIL][6] ([i915#2842])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb5/igt@gem_exec_fair@[email protected]
- shard-glk: NOTRUN -> [FAIL][7] ([i915#2842])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-glk8/igt@gem_exec_fair@[email protected]
- shard-tglb: NOTRUN -> [FAIL][8] ([i915#2842])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb3/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-tglb: [PASS][9] -> [FAIL][10] ([i915#2842])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/shard-tglb7/igt@gem_exec_fair@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_reloc@basic-wide-active@bcs0:
- shard-glk: NOTRUN -> [FAIL][11] ([i915#2389]) +3 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-glk4/igt@gem_exec_reloc@[email protected]
- shard-tglb: NOTRUN -> [FAIL][12] ([i915#2389]) +4 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb2/igt@gem_exec_reloc@[email protected]
* igt@gem_exec_reloc@basic-wide-active@rcs0:
- shard-iclb: NOTRUN -> [FAIL][13] ([i915#2389]) +3 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb5/igt@gem_exec_reloc@[email protected]
- shard-kbl: NOTRUN -> [FAIL][14] ([i915#2389]) +4 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-kbl1/igt@gem_exec_reloc@[email protected]
* igt@gem_mmap_gtt@cpuset-basic-small-copy:
- shard-tglb: [PASS][15] -> [INCOMPLETE][16] ([i915#3468])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/shard-tglb5/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb6/igt@[email protected]
* igt@gem_mmap_gtt@cpuset-basic-small-copy-odd:
- shard-apl: NOTRUN -> [INCOMPLETE][17] ([i915#3468]) +1 similar issue
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-apl6/igt@[email protected]
* igt@gem_mmap_gtt@cpuset-basic-small-copy-xy:
- shard-snb: NOTRUN -> [INCOMPLETE][18] ([i915#2055] / [i915#3468])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-snb2/igt@[email protected]
- shard-kbl: [PASS][19] -> [INCOMPLETE][20] ([i915#3468])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/shard-kbl4/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-kbl7/igt@[email protected]
* igt@gem_mmap_gtt@cpuset-medium-copy-xy:
- shard-glk: [PASS][21] -> [INCOMPLETE][22] ([i915#3468])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/shard-glk1/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-glk2/igt@[email protected]
* igt@gem_mmap_gtt@fault-concurrent-y:
- shard-snb: NOTRUN -> [INCOMPLETE][23] ([i915#3468])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-snb7/igt@[email protected]
* igt@gem_pread@exhaustion:
- shard-tglb: NOTRUN -> [WARN][24] ([i915#2658])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb3/igt@[email protected]
- shard-glk: NOTRUN -> [WARN][25] ([i915#2658])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-glk5/igt@[email protected]
- shard-apl: NOTRUN -> [WARN][26] ([i915#2658])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-apl6/igt@[email protected]
- shard-iclb: NOTRUN -> [WARN][27] ([i915#2658])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb5/igt@[email protected]
- shard-snb: NOTRUN -> [WARN][28] ([i915#2658])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-snb7/igt@[email protected]
- shard-kbl: NOTRUN -> [WARN][29] ([i915#2658])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-kbl3/igt@[email protected]
* igt@gem_render_copy@x-tiled-to-vebox-y-tiled:
- shard-iclb: NOTRUN -> [SKIP][30] ([i915#768])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb3/igt@[email protected]
* igt@gem_userptr_blits@access-control:
- shard-tglb: NOTRUN -> [SKIP][31] ([i915#3297]) +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb1/igt@[email protected]
* igt@gem_userptr_blits@coherency-sync:
- shard-tglb: NOTRUN -> [SKIP][32] ([fdo#110542])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb7/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][33] ([fdo#109290])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb1/igt@[email protected]
* igt@gem_userptr_blits@dmabuf-sync:
- shard-kbl: NOTRUN -> [SKIP][34] ([fdo#109271] / [i915#3323])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-kbl7/igt@[email protected]
* igt@gem_userptr_blits@readonly-pwrite-unsync:
- shard-iclb: NOTRUN -> [SKIP][35] ([i915#3297]) +1 similar issue
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb5/igt@[email protected]
* igt@gem_userptr_blits@vma-merge:
- shard-snb: NOTRUN -> [FAIL][36] ([i915#2724])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-snb7/igt@[email protected]
* igt@gem_workarounds@suspend-resume-fd:
- shard-kbl: [PASS][37] -> [DMESG-WARN][38] ([i915#180]) +2 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/shard-kbl4/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-kbl4/igt@[email protected]
* igt@gen7_exec_parse@batch-without-end:
- shard-iclb: NOTRUN -> [SKIP][39] ([fdo#109289]) +1 similar issue
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb3/igt@[email protected]
* igt@gen9_exec_parse@allowed-all:
- shard-glk: [PASS][40] -> [DMESG-WARN][41] ([i915#1436] / [i915#716])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/shard-glk7/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-glk7/igt@[email protected]
* igt@gen9_exec_parse@basic-rejected-ctx-param:
- shard-tglb: NOTRUN -> [SKIP][42] ([fdo#112306]) +1 similar issue
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb7/igt@[email protected]
* igt@gen9_exec_parse@batch-zero-length:
- shard-iclb: NOTRUN -> [SKIP][43] ([fdo#112306]) +1 similar issue
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb1/igt@[email protected]
* igt@gen9_exec_parse@bb-large:
- shard-kbl: NOTRUN -> [FAIL][44] ([i915#3296])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-kbl1/igt@[email protected]
* igt@i915_pm_dc@dc9-dpms:
- shard-tglb: NOTRUN -> [SKIP][45] ([i915#3288])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb2/igt@[email protected]
- shard-iclb: NOTRUN -> [FAIL][46] ([i915#3343])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb5/igt@[email protected]
* igt@i915_pm_rpm@i2c:
- shard-tglb: [PASS][47] -> [DMESG-WARN][48] ([i915#2411])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/shard-tglb5/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb5/igt@[email protected]
* igt@i915_pm_rpm@modeset-pc8-residency-stress:
- shard-iclb: NOTRUN -> [SKIP][49] ([fdo#109293] / [fdo#109506])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb5/igt@[email protected]
* igt@kms_big_fb@x-tiled-64bpp-rotate-270:
- shard-iclb: NOTRUN -> [SKIP][50] ([fdo#110725] / [fdo#111614]) +2 similar issues
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb8/igt@[email protected]
* igt@kms_big_fb@y-tiled-64bpp-rotate-270:
- shard-tglb: NOTRUN -> [SKIP][51] ([fdo#111614]) +2 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb3/igt@[email protected]
* igt@kms_big_fb@yf-tiled-8bpp-rotate-270:
- shard-iclb: NOTRUN -> [SKIP][52] ([fdo#110723])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb1/igt@[email protected]
* igt@kms_big_joiner@basic:
- shard-apl: NOTRUN -> [SKIP][53] ([fdo#109271] / [i915#2705]) +1 similar issue
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-apl7/igt@[email protected]
* igt@kms_ccs@pipe-d-bad-rotation-90:
- shard-iclb: NOTRUN -> [SKIP][54] ([fdo#109278]) +16 similar issues
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb5/igt@[email protected]
* igt@kms_chamelium@dp-crc-multiple:
- shard-apl: NOTRUN -> [SKIP][55] ([fdo#109271] / [fdo#111827]) +13 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-apl7/igt@[email protected]
* igt@kms_chamelium@hdmi-aspect-ratio:
- shard-glk: NOTRUN -> [SKIP][56] ([fdo#109271] / [fdo#111827]) +5 similar issues
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-glk2/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-enable-disable-mode:
- shard-snb: NOTRUN -> [SKIP][57] ([fdo#109271] / [fdo#111827]) +13 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-snb5/igt@[email protected]
* igt@kms_chamelium@vga-hpd-with-enabled-mode:
- shard-iclb: NOTRUN -> [SKIP][58] ([fdo#109284] / [fdo#111827]) +6 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb8/igt@[email protected]
* igt@kms_color_chamelium@pipe-d-ctm-limited-range:
- shard-tglb: NOTRUN -> [SKIP][59] ([fdo#109284] / [fdo#111827]) +5 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb8/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][60] ([fdo#109278] / [fdo#109284] / [fdo#111827])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb5/igt@[email protected]
* igt@kms_color_chamelium@pipe-invalid-gamma-lut-sizes:
- shard-kbl: NOTRUN -> [SKIP][61] ([fdo#109271] / [fdo#111827]) +12 similar issues
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-kbl4/igt@[email protected]
* igt@kms_content_protection@atomic-dpms:
- shard-apl: NOTRUN -> [TIMEOUT][62] ([i915#1319]) +1 similar issue
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-apl7/igt@[email protected]
* igt@kms_content_protection@legacy:
- shard-iclb: NOTRUN -> [SKIP][63] ([fdo#109300] / [fdo#111066]) +2 similar issues
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb1/igt@[email protected]
- shard-kbl: NOTRUN -> [TIMEOUT][64] ([i915#1319])
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-kbl7/igt@[email protected]
* igt@kms_content_protection@srm:
- shard-tglb: NOTRUN -> [SKIP][65] ([fdo#111828]) +2 similar issues
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb5/igt@[email protected]
* igt@kms_content_protection@uevent:
- shard-kbl: NOTRUN -> [FAIL][66] ([i915#2105])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-kbl4/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-128x42-onscreen:
- shard-apl: NOTRUN -> [FAIL][67] ([i915#3444])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-apl7/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-512x512-offscreen:
- shard-iclb: NOTRUN -> [SKIP][68] ([fdo#109278] / [fdo#109279]) +3 similar issues
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb5/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-kbl: NOTRUN -> [DMESG-WARN][69] ([i915#180]) +6 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-kbl3/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-512x170-random:
- shard-tglb: NOTRUN -> [SKIP][70] ([fdo#109279] / [i915#3359]) +3 similar issues
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb7/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-32x32-sliding:
- shard-tglb: NOTRUN -> [SKIP][71] ([i915#3319]) +1 similar issue
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb3/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-max-size-offscreen:
- shard-tglb: NOTRUN -> [SKIP][72] ([i915#3359]) +1 similar issue
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb6/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-suspend:
- shard-kbl: NOTRUN -> [SKIP][73] ([fdo#109271]) +157 similar issues
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-kbl7/igt@[email protected]
* igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy:
- shard-iclb: NOTRUN -> [SKIP][74] ([fdo#109274] / [fdo#109278]) +5 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb5/igt@[email protected]
* igt@kms_dp_dsc@basic-dsc-enable-edp:
- shard-iclb: NOTRUN -> [SKIP][75] ([fdo#109349])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb8/igt@[email protected]
- shard-tglb: NOTRUN -> [CRASH][76] ([i915#3494])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb5/igt@[email protected]
* igt@kms_flip@2x-nonexisting-fb-interruptible:
- shard-iclb: NOTRUN -> [SKIP][77] ([fdo#109274]) +4 similar issues
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb1/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile:
- shard-apl: NOTRUN -> [SKIP][78] ([fdo#109271] / [i915#2642])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-apl6/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile:
- shard-snb: NOTRUN -> [SKIP][79] ([fdo#109271]) +260 similar issues
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-snb7/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][80] ([fdo#109271] / [i915#2642])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-kbl3/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs:
- shard-iclb: NOTRUN -> [SKIP][81] ([i915#2587])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-onoff:
- shard-tglb: NOTRUN -> [SKIP][82] ([fdo#111825]) +30 similar issues
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb3/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-shrfb-draw-mmap-cpu:
- shard-iclb: NOTRUN -> [SKIP][83] ([fdo#109280]) +24 similar issues
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb5/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-shrfb-draw-mmap-cpu.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-mmap-wc:
- shard-glk: NOTRUN -> [SKIP][84] ([fdo#109271]) +62 similar issues
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-glk5/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-blt:
- shard-apl: NOTRUN -> [SKIP][85] ([fdo#109271]) +140 similar issues
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-apl6/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-blt.html
* igt@kms_invalid_dotclock:
- shard-tglb: NOTRUN -> [SKIP][86] ([fdo#110577])
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb5/igt@kms_invalid_dotclock.html
- shard-iclb: NOTRUN -> [SKIP][87] ([fdo#109310])
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb5/igt@kms_invalid_dotclock.html
* igt@kms_pipe_b_c_ivb@pipe-b-double-modeset-then-modeset-pipe-c:
- shard-tglb: NOTRUN -> [SKIP][88] ([fdo#109289]) +1 similar issue
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb3/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-d-frame-sequence:
- shard-kbl: NOTRUN -> [SKIP][89] ([fdo#109271] / [i915#533])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-kbl3/igt@[email protected]
* igt@kms_pipe_crc_basic@read-crc-pipe-d:
- shard-apl: NOTRUN -> [SKIP][90] ([fdo#109271] / [i915#533])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-apl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-alpha-7efc:
- shard-apl: NOTRUN -> [FAIL][91] ([fdo#108145] / [i915#265]) +3 similar issues
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-apl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-alpha-7efc:
- shard-kbl: NOTRUN -> [FAIL][92] ([fdo#108145] / [i915#265]) +1 similar issue
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-kbl3/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-alpha-opaque-fb:
- shard-glk: NOTRUN -> [FAIL][93] ([fdo#108145] / [i915#265])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-glk3/igt@[email protected]
* igt@kms_plane_multiple@atomic-pipe-b-tiling-yf:
- shard-tglb: NOTRUN -> [SKIP][94] ([fdo#111615]) +2 similar issues
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb3/igt@[email protected]
* igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping:
- shard-apl: NOTRUN -> [SKIP][95] ([fdo#109271] / [i915#2733])
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/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][96] ([fdo#109271] / [i915#658]) +3 similar issues
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-apl6/igt@[email protected]
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-1:
- shard-iclb: NOTRUN -> [SKIP][97] ([i915#658]) +1 similar issue
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb3/igt@[email protected]
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-3:
- shard-tglb: NOTRUN -> [SKIP][98] ([i915#2920])
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb3/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][99] ([fdo#109271] / [i915#658])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-glk5/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][100] ([fdo#109271] / [i915#658]) +1 similar issue
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-kbl3/igt@[email protected]
* igt@kms_psr@psr2_primary_mmap_gtt:
- shard-tglb: NOTRUN -> [FAIL][101] ([i915#132] / [i915#3467]) +1 similar issue
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb8/igt@kms_psr@psr2_primary_mmap_gtt.html
* igt@kms_psr@psr2_primary_page_flip:
- shard-iclb: NOTRUN -> [SKIP][102] ([fdo#109441]) +2 similar issues
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb6/igt@kms_psr@psr2_primary_page_flip.html
* igt@kms_vrr@flip-suspend:
- shard-iclb: NOTRUN -> [SKIP][103] ([fdo#109502]) +1 similar issue
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb3/igt@[email protected]
* igt@kms_vrr@flipline:
- shard-tglb: NOTRUN -> [SKIP][104] ([fdo#109502])
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb3/igt@[email protected]
* igt@nouveau_crc@pipe-a-ctx-flip-skip-current-frame:
- shard-tglb: NOTRUN -> [SKIP][105] ([i915#2530]) +1 similar issue
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb1/igt@[email protected]
* igt@nouveau_crc@pipe-b-ctx-flip-skip-current-frame:
- shard-iclb: NOTRUN -> [SKIP][106] ([i915#2530]) +2 similar issues
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb1/igt@[email protected]
* igt@perf_pmu@event-wait@rcs0:
- shard-iclb: NOTRUN -> [SKIP][107] ([fdo#112283])
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb3/igt@perf_pmu@[email protected]
- shard-tglb: NOTRUN -> [SKIP][108] ([fdo#112283])
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb2/igt@perf_pmu@[email protected]
* igt@prime_nv_test@nv_write_i915_gtt_mmap_read:
- shard-tglb: NOTRUN -> [SKIP][109] ([fdo#109291]) +1 similar issue
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb3/igt@prime_nv_test@nv_write_i915_gtt_mmap_read.html
- shard-iclb: NOTRUN -> [SKIP][110] ([fdo#109291]) +1 similar issue
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb8/igt@prime_nv_test@nv_write_i915_gtt_mmap_read.html
* igt@prime_vgem@fence-flip-hang:
- shard-iclb: NOTRUN -> [SKIP][111] ([fdo#109295])
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb5/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][112] ([fdo#109295])
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb6/igt@[email protected]
* igt@sysfs_clients@fair-0:
- shard-tglb: NOTRUN -> [SKIP][113] ([i915#2994])
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb5/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][114] ([fdo#109271] / [i915#2994])
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-glk2/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][115] ([i915#2994])
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb3/igt@[email protected]
* igt@sysfs_clients@sema-10:
- shard-apl: NOTRUN -> [SKIP][116] ([fdo#109271] / [i915#2994]) +2 similar issues
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-apl6/igt@[email protected]
* igt@sysfs_clients@split-50:
- shard-kbl: NOTRUN -> [SKIP][117] ([fdo#109271] / [i915#2994]) +2 similar issues
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-kbl3/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-glk: [FAIL][118] ([i915#2842]) -> [PASS][119] +1 similar issue
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/shard-glk4/igt@gem_exec_fair@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-glk4/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@vecs0:
- shard-kbl: [FAIL][120] ([i915#2842]) -> [PASS][121]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/shard-kbl1/igt@gem_exec_fair@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-kbl2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vcs0:
- shard-tglb: [FAIL][122] ([i915#2842]) -> [PASS][123]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/shard-tglb8/igt@gem_exec_fair@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb2/igt@gem_exec_fair@[email protected]
* igt@gem_mmap_gtt@big-copy:
- shard-glk: [FAIL][124] ([i915#307]) -> [PASS][125]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/shard-glk7/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-glk1/igt@[email protected]
* igt@gem_mmap_gtt@cpuset-basic-small-copy:
- shard-iclb: [INCOMPLETE][126] ([i915#3468]) -> [PASS][127]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/shard-iclb3/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb3/igt@[email protected]
* igt@gem_mmap_gtt@cpuset-basic-small-copy-odd:
- shard-kbl: [INCOMPLETE][128] ([i915#3468]) -> [PASS][129]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/shard-kbl3/igt@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-kbl3/igt@[email protected]
* igt@gem_mmap_gtt@cpuset-basic-small-copy-xy:
- shard-tglb: [INCOMPLETE][130] ([i915#3468]) -> [PASS][131]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/shard-tglb2/igt@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-tglb8/igt@[email protected]
* igt@gem_mmap_gtt@cpuset-medium-copy:
- shard-iclb: [FAIL][132] ([i915#307]) -> [PASS][133]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/shard-iclb6/igt@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb3/igt@[email protected]
* igt@gem_request_retire@retire-vma-not-inactive:
- shard-iclb: [INCOMPLETE][134] ([i915#2895]) -> [PASS][135]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/shard-iclb1/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/shard-iclb5/igt@[email protected]
* igt@i915_suspend@fence-restore-untiled:
- shard-kbl: [DMESG-WARN][136] ([i915#180]) -> [PASS][137]
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10114/shard-kbl4/igt@[email protected]
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5828/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
friendly ping
Quoted 47 lines · Mark Yacoub
From: Mark Yacoub <[email protected]>
[Why]
Before any hardware is on, the vblank is off and its ref counter is in an initialized state as each driver handles toggling it differently. IoctlDRM_IOCTL_WAIT_VBLANKcould return 0 or invalid depending on the hardware, without necessarily meaning anything.[How]
Forinvalid_subtest(), active the CRTCs to turn the hardware on soDRM_IOCTL_WAIT_VBLANKreturns something meaningful.--- tests/kms_vblank.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)tests/kms_vblank.c +10
-2@@ -475,8 +475,14 @@ static void invalid_subtest(data_t *data, int fd) {union drm_wait_vblank vbl;unsigned long valid_flags; +igt_display_t * display = &data->display; +enum pipe p =0 ; +igt_output_t * output; -igt_display_require_output_on_pipe (&data->display,0 ); +igt_display_require_output_on_pipe (display, p); + data->pipe = p; +for_each_valid_output_on_pipe (display, p, output) +prepare_crtc (data, fd, output);/* First check all is well with a simple query */ memset (&vbl,0 ,sizeof (vbl));@@ -511,6 +517,9 @@ static void invalid_subtest(data_t *data, int fd) vbl.request.type |= _DRM_VBLANK_SECONDARY; vbl.request.type |= _DRM_VBLANK_FLAGS_MASK;igt_assert_eq (wait_vblank (fd, &vbl), -EINVAL ); + +for_each_valid_output_on_pipe (display, p, output) +cleanup_crtc (data, fd, output); } igt_main --
Quoted 2 lines
2.31.1.818.g46aad6cb9e-goog
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Hi Mark,
See my comments inline.
Quoted 7 lines · Mark Yacoub
From: Mark Yacoub <[email protected]>
[Why]
Before any hardware is on, the vblank is off and its ref counter is in an initialized state as each driver handles toggling it differently. IoctlDRM_IOCTL_WAIT_VBLANKcould return 0 or invalid depending on the hardware, without necessarily meaning anything.
Maybe you can add some hardware examples here.
Quoted 3 lines
[How]
Forinvalid_subtest(), active the CRTCs to turn the hardware on soDRM_IOCTL_WAIT_VBLANKreturns something meaningful.
You forgot the Signed-off-by.
tests/kms_vblank.c static void invalid_subtest(data_t *data, int fd) · line 478
Quoted 13 lines
--- tests/kms_vblank.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)tests/kms_vblank.c +1
-0@@ -475,8 +475,14 @@ static void invalid_subtest(data_t *data, int fd) {union drm_wait_vblank vbl;unsigned long valid_flags; +igt_display_t * display = &data->display;
Why add this variable instead of just use &data->display?
tests/kms_vblank.c static void invalid_subtest(data_t *data, int fd) · line 479
Quoted 1 line
tests/kms_vblank.c +1
-0+enum pipe p =0 ;
Why did you add this variable? Improve the readability? If so, I'm not sure that p is better than have 0 here. Or did I miss something?
Quoted 11 lines
tests/kms_vblank.c +5
-1+igt_output_t * output; -igt_display_require_output_on_pipe (&data->display,0 ); +igt_display_require_output_on_pipe (display, p); + data->pipe = p; +for_each_valid_output_on_pipe (display, p, output) +prepare_crtc (data, fd, output);/* First check all is well with a simple query */ memset (&vbl,0 ,sizeof (vbl));
tests/kms_vblank.c static void invalid_subtest(data_t *data, int fd) · line 523
Quoted 7 lines
tests/kms_vblank.c +3
-0@@ -511,6 +517,9 @@ static void invalid_subtest(data_t *data, int fd) vbl.request.type |= _DRM_VBLANK_SECONDARY; vbl.request.type |= _DRM_VBLANK_FLAGS_MASK;igt_assert_eq (wait_vblank (fd, &vbl), -EINVAL ); + +for_each_valid_output_on_pipe (display, p, output) +cleanup_crtc (data, fd, output); }
This patch makes sense to me. I tested it in a Raven system (DCN1.0), and everything looks fine to me; however, even without your patch, I see the same result.
Btw, thanks a lot for your patch.
tests/kms_vblank.c static void invalid_subtest(data_t *data, int fd) · line 525
Quoted 2 lines
tests/kms_vblank.c +0
-0igt_main
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Quoted 8 lines · Rodrigo Siqueira Jordao
Hi Mark,
See my comments inline.
Quoted 2 lines · Mark Yacoub
From: Mark Yacoub <[email protected]>
Quoted 7 lines
Quoted 5 lines
[Why]
Before any hardware is on, the vblank is off and its ref counter is in an initialized state as each driver handles toggling it differently. IoctlDRM_IOCTL_WAIT_VBLANKcould return 0 or invalid depending on the hardware, without necessarily meaning anything.Maybe you can add some hardware examples here.
Updated the commit msg in v2.
Quoted 11 lines
Quoted 4 lines
[How]
Forinvalid_subtest(), active the CRTCs to turn the hardware on soDRM_IOCTL_WAIT_VBLANKreturns something meaningful.You forgot the
Signed-off-by.Quoted 4 lines
--- tests/kms_vblank.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
Quoted 11 lines
tests/kms_vblank.c static void invalid_subtest(data_t *data, int fd) · line 478
Quoted 9 lines
tests/kms_vblank.c +1
-0@@ -475,8 +475,14 @@ static void invalid_subtest(data_t *data, int fd) {union drm_wait_vblank vbl;unsigned long valid_flags; +igt_display_t * display = &data->display;Why add this variable instead of just use
&data->display?
it's used more than once so thought it would be nice to have it in a var
Quoted 5 lines
tests/kms_vblank.c static void invalid_subtest(data_t *data, int fd) · line 479
Quoted 2 lines
tests/kms_vblank.c +1
-0+enum pipe p =0 ;Why did you add this variable? Improve the readability? If so, I'm not sure that p is better than have 0 here. Or did I miss something?
not much for readability but cause it's used like 4 times, including at the test end so i encapsulated the value in a variable
Quoted 24 lines
Quoted 12 lines
tests/kms_vblank.c +5
-1+igt_output_t * output; -igt_display_require_output_on_pipe (&data->display,0 ); +igt_display_require_output_on_pipe (display, p); + data->pipe = p; +for_each_valid_output_on_pipe (display, p, output) +prepare_crtc (data, fd, output);/* First check all is well with a simple query */ memset (&vbl,0 ,sizeof (vbl));tests/kms_vblank.c static void invalid_subtest(data_t *data, int fd) · line 523
Quoted 7 lines
tests/kms_vblank.c +3
-0@@ -511,6 +517,9 @@ static void invalid_subtest(data_t *data, int fd) vbl.request.type |= _DRM_VBLANK_SECONDARY; vbl.request.type |= _DRM_VBLANK_FLAGS_MASK;igt_assert_eq (wait_vblank (fd, &vbl), -EINVAL ); + +for_each_valid_output_on_pipe (display, p, output) +cleanup_crtc (data, fd, output); }This patch makes sense to me. I tested it in a Raven system (DCN1.0), and everything looks fine to me; however, even without your patch, I see the same result.
Quoted 5 lines
Btw, thanks a lot for your patch.
Quoted 2 lines
tests/kms_vblank.c +0
-0igt_main
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
friendly ping.
Quoted 41 lines · Mark Yacoub
Quoted 8 lines · Rodrigo Siqueira Jordao
Hi Mark,
See my comments inline.
Quoted 2 lines · Mark Yacoub
From: Mark Yacoub <[email protected]>
Quoted 7 lines
Quoted 5 lines
[Why]
Before any hardware is on, the vblank is off and its ref counter is in an initialized state as each driver handles toggling it differently. IoctlDRM_IOCTL_WAIT_VBLANKcould return 0 or invalid depending on the hardware, without necessarily meaning anything.Maybe you can add some hardware examples here.
Updated the commit msg in v2.
Quoted 11 lines
Quoted 4 lines
[How]
Forinvalid_subtest(), active the CRTCs to turn the hardware on soDRM_IOCTL_WAIT_VBLANKreturns something meaningful.You forgot the
Signed-off-by.Quoted 4 lines
--- tests/kms_vblank.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)Quoted 11 lines
tests/kms_vblank.c static void invalid_subtest(data_t *data, int fd) · line 478
Quoted 9 lines
tests/kms_vblank.c +1
-0@@ -475,8 +475,14 @@ static void invalid_subtest(data_t *data, int fd) {union drm_wait_vblank vbl;unsigned long valid_flags; +igt_display_t * display = &data->display;Why add this variable instead of just use
&data->display?
Quoted 37 lines
it's used more than once so thought it would be nice to have it in a var
Quoted 5 lines
tests/kms_vblank.c static void invalid_subtest(data_t *data, int fd) · line 479
Quoted 2 lines
tests/kms_vblank.c +1
-0+enum pipe p =0 ;Why did you add this variable? Improve the readability? If so, I'm not sure that p is better than have 0 here. Or did I miss something?
not much for readability but cause it's used like 4 times, including at the test end so i encapsulated the value in a variable
Quoted 29 lines
Quoted 12 lines
tests/kms_vblank.c +5
-1+igt_output_t * output; -igt_display_require_output_on_pipe (&data->display,0 ); +igt_display_require_output_on_pipe (display, p); + data->pipe = p; +for_each_valid_output_on_pipe (display, p, output) +prepare_crtc (data, fd, output);/* First check all is well with a simple query */ memset (&vbl,0 ,sizeof (vbl));tests/kms_vblank.c static void invalid_subtest(data_t *data, int fd) · line 523
Quoted 7 lines
tests/kms_vblank.c +3
-0@@ -511,6 +517,9 @@ static void invalid_subtest(data_t *data, int fd) vbl.request.type |= _DRM_VBLANK_SECONDARY; vbl.request.type |= _DRM_VBLANK_FLAGS_MASK;igt_assert_eq (wait_vblank (fd, &vbl), -EINVAL ); + +for_each_valid_output_on_pipe (display, p, output) +cleanup_crtc (data, fd, output); }This patch makes sense to me. I tested it in a Raven system (DCN1.0), and everything looks fine to me; however, even without your patch, I see the same result.
Btw, thanks a lot for your patch.
Quoted 2 lines
tests/kms_vblank.c +0
-0igt_main
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev