* [igt-dev] [PATCH i-g-t] i915/pm_rpm: Probe connectors to run standalone
@ 2019-05-24 21:39 Chris Wilson
2019-05-26 10:42 ` [igt-dev] ✓ Fi.CI.BAT: success for i915/pm_rpm: Probe connectors to run standalone (rev2) Patchwork
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Chris Wilson @ 2019-05-24 21:39 UTC (permalink / raw)
To: igt-dev
In order to run as a standalone test (i.e. immediately after booting a
device), we need to explicitly probe the connectors.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/i915/i915_pm_rpm.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/i915/i915_pm_rpm.c b/tests/i915/i915_pm_rpm.c
index a2c9d0ede..2f7e30592 100644
--- a/tests/i915/i915_pm_rpm.c
+++ b/tests/i915/i915_pm_rpm.c
@@ -394,8 +394,9 @@ static void init_mode_set_data(struct mode_set_data *data)
if (data->res) {
igt_assert(data->res->count_connectors <= MAX_CONNECTORS);
for (int i = 0; i < data->res->count_connectors; i++) {
- data->connectors[i] = drmModeGetConnectorCurrent(drm_fd,
- data->res->connectors[i]);
+ data->connectors[i] =
+ drmModeGetConnector(drm_fd,
+ data->res->connectors[i]);
data->edids[i] = get_connector_edid(data->connectors[i], i);
}
--
2.20.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 7+ messages in thread* [igt-dev] ✓ Fi.CI.BAT: success for i915/pm_rpm: Probe connectors to run standalone (rev2)
2019-05-24 21:39 [igt-dev] [PATCH i-g-t] i915/pm_rpm: Probe connectors to run standalone Chris Wilson
@ 2019-05-26 10:42 ` Patchwork
2019-05-26 14:24 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-05-27 10:56 ` [igt-dev] [PATCH i-g-t] i915/pm_rpm: Probe connectors to run standalone Imre Deak
2 siblings, 0 replies; 7+ messages in thread
From: Patchwork @ 2019-05-26 10:42 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
== Series Details ==
Series: i915/pm_rpm: Probe connectors to run standalone (rev2)
URL : https://patchwork.freedesktop.org/series/59045/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6141 -> IGTPW_3056
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/59045/revisions/2/mbox/
Known issues
------------
Here are the changes found in IGTPW_3056 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live_hangcheck:
- fi-icl-u3: [PASS][1] -> [INCOMPLETE][2] ([fdo#107713] / [fdo#108569])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/fi-icl-u3/igt@i915_selftest@live_hangcheck.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/fi-icl-u3/igt@i915_selftest@live_hangcheck.html
- fi-icl-y: [PASS][3] -> [INCOMPLETE][4] ([fdo#107713] / [fdo#108569])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/fi-icl-y/igt@i915_selftest@live_hangcheck.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/fi-icl-y/igt@i915_selftest@live_hangcheck.html
#### Possible fixes ####
* igt@gem_mmap_gtt@basic:
- fi-icl-u3: [DMESG-WARN][5] ([fdo#107724]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/fi-icl-u3/igt@gem_mmap_gtt@basic.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/fi-icl-u3/igt@gem_mmap_gtt@basic.html
* igt@i915_pm_rpm@basic-rte:
- fi-skl-6600u: [INCOMPLETE][7] ([fdo#107807]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/fi-skl-6600u/igt@i915_pm_rpm@basic-rte.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/fi-skl-6600u/igt@i915_pm_rpm@basic-rte.html
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#107807]: https://bugs.freedesktop.org/show_bug.cgi?id=107807
[fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
Participating hosts (53 -> 44)
------------------------------
Missing (9): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-byt-clapper fi-icl-dsi fi-bdw-samus fi-snb-2600
Build changes
-------------
* IGT: IGT_5015 -> IGTPW_3056
CI_DRM_6141: e94845147cc0346c3a9114d5359b188008daff9d @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3056: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/
IGT_5015: cdd6b0a7630762cec14596b9863f418b48c32f46 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 7+ messages in thread* [igt-dev] ✓ Fi.CI.IGT: success for i915/pm_rpm: Probe connectors to run standalone (rev2)
2019-05-24 21:39 [igt-dev] [PATCH i-g-t] i915/pm_rpm: Probe connectors to run standalone Chris Wilson
2019-05-26 10:42 ` [igt-dev] ✓ Fi.CI.BAT: success for i915/pm_rpm: Probe connectors to run standalone (rev2) Patchwork
@ 2019-05-26 14:24 ` Patchwork
2019-05-27 10:56 ` [igt-dev] [PATCH i-g-t] i915/pm_rpm: Probe connectors to run standalone Imre Deak
2 siblings, 0 replies; 7+ messages in thread
From: Patchwork @ 2019-05-26 14:24 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
== Series Details ==
Series: i915/pm_rpm: Probe connectors to run standalone (rev2)
URL : https://patchwork.freedesktop.org/series/59045/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6141_full -> IGTPW_3056_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/59045/revisions/2/mbox/
Known issues
------------
Here are the changes found in IGTPW_3056_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_eio@in-flight-suspend:
- shard-kbl: [PASS][1] -> [FAIL][2] ([fdo#110667])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-kbl4/igt@gem_eio@in-flight-suspend.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-kbl4/igt@gem_eio@in-flight-suspend.html
* igt@gem_eio@unwedge-stress:
- shard-snb: [PASS][3] -> [FAIL][4] ([fdo#109661])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-snb2/igt@gem_eio@unwedge-stress.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-snb7/igt@gem_eio@unwedge-stress.html
* igt@gem_mmap_gtt@forked-medium-copy:
- shard-iclb: [PASS][5] -> [INCOMPLETE][6] ([fdo#107713]) +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-iclb2/igt@gem_mmap_gtt@forked-medium-copy.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-iclb8/igt@gem_mmap_gtt@forked-medium-copy.html
* igt@gem_tiled_swapping@non-threaded:
- shard-iclb: [PASS][7] -> [FAIL][8] ([fdo#108686])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-iclb7/igt@gem_tiled_swapping@non-threaded.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-iclb2/igt@gem_tiled_swapping@non-threaded.html
* igt@kms_draw_crc@draw-method-xrgb8888-mmap-gtt-ytiled:
- shard-iclb: [PASS][9] -> [FAIL][10] ([fdo#103184] / [fdo#103232])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-iclb6/igt@kms_draw_crc@draw-method-xrgb8888-mmap-gtt-ytiled.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-iclb5/igt@kms_draw_crc@draw-method-xrgb8888-mmap-gtt-ytiled.html
* igt@kms_flip@2x-plain-flip-fb-recreate-interruptible:
- shard-hsw: [PASS][11] -> [SKIP][12] ([fdo#109271]) +14 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-hsw8/igt@kms_flip@2x-plain-flip-fb-recreate-interruptible.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-hsw1/igt@kms_flip@2x-plain-flip-fb-recreate-interruptible.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-pwrite:
- shard-iclb: [PASS][13] -> [FAIL][14] ([fdo#103167]) +6 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-iclb6/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-pwrite.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-iclb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-pwrite.html
* igt@kms_psr2_su@page_flip:
- shard-iclb: [PASS][15] -> [SKIP][16] ([fdo#109642])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-iclb2/igt@kms_psr2_su@page_flip.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-iclb5/igt@kms_psr2_su@page_flip.html
* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [PASS][17] -> [SKIP][18] ([fdo#109441]) +2 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-iclb1/igt@kms_psr@psr2_sprite_plane_move.html
* igt@kms_setmode@basic:
- shard-hsw: [PASS][19] -> [FAIL][20] ([fdo#99912])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-hsw1/igt@kms_setmode@basic.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-hsw5/igt@kms_setmode@basic.html
* igt@kms_vblank@pipe-c-ts-continuation-suspend:
- shard-apl: [PASS][21] -> [DMESG-WARN][22] ([fdo#108566]) +5 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-apl1/igt@kms_vblank@pipe-c-ts-continuation-suspend.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-apl7/igt@kms_vblank@pipe-c-ts-continuation-suspend.html
#### Possible fixes ####
* igt@gem_exec_schedule@preemptive-hang-render:
- shard-apl: [INCOMPLETE][23] ([fdo#103927]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-apl6/igt@gem_exec_schedule@preemptive-hang-render.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-apl1/igt@gem_exec_schedule@preemptive-hang-render.html
* igt@gem_workarounds@suspend-resume:
- shard-apl: [DMESG-WARN][25] ([fdo#108566]) -> [PASS][26] +4 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-apl6/igt@gem_workarounds@suspend-resume.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-apl3/igt@gem_workarounds@suspend-resume.html
* igt@kms_cursor_crc@pipe-b-cursor-256x85-sliding:
- shard-apl: [FAIL][27] ([fdo#103232]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-apl8/igt@kms_cursor_crc@pipe-b-cursor-256x85-sliding.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-apl3/igt@kms_cursor_crc@pipe-b-cursor-256x85-sliding.html
- shard-kbl: [FAIL][29] ([fdo#103232]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-kbl1/igt@kms_cursor_crc@pipe-b-cursor-256x85-sliding.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-kbl3/igt@kms_cursor_crc@pipe-b-cursor-256x85-sliding.html
* igt@kms_cursor_legacy@2x-cursor-vs-flip-atomic:
- shard-hsw: [SKIP][31] ([fdo#109271]) -> [PASS][32] +12 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-hsw1/igt@kms_cursor_legacy@2x-cursor-vs-flip-atomic.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-hsw6/igt@kms_cursor_legacy@2x-cursor-vs-flip-atomic.html
* igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic:
- shard-glk: [FAIL][33] ([fdo#106509] / [fdo#107409]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-glk8/igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-glk8/igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic.html
* igt@kms_flip@2x-modeset-vs-vblank-race:
- shard-glk: [FAIL][35] ([fdo#103060]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-glk1/igt@kms_flip@2x-modeset-vs-vblank-race.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-glk6/igt@kms_flip@2x-modeset-vs-vblank-race.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-blt:
- shard-iclb: [FAIL][37] ([fdo#103167]) -> [PASS][38] +8 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-blt.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-iclb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-blt.html
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes:
- shard-glk: [INCOMPLETE][39] ([fdo#103359] / [k.org#198133]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-glk1/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-glk6/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes.html
* igt@kms_plane_lowres@pipe-a-tiling-x:
- shard-iclb: [FAIL][41] ([fdo#103166]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-iclb8/igt@kms_plane_lowres@pipe-a-tiling-x.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-iclb5/igt@kms_plane_lowres@pipe-a-tiling-x.html
* igt@kms_psr@no_drrs:
- shard-iclb: [FAIL][43] ([fdo#108341]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-iclb1/igt@kms_psr@no_drrs.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-iclb5/igt@kms_psr@no_drrs.html
* igt@kms_psr@psr2_primary_mmap_gtt:
- shard-iclb: [SKIP][45] ([fdo#109441]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-iclb1/igt@kms_psr@psr2_primary_mmap_gtt.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-iclb2/igt@kms_psr@psr2_primary_mmap_gtt.html
* igt@kms_setmode@basic:
- shard-apl: [FAIL][47] ([fdo#99912]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-apl3/igt@kms_setmode@basic.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-apl4/igt@kms_setmode@basic.html
- shard-kbl: [FAIL][49] ([fdo#99912]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-kbl7/igt@kms_setmode@basic.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-kbl6/igt@kms_setmode@basic.html
#### Warnings ####
* igt@gem_mmap_gtt@forked-big-copy-xy:
- shard-iclb: [TIMEOUT][51] ([fdo#109673]) -> [INCOMPLETE][52] ([fdo#107713] / [fdo#109100])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-iclb3/igt@gem_mmap_gtt@forked-big-copy-xy.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-iclb1/igt@gem_mmap_gtt@forked-big-copy-xy.html
* igt@prime_vgem@wait-bsd1:
- shard-snb: [FAIL][53] -> [INCOMPLETE][54] ([fdo#105411])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6141/shard-snb6/igt@prime_vgem@wait-bsd1.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/shard-snb4/igt@prime_vgem@wait-bsd1.html
[fdo#103060]: https://bugs.freedesktop.org/show_bug.cgi?id=103060
[fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103184]: https://bugs.freedesktop.org/show_bug.cgi?id=103184
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#105411]: https://bugs.freedesktop.org/show_bug.cgi?id=105411
[fdo#106509]: https://bugs.freedesktop.org/show_bug.cgi?id=106509
[fdo#107409]: https://bugs.freedesktop.org/show_bug.cgi?id=107409
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#108341]: https://bugs.freedesktop.org/show_bug.cgi?id=108341
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#108686]: https://bugs.freedesktop.org/show_bug.cgi?id=108686
[fdo#109100]: https://bugs.freedesktop.org/show_bug.cgi?id=109100
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#109661]: https://bugs.freedesktop.org/show_bug.cgi?id=109661
[fdo#109673]: https://bugs.freedesktop.org/show_bug.cgi?id=109673
[fdo#110667]: https://bugs.freedesktop.org/show_bug.cgi?id=110667
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
[k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133
Participating hosts (10 -> 6)
------------------------------
Missing (4): pig-skl-6260u shard-skl pig-hsw-4770r pig-glk-j5005
Build changes
-------------
* IGT: IGT_5015 -> IGTPW_3056
* Piglit: piglit_4509 -> None
CI_DRM_6141: e94845147cc0346c3a9114d5359b188008daff9d @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3056: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3056/
IGT_5015: cdd6b0a7630762cec14596b9863f418b48c32f46 @ 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_3056/
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [igt-dev] [PATCH i-g-t] i915/pm_rpm: Probe connectors to run standalone
2019-05-24 21:39 [igt-dev] [PATCH i-g-t] i915/pm_rpm: Probe connectors to run standalone Chris Wilson
2019-05-26 10:42 ` [igt-dev] ✓ Fi.CI.BAT: success for i915/pm_rpm: Probe connectors to run standalone (rev2) Patchwork
2019-05-26 14:24 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
@ 2019-05-27 10:56 ` Imre Deak
2019-05-27 11:04 ` Chris Wilson
2 siblings, 1 reply; 7+ messages in thread
From: Imre Deak @ 2019-05-27 10:56 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
On Fri, May 24, 2019 at 10:39:42PM +0100, Chris Wilson wrote:
> In order to run as a standalone test (i.e. immediately after booting a
> device), we need to explicitly probe the connectors.
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Good to not depend on a preceding (cached) state:
Reviewed-by: Imre Deak <imre.deak@intel.com>
Btw, the driver does an initial probing during loading via
poll_init_work, can you confirm that the point here is that you don't
want to depend on that, since it happens asynchronously?
> ---
> tests/i915/i915_pm_rpm.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/tests/i915/i915_pm_rpm.c b/tests/i915/i915_pm_rpm.c
> index a2c9d0ede..2f7e30592 100644
> --- a/tests/i915/i915_pm_rpm.c
> +++ b/tests/i915/i915_pm_rpm.c
> @@ -394,8 +394,9 @@ static void init_mode_set_data(struct mode_set_data *data)
> if (data->res) {
> igt_assert(data->res->count_connectors <= MAX_CONNECTORS);
> for (int i = 0; i < data->res->count_connectors; i++) {
> - data->connectors[i] = drmModeGetConnectorCurrent(drm_fd,
> - data->res->connectors[i]);
> + data->connectors[i] =
> + drmModeGetConnector(drm_fd,
> + data->res->connectors[i]);
> data->edids[i] = get_connector_edid(data->connectors[i], i);
> }
>
> --
> 2.20.1
>
> _______________________________________________
> igt-dev mailing list
> igt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [igt-dev] [PATCH i-g-t] i915/pm_rpm: Probe connectors to run standalone
2019-05-27 10:56 ` [igt-dev] [PATCH i-g-t] i915/pm_rpm: Probe connectors to run standalone Imre Deak
@ 2019-05-27 11:04 ` Chris Wilson
2019-05-27 12:12 ` Imre Deak
0 siblings, 1 reply; 7+ messages in thread
From: Chris Wilson @ 2019-05-27 11:04 UTC (permalink / raw)
To: Imre Deak; +Cc: igt-dev
Quoting Imre Deak (2019-05-27 11:56:48)
> On Fri, May 24, 2019 at 10:39:42PM +0100, Chris Wilson wrote:
> > In order to run as a standalone test (i.e. immediately after booting a
> > device), we need to explicitly probe the connectors.
> >
> > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
>
> Good to not depend on a preceding (cached) state:
> Reviewed-by: Imre Deak <imre.deak@intel.com>
>
> Btw, the driver does an initial probing during loading via
> poll_init_work, can you confirm that the point here is that you don't
> want to depend on that, since it happens asynchronously?
It does? Does that depend on having fbdev? It doesn't matter how long I
wait, this test fails if run first after boot.
-Chris
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] i915/pm_rpm: Probe connectors to run standalone
2019-05-27 11:04 ` Chris Wilson
@ 2019-05-27 12:12 ` Imre Deak
0 siblings, 0 replies; 7+ messages in thread
From: Imre Deak @ 2019-05-27 12:12 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
On Mon, May 27, 2019 at 12:04:32PM +0100, Chris Wilson wrote:
> Quoting Imre Deak (2019-05-27 11:56:48)
> > On Fri, May 24, 2019 at 10:39:42PM +0100, Chris Wilson wrote:
> > > In order to run as a standalone test (i.e. immediately after booting a
> > > device), we need to explicitly probe the connectors.
> > >
> > > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> >
> > Good to not depend on a preceding (cached) state:
> > Reviewed-by: Imre Deak <imre.deak@intel.com>
> >
> > Btw, the driver does an initial probing during loading via
> > poll_init_work, can you confirm that the point here is that you don't
> > want to depend on that, since it happens asynchronously?
>
> It does? Does that depend on having fbdev?
Ah, nope it doesn't. I mixed that up with the async connector detection,
but that doesn't result in a probing. Yes, probing depends on havng
fbdev.
> It doesn't matter how long I wait, this test fails if run first after
> boot.
Yep, makes sense to ensure the probing.
--Imre
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 7+ messages in thread
* [igt-dev] [PATCH i-g-t] i915/pm_rpm: Probe connectors to run standalone
@ 2019-04-05 8:36 Chris Wilson
0 siblings, 0 replies; 7+ messages in thread
From: Chris Wilson @ 2019-04-05 8:36 UTC (permalink / raw)
To: igt-dev; +Cc: intel-gfx
In order to run as a standalone test (i.e. immediately after booting a
device), we need to explicitly probe the connectors.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/i915/i915_pm_rpm.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/i915/i915_pm_rpm.c b/tests/i915/i915_pm_rpm.c
index a2c9d0ede..2f7e30592 100644
--- a/tests/i915/i915_pm_rpm.c
+++ b/tests/i915/i915_pm_rpm.c
@@ -394,8 +394,9 @@ static void init_mode_set_data(struct mode_set_data *data)
if (data->res) {
igt_assert(data->res->count_connectors <= MAX_CONNECTORS);
for (int i = 0; i < data->res->count_connectors; i++) {
- data->connectors[i] = drmModeGetConnectorCurrent(drm_fd,
- data->res->connectors[i]);
+ data->connectors[i] =
+ drmModeGetConnector(drm_fd,
+ data->res->connectors[i]);
data->edids[i] = get_connector_edid(data->connectors[i], i);
}
--
2.20.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2019-05-27 12:13 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-24 21:39 [igt-dev] [PATCH i-g-t] i915/pm_rpm: Probe connectors to run standalone Chris Wilson
2019-05-26 10:42 ` [igt-dev] ✓ Fi.CI.BAT: success for i915/pm_rpm: Probe connectors to run standalone (rev2) Patchwork
2019-05-26 14:24 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-05-27 10:56 ` [igt-dev] [PATCH i-g-t] i915/pm_rpm: Probe connectors to run standalone Imre Deak
2019-05-27 11:04 ` Chris Wilson
2019-05-27 12:12 ` Imre Deak
-- strict thread matches above, loose matches on Subject: below --
2019-04-05 8:36 Chris Wilson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox