* [igt-dev] [PATCH i-g-t] tests/kms_chamelium: Capture on type-c @ 2020-04-15 22:26 Kunal Joshi 2020-04-16 6:35 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork 2020-04-17 2:07 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork 0 siblings, 2 replies; 6+ messages in thread From: Kunal Joshi @ 2020-04-15 22:26 UTC (permalink / raw) To: arkadiusz.hiler, igt-dev, imre.deak; +Cc: Kunal Joshi When we try to capture from chamelium it sends hpd pulse when it needs fsm handling but on type-c connector we dodn't get it when the modeset is enabled, disabling modeset so we get hpd pulse. Cc: Hiler Arkadiusz <arkadiusz.hiler@intel.com> Cc: Imre Deak <imre.deak@intel.com> Issue: https://gitlab.freedesktop.org/drm/intel/issues/262 Signed-off-by: Kunal Joshi <kunal1.joshi@intel.com> --- tests/kms_chamelium.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/tests/kms_chamelium.c b/tests/kms_chamelium.c index 8b20bbb..3639f5a 100644 --- a/tests/kms_chamelium.c +++ b/tests/kms_chamelium.c @@ -672,7 +672,6 @@ test_suspend_resume_edid_change(data_t *data, struct chamelium_port *port, get_connectors_link_status_failed(data, link_status_failed[0]); igt_flush_hotplugs(mon); - igt_system_suspend_autoresume(state, test); igt_assert(igt_hotplug_detected(mon, HOTPLUG_TIMEOUT)); chamelium_assert_reachable(data->chamelium, ONLINE_TIMEOUT); @@ -841,6 +840,11 @@ static void test_display_all_modes(data_t *data, struct chamelium_port *port, bridge = check_analog_bridge(data, port); for (i = 0; i < connector->count_modes; i++) { + output = prepare_output(data, port, TEST_EDID_BASE); + connector = chamelium_port_get_connector(data->chamelium, port, false); + primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY); + igt_assert(primary); + igt_require(igt_plane_has_format_mod(primary, fourcc, LOCAL_DRM_FORMAT_MOD_NONE)); drmModeModeInfo *mode = &connector->modes[i]; if (check == CHAMELIUM_CHECK_ANALOG && bridge && @@ -848,6 +852,7 @@ static void test_display_all_modes(data_t *data, struct chamelium_port *port, continue; do_test_display(data, port, output, mode, fourcc, check, count); + reset_state(data, port); } drmModeFreeConnector(connector); @@ -876,6 +881,10 @@ test_display_frame_dump(data_t *data, struct chamelium_port *port) igt_assert(primary); for (i = 0; i < connector->count_modes; i++) { + output = prepare_output(data, port, TEST_EDID_BASE); + connector = chamelium_port_get_connector(data->chamelium, port, false); + primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY); + igt_assert(primary); mode = &connector->modes[i]; fb_id = igt_create_color_pattern_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, @@ -896,6 +905,7 @@ test_display_frame_dump(data_t *data, struct chamelium_port *port) } igt_remove_fb(data->drm_fd, &fb); + reset_state(data, port); } drmModeFreeConnector(connector); @@ -2506,7 +2516,6 @@ test_hpd_storm_detect(data_t *data, struct chamelium_port *port, int width) { struct udev_monitor *mon; int count = 0; - igt_require_hpd_storm_ctl(data->drm_fd); reset_state(data, port); -- 2.7.4 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_chamelium: Capture on type-c 2020-04-15 22:26 [igt-dev] [PATCH i-g-t] tests/kms_chamelium: Capture on type-c Kunal Joshi @ 2020-04-16 6:35 ` Patchwork 2020-04-17 2:07 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork 1 sibling, 0 replies; 6+ messages in thread From: Patchwork @ 2020-04-16 6:35 UTC (permalink / raw) To: Kunal Joshi; +Cc: igt-dev == Series Details == Series: tests/kms_chamelium: Capture on type-c URL : https://patchwork.freedesktop.org/series/76004/ State : success == Summary == CI Bug Log - changes from CI_DRM_8307 -> IGTPW_4471 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/index.html Known issues ------------ Here are the changes found in IGTPW_4471 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@kms_chamelium@dp-edid-read: - fi-icl-u2: [PASS][1] -> [FAIL][2] ([i915#976]) [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/fi-icl-u2/igt@kms_chamelium@dp-edid-read.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/fi-icl-u2/igt@kms_chamelium@dp-edid-read.html #### Possible fixes #### * igt@i915_selftest@live@ring_submission: - fi-bwr-2160: [INCOMPLETE][3] ([i915#489]) -> [PASS][4] [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/fi-bwr-2160/igt@i915_selftest@live@ring_submission.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/fi-bwr-2160/igt@i915_selftest@live@ring_submission.html [i915#489]: https://gitlab.freedesktop.org/drm/intel/issues/489 [i915#976]: https://gitlab.freedesktop.org/drm/intel/issues/976 Participating hosts (51 -> 46) ------------------------------ Additional (1): fi-kbl-7560u Missing (6): fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-byt-clapper fi-bdw-samus Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_5591 -> IGTPW_4471 CI-20190529: 20190529 CI_DRM_8307: 547ca85e9cbca6fcfcadc6bf5e0e7b9a34a089d8 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_4471: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/index.html IGT_5591: f57b7fdbe8d04ce3edf0433a03c7d9d5c3d96680 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/index.html _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 6+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for tests/kms_chamelium: Capture on type-c 2020-04-15 22:26 [igt-dev] [PATCH i-g-t] tests/kms_chamelium: Capture on type-c Kunal Joshi 2020-04-16 6:35 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork @ 2020-04-17 2:07 ` Patchwork 1 sibling, 0 replies; 6+ messages in thread From: Patchwork @ 2020-04-17 2:07 UTC (permalink / raw) To: Kunal Joshi; +Cc: igt-dev == Series Details == Series: tests/kms_chamelium: Capture on type-c URL : https://patchwork.freedesktop.org/series/76004/ State : success == Summary == CI Bug Log - changes from CI_DRM_8307_full -> IGTPW_4471_full ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/index.html Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_4471_full: ### IGT changes ### #### Suppressed #### The following results come from untrusted machines, tests, or statuses. They do not affect the overall result. * {igt@kms_flip@flip-vs-expired-vblank@b-hdmi-a1}: - shard-glk: [PASS][1] -> [FAIL][2] [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-glk7/igt@kms_flip@flip-vs-expired-vblank@b-hdmi-a1.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-glk2/igt@kms_flip@flip-vs-expired-vblank@b-hdmi-a1.html New tests --------- New tests have been introduced between CI_DRM_8307_full and IGTPW_4471_full: ### New IGT tests (2) ### * igt@kms_flip@dpms-off-confusion-interruptible@d-edp1: - Statuses : 1 pass(s) - Exec time: [8.71] s * igt@kms_flip@dpms-vs-vblank-race-interruptible@d-edp1: - Statuses : 1 pass(s) - Exec time: [3.65] s Known issues ------------ Here are the changes found in IGTPW_4471_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_workarounds@suspend-resume-context: - shard-tglb: [PASS][3] -> [INCOMPLETE][4] ([i915#456] / [i915#460]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-tglb8/igt@gem_workarounds@suspend-resume-context.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-tglb7/igt@gem_workarounds@suspend-resume-context.html * igt@i915_pm_dc@dc6-psr: - shard-iclb: [PASS][5] -> [FAIL][6] ([i915#454]) [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-iclb2/igt@i915_pm_dc@dc6-psr.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-iclb4/igt@i915_pm_dc@dc6-psr.html * igt@kms_cursor_crc@pipe-a-cursor-256x256-random: - shard-kbl: [PASS][7] -> [FAIL][8] ([i915#54]) [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-kbl1/igt@kms_cursor_crc@pipe-a-cursor-256x256-random.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-kbl7/igt@kms_cursor_crc@pipe-a-cursor-256x256-random.html - shard-apl: [PASS][9] -> [FAIL][10] ([i915#54]) [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-apl1/igt@kms_cursor_crc@pipe-a-cursor-256x256-random.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-apl2/igt@kms_cursor_crc@pipe-a-cursor-256x256-random.html * igt@kms_cursor_crc@pipe-a-cursor-64x64-onscreen: - shard-kbl: [PASS][11] -> [FAIL][12] ([i915#54] / [i915#93] / [i915#95]) +1 similar issue [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-kbl7/igt@kms_cursor_crc@pipe-a-cursor-64x64-onscreen.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-kbl3/igt@kms_cursor_crc@pipe-a-cursor-64x64-onscreen.html - shard-apl: [PASS][13] -> [FAIL][14] ([i915#54] / [i915#95]) [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-apl8/igt@kms_cursor_crc@pipe-a-cursor-64x64-onscreen.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-apl3/igt@kms_cursor_crc@pipe-a-cursor-64x64-onscreen.html * igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic: - shard-glk: [PASS][15] -> [FAIL][16] ([i915#72]) [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-glk4/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic.html [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-glk8/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic.html * igt@kms_dp_dsc@basic-dsc-enable-edp: - shard-iclb: [PASS][17] -> [SKIP][18] ([fdo#109349]) [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-iclb2/igt@kms_dp_dsc@basic-dsc-enable-edp.html [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-iclb3/igt@kms_dp_dsc@basic-dsc-enable-edp.html * igt@kms_draw_crc@draw-method-rgb565-mmap-wc-ytiled: - shard-glk: [PASS][19] -> [FAIL][20] ([i915#52] / [i915#54]) +3 similar issues [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-glk5/igt@kms_draw_crc@draw-method-rgb565-mmap-wc-ytiled.html [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-glk5/igt@kms_draw_crc@draw-method-rgb565-mmap-wc-ytiled.html * igt@kms_draw_crc@draw-method-rgb565-pwrite-untiled: - shard-glk: [PASS][21] -> [FAIL][22] ([i915#177] / [i915#52] / [i915#54]) [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-glk6/igt@kms_draw_crc@draw-method-rgb565-pwrite-untiled.html [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-glk7/igt@kms_draw_crc@draw-method-rgb565-pwrite-untiled.html * igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes: - shard-apl: [PASS][23] -> [DMESG-WARN][24] ([i915#180]) [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-apl4/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-apl1/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html * igt@kms_plane_cursor@pipe-a-overlay-size-64: - shard-apl: [PASS][25] -> [FAIL][26] ([i915#1559] / [i915#95]) [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-apl6/igt@kms_plane_cursor@pipe-a-overlay-size-64.html [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-apl3/igt@kms_plane_cursor@pipe-a-overlay-size-64.html - shard-kbl: [PASS][27] -> [FAIL][28] ([i915#1559] / [i915#93] / [i915#95]) [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-kbl1/igt@kms_plane_cursor@pipe-a-overlay-size-64.html [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-kbl3/igt@kms_plane_cursor@pipe-a-overlay-size-64.html * igt@kms_psr@psr2_cursor_plane_onoff: - shard-iclb: [PASS][29] -> [SKIP][30] ([fdo#109441]) +3 similar issues [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-iclb2/igt@kms_psr@psr2_cursor_plane_onoff.html [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-iclb4/igt@kms_psr@psr2_cursor_plane_onoff.html * igt@kms_vblank@crtc-id: - shard-hsw: [PASS][31] -> [INCOMPLETE][32] ([i915#61]) [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-hsw6/igt@kms_vblank@crtc-id.html [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-hsw4/igt@kms_vblank@crtc-id.html * igt@kms_vblank@pipe-a-ts-continuation-dpms-suspend: - shard-iclb: [PASS][33] -> [INCOMPLETE][34] ([i915#1078] / [i915#1185]) [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-iclb1/igt@kms_vblank@pipe-a-ts-continuation-dpms-suspend.html [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-iclb3/igt@kms_vblank@pipe-a-ts-continuation-dpms-suspend.html * igt@perf@gen12-mi-rpc: - shard-tglb: [PASS][35] -> [FAIL][36] ([i915#1085]) [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-tglb7/igt@perf@gen12-mi-rpc.html [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-tglb1/igt@perf@gen12-mi-rpc.html #### Possible fixes #### * igt@gem_eio@in-flight-contexts-10ms: - shard-hsw: [INCOMPLETE][37] ([i915#61]) -> [PASS][38] [37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-hsw2/igt@gem_eio@in-flight-contexts-10ms.html [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-hsw7/igt@gem_eio@in-flight-contexts-10ms.html * igt@i915_pm_dc@dc6-dpms: - shard-iclb: [FAIL][39] ([i915#454]) -> [PASS][40] [39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-iclb4/igt@i915_pm_dc@dc6-dpms.html [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-iclb2/igt@i915_pm_dc@dc6-dpms.html * igt@kms_big_fb@linear-32bpp-rotate-180: - shard-apl: [FAIL][41] ([i915#1119] / [i915#95]) -> [PASS][42] +1 similar issue [41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-apl2/igt@kms_big_fb@linear-32bpp-rotate-180.html [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-apl3/igt@kms_big_fb@linear-32bpp-rotate-180.html - shard-kbl: [FAIL][43] ([i915#1119] / [i915#93] / [i915#95]) -> [PASS][44] +1 similar issue [43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-kbl4/igt@kms_big_fb@linear-32bpp-rotate-180.html [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-kbl3/igt@kms_big_fb@linear-32bpp-rotate-180.html * igt@kms_color@pipe-a-gamma: - shard-tglb: [FAIL][45] ([i915#1149]) -> [PASS][46] [45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-tglb5/igt@kms_color@pipe-a-gamma.html [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-tglb8/igt@kms_color@pipe-a-gamma.html * igt@kms_cursor_crc@pipe-a-cursor-128x128-offscreen: - shard-kbl: [FAIL][47] ([i915#54] / [i915#93] / [i915#95]) -> [PASS][48] +2 similar issues [47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-kbl6/igt@kms_cursor_crc@pipe-a-cursor-128x128-offscreen.html [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-kbl2/igt@kms_cursor_crc@pipe-a-cursor-128x128-offscreen.html * igt@kms_cursor_crc@pipe-a-cursor-64x21-random: - shard-apl: [FAIL][49] ([i915#54] / [i915#95]) -> [PASS][50] [49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-apl8/igt@kms_cursor_crc@pipe-a-cursor-64x21-random.html [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-apl2/igt@kms_cursor_crc@pipe-a-cursor-64x21-random.html * igt@kms_draw_crc@draw-method-rgb565-render-ytiled: - shard-glk: [FAIL][51] ([i915#52] / [i915#54]) -> [PASS][52] +7 similar issues [51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-glk1/igt@kms_draw_crc@draw-method-rgb565-render-ytiled.html [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-glk8/igt@kms_draw_crc@draw-method-rgb565-render-ytiled.html * igt@kms_draw_crc@draw-method-xrgb8888-mmap-gtt-untiled: - shard-apl: [FAIL][53] ([i915#52] / [i915#54] / [i915#95]) -> [PASS][54] [53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-apl1/igt@kms_draw_crc@draw-method-xrgb8888-mmap-gtt-untiled.html [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-apl2/igt@kms_draw_crc@draw-method-xrgb8888-mmap-gtt-untiled.html * igt@kms_fbcon_fbt@fbc-suspend: - shard-tglb: [FAIL][55] ([i915#64]) -> [PASS][56] [55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-tglb2/igt@kms_fbcon_fbt@fbc-suspend.html [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-tglb2/igt@kms_fbcon_fbt@fbc-suspend.html * {igt@kms_flip@flip-vs-suspend-interruptible@a-dp1}: - shard-kbl: [INCOMPLETE][57] ([i915#155]) -> [PASS][58] +1 similar issue [57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-kbl1/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-kbl7/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html * {igt@kms_flip@flip-vs-suspend@b-dp1}: - shard-apl: [DMESG-WARN][59] ([i915#180]) -> [PASS][60] +3 similar issues [59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-apl8/igt@kms_flip@flip-vs-suspend@b-dp1.html [60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-apl7/igt@kms_flip@flip-vs-suspend@b-dp1.html * {igt@kms_flip@plain-flip-ts-check-interruptible@c-dp1}: - shard-apl: [INCOMPLETE][61] -> [PASS][62] [61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-apl8/igt@kms_flip@plain-flip-ts-check-interruptible@c-dp1.html [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-apl1/igt@kms_flip@plain-flip-ts-check-interruptible@c-dp1.html * igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-mmap-cpu: - shard-glk: [FAIL][63] ([i915#49]) -> [PASS][64] [63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-glk1/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-mmap-cpu.html [64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-glk5/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-mmap-cpu.html * igt@kms_hdr@bpc-switch-suspend: - shard-kbl: [DMESG-WARN][65] ([i915#180]) -> [PASS][66] +3 similar issues [65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-kbl2/igt@kms_hdr@bpc-switch-suspend.html [66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-kbl2/igt@kms_hdr@bpc-switch-suspend.html * igt@kms_pipe_crc_basic@hang-read-crc-pipe-a: - shard-kbl: [FAIL][67] ([i915#53] / [i915#93] / [i915#95]) -> [PASS][68] [67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-kbl1/igt@kms_pipe_crc_basic@hang-read-crc-pipe-a.html [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-kbl2/igt@kms_pipe_crc_basic@hang-read-crc-pipe-a.html - shard-apl: [FAIL][69] ([i915#53] / [i915#95]) -> [PASS][70] [69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-apl1/igt@kms_pipe_crc_basic@hang-read-crc-pipe-a.html [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-apl6/igt@kms_pipe_crc_basic@hang-read-crc-pipe-a.html * igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min: - shard-kbl: [FAIL][71] ([fdo#108145] / [i915#265] / [i915#93] / [i915#95]) -> [PASS][72] [71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-kbl3/igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min.html [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-kbl6/igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min.html - shard-apl: [FAIL][73] ([fdo#108145] / [i915#265] / [i915#95]) -> [PASS][74] [73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-apl3/igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min.html [74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-apl8/igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min.html * igt@kms_psr@psr2_primary_mmap_cpu: - shard-iclb: [SKIP][75] ([fdo#109441]) -> [PASS][76] +2 similar issues [75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-iclb6/igt@kms_psr@psr2_primary_mmap_cpu.html [76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html #### Warnings #### * igt@i915_pm_dc@dc6-psr: - shard-tglb: [SKIP][77] ([i915#468]) -> [FAIL][78] ([i915#454]) [77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-tglb2/igt@i915_pm_dc@dc6-psr.html [78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-tglb6/igt@i915_pm_dc@dc6-psr.html * igt@i915_pm_rpm@fences: - shard-snb: [INCOMPLETE][79] ([i915#82]) -> [SKIP][80] ([fdo#109271]) +1 similar issue [79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-snb6/igt@i915_pm_rpm@fences.html [80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-snb1/igt@i915_pm_rpm@fences.html * igt@i915_selftest@live@gt_pm: - shard-tglb: [INCOMPLETE][81] ([i915#1725]) -> [DMESG-FAIL][82] ([i915#1725]) [81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-tglb6/igt@i915_selftest@live@gt_pm.html [82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-tglb6/igt@i915_selftest@live@gt_pm.html * igt@runner@aborted: - shard-tglb: ([FAIL][83], [FAIL][84]) ([i915#1233] / [i915#1602] / [i915#529]) -> [FAIL][85] ([i915#1602]) [83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-tglb6/igt@runner@aborted.html [84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8307/shard-tglb1/igt@runner@aborted.html [85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/shard-tglb7/igt@runner@aborted.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145 [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271 [fdo#109349]: https://bugs.freedesktop.org/show_bug.cgi?id=109349 [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441 [i915#1078]: https://gitlab.freedesktop.org/drm/intel/issues/1078 [i915#1085]: https://gitlab.freedesktop.org/drm/intel/issues/1085 [i915#1119]: https://gitlab.freedesktop.org/drm/intel/issues/1119 [i915#1149]: https://gitlab.freedesktop.org/drm/intel/issues/1149 [i915#1185]: https://gitlab.freedesktop.org/drm/intel/issues/1185 [i915#1233]: https://gitlab.freedesktop.org/drm/intel/issues/1233 [i915#1542]: https://gitlab.freedesktop.org/drm/intel/issues/1542 [i915#155]: https://gitlab.freedesktop.org/drm/intel/issues/155 [i915#1559]: https://gitlab.freedesktop.org/drm/intel/issues/1559 [i915#1602]: https://gitlab.freedesktop.org/drm/intel/issues/1602 [i915#1725]: https://gitlab.freedesktop.org/drm/intel/issues/1725 [i915#177]: https://gitlab.freedesktop.org/drm/intel/issues/177 [i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180 [i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265 [i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454 [i915#456]: https://gitlab.freedesktop.org/drm/intel/issues/456 [i915#460]: https://gitlab.freedesktop.org/drm/intel/issues/460 [i915#468]: https://gitlab.freedesktop.org/drm/intel/issues/468 [i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49 [i915#52]: https://gitlab.freedesktop.org/drm/intel/issues/52 [i915#529]: https://gitlab.freedesktop.org/drm/intel/issues/529 [i915#53]: https://gitlab.freedesktop.org/drm/intel/issues/53 [i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54 [i915#61]: https://gitlab.freedesktop.org/drm/intel/issues/61 [i915#64]: https://gitlab.freedesktop.org/drm/intel/issues/64 [i915#72]: https://gitlab.freedesktop.org/drm/intel/issues/72 [i915#82]: https://gitlab.freedesktop.org/drm/intel/issues/82 [i915#93]: https://gitlab.freedesktop.org/drm/intel/issues/93 [i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95 Participating hosts (10 -> 8) ------------------------------ Missing (2): pig-skl-6260u pig-glk-j5005 Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_5591 -> IGTPW_4471 * Piglit: piglit_4509 -> None CI-20190529: 20190529 CI_DRM_8307: 547ca85e9cbca6fcfcadc6bf5e0e7b9a34a089d8 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_4471: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/index.html IGT_5591: f57b7fdbe8d04ce3edf0433a03c7d9d5c3d96680 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4471/index.html _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 6+ messages in thread
* [igt-dev] [PATCH i-g-t] tests/kms_chamelium Capture on type-c @ 2020-04-16 3:21 Kunal Joshi 2020-04-16 10:41 ` Arkadiusz Hiler 0 siblings, 1 reply; 6+ messages in thread From: Kunal Joshi @ 2020-04-16 3:21 UTC (permalink / raw) To: arkadiusz.hiler, igt-dev, imre.deak; +Cc: Kunal Joshi When we try to capture from chamelium it sends hpd pulse when it needs fsm handling but on type-c connector we dodn't get it when the modeset is enabled, disabling modeset so we get hpd pulse. Cc: Hiler Arkadiusz <arkadiusz.hiler@intel.com> Cc: Imre Deak <imre.deak@intel.com> Issue: https://gitlab.freedesktop.org/drm/intel/issues/262 Signed-off-by: Kunal Joshi <kunal1.joshi@intel.com> --- tests/kms_chamelium.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/tests/kms_chamelium.c b/tests/kms_chamelium.c index 8b20bbb..2f53063 100644 --- a/tests/kms_chamelium.c +++ b/tests/kms_chamelium.c @@ -672,7 +672,6 @@ test_suspend_resume_edid_change(data_t *data, struct chamelium_port *port, get_connectors_link_status_failed(data, link_status_failed[0]); igt_flush_hotplugs(mon); - igt_system_suspend_autoresume(state, test); igt_assert(igt_hotplug_detected(mon, HOTPLUG_TIMEOUT)); chamelium_assert_reachable(data->chamelium, ONLINE_TIMEOUT); @@ -833,14 +832,16 @@ static void test_display_all_modes(data_t *data, struct chamelium_port *port, output = prepare_output(data, port, TEST_EDID_BASE); connector = chamelium_port_get_connector(data->chamelium, port, false); - primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY); - igt_assert(primary); - igt_require(igt_plane_has_format_mod(primary, fourcc, LOCAL_DRM_FORMAT_MOD_NONE)); if (check == CHAMELIUM_CHECK_ANALOG) bridge = check_analog_bridge(data, port); for (i = 0; i < connector->count_modes; i++) { + output = prepare_output(data, port, TEST_EDID_BASE); + connector = chamelium_port_get_connector(data->chamelium, port, false); + primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY); + igt_assert(primary); + igt_require(igt_plane_has_format_mod(primary, fourcc, LOCAL_DRM_FORMAT_MOD_NONE)); drmModeModeInfo *mode = &connector->modes[i]; if (check == CHAMELIUM_CHECK_ANALOG && bridge && @@ -848,6 +849,7 @@ static void test_display_all_modes(data_t *data, struct chamelium_port *port, continue; do_test_display(data, port, output, mode, fourcc, check, count); + reset_state(data, port); } drmModeFreeConnector(connector); @@ -872,10 +874,12 @@ test_display_frame_dump(data_t *data, struct chamelium_port *port) output = prepare_output(data, port, TEST_EDID_BASE); connector = chamelium_port_get_connector(data->chamelium, port, false); - primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY); - igt_assert(primary); for (i = 0; i < connector->count_modes; i++) { + output = prepare_output(data, port, TEST_EDID_BASE); + connector = chamelium_port_get_connector(data->chamelium, port, false); + primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY); + igt_assert(primary); mode = &connector->modes[i]; fb_id = igt_create_color_pattern_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, @@ -896,6 +900,7 @@ test_display_frame_dump(data_t *data, struct chamelium_port *port) } igt_remove_fb(data->drm_fd, &fb); + reset_state(data, port); } drmModeFreeConnector(connector); -- 2.7.4 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] tests/kms_chamelium Capture on type-c 2020-04-16 3:21 [igt-dev] [PATCH i-g-t] tests/kms_chamelium " Kunal Joshi @ 2020-04-16 10:41 ` Arkadiusz Hiler 2020-04-16 4:26 ` Kunal Joshi 0 siblings, 1 reply; 6+ messages in thread From: Arkadiusz Hiler @ 2020-04-16 10:41 UTC (permalink / raw) To: Kunal Joshi; +Cc: igt-dev On Thu, Apr 16, 2020 at 08:51:14AM +0530, Kunal Joshi wrote: > When we try to capture from chamelium it sends hpd pulse > when it needs fsm handling but on type-c connector we > dodn't get it when the modeset is enabled, disabling > modeset so we get hpd pulse. I am not 100% sure that the changes does what you state here. The biggest difference is that you reset chamelium in-between switching modes, so the board should not be mode-locked and thus not require FSM handling in the first place. The mode is still enabled when we call chamelium_capture(), so HPD would still fail, but my guess is that we don't even need it because of the above. If my suspicion is correct we can consider dropping the HPD monitoring thread and document the required sequence to do the capturing instead. > Cc: Hiler Arkadiusz <arkadiusz.hiler@intel.com> > Cc: Imre Deak <imre.deak@intel.com> > Issue: https://gitlab.freedesktop.org/drm/intel/issues/262 > Signed-off-by: Kunal Joshi <kunal1.joshi@intel.com> > --- > tests/kms_chamelium.c | 17 +++++++++++------ > 1 file changed, 11 insertions(+), 6 deletions(-) > > diff --git a/tests/kms_chamelium.c b/tests/kms_chamelium.c > index 8b20bbb..2f53063 100644 > --- a/tests/kms_chamelium.c > +++ b/tests/kms_chamelium.c > @@ -672,7 +672,6 @@ test_suspend_resume_edid_change(data_t *data, struct chamelium_port *port, > get_connectors_link_status_failed(data, link_status_failed[0]); > > igt_flush_hotplugs(mon); > - > igt_system_suspend_autoresume(state, test); > igt_assert(igt_hotplug_detected(mon, HOTPLUG_TIMEOUT)); > chamelium_assert_reachable(data->chamelium, ONLINE_TIMEOUT); > @@ -833,14 +832,16 @@ static void test_display_all_modes(data_t *data, struct chamelium_port *port, > > output = prepare_output(data, port, TEST_EDID_BASE); > connector = chamelium_port_get_connector(data->chamelium, port, false); > - primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY); > - igt_assert(primary); > - igt_require(igt_plane_has_format_mod(primary, fourcc, LOCAL_DRM_FORMAT_MOD_NONE)); > > if (check == CHAMELIUM_CHECK_ANALOG) > bridge = check_analog_bridge(data, port); > > for (i = 0; i < connector->count_modes; i++) { > + output = prepare_output(data, port, TEST_EDID_BASE); > + connector = chamelium_port_get_connector(data->chamelium, port, false); > + primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY); > + igt_assert(primary); > + igt_require(igt_plane_has_format_mod(primary, fourcc, LOCAL_DRM_FORMAT_MOD_NONE)); > drmModeModeInfo *mode = &connector->modes[i]; Handling of *connector is broken here and in the other chunk: 1. you get connector first and then use it to start iteration 2. you refresh the connector each iteration after you plug leaking the old one 3. there are no guarantee that the amount of modes will stay the same - link training and mode pruning may kick in 4. you are preparing output two times in a row for the first iteration You need to re-work the flow here and make sure that at least the number of modes stays constant. -- Cheers, Arek _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] tests/kms_chamelium Capture on type-c 2020-04-16 10:41 ` Arkadiusz Hiler @ 2020-04-16 4:26 ` Kunal Joshi 0 siblings, 0 replies; 6+ messages in thread From: Kunal Joshi @ 2020-04-16 4:26 UTC (permalink / raw) To: igt-dev On 2020-04-16 at 13:41:49 +0300, Arkadiusz Hiler wrote: > Handling of *connector is broken here and in the other chunk: > > 1. you get connector first and then use it to start iteration > > 2. you refresh the connector each iteration after you plug leaking the > old one > > 3. there are no guarantee that the amount of modes will stay the same - > link training and mode pruning may kick in > > 4. you are preparing output two times in a row for the first iteration > > You need to re-work the flow here and make sure that at least the number > of modes stays constant. > > -- > Cheers, > Arek Thanks for the evaluation arek. Will come over this things in the next version :). _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-04-17 2:07 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-04-15 22:26 [igt-dev] [PATCH i-g-t] tests/kms_chamelium: Capture on type-c Kunal Joshi 2020-04-16 6:35 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork 2020-04-17 2:07 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork -- strict thread matches above, loose matches on Subject: below -- 2020-04-16 3:21 [igt-dev] [PATCH i-g-t] tests/kms_chamelium " Kunal Joshi 2020-04-16 10:41 ` Arkadiusz Hiler 2020-04-16 4:26 ` Kunal Joshi
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox