Skip to contentSkip to conversation

tests/i915/i915_pm_dc: Validate display enters to DC9 state

PATCH In review Jigar Bhatt 3 participants 4 messages Jan 18, 2021 – Jan 20, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/i915/i915_pm_dc: Validate display enters to DC9 state

From: jbhatt <[email protected]>

---
 tests/i915/i915_pm_dc.c | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
tests/i915/i915_pm_dc.c +23 -0
index 30c6024..679ac94 100644
@@ -384,6 +384,25 @@ static void test_dc_state_dpms(data_t *data, int dc_flag)
 	cleanup_dc_dpms(data);
 }
 
+static bool check_dc9(uint32_t debugfs_fd, int prev_dc5, int prev_dc6)
+{
+        char buf[4096];
+        char *str;
+        igt_debugfs_simple_read(debugfs_fd, "i915_pm_req_res_info", buf, sizeof(buf));
+        str = strstr(buf, "DC9 Ready = ");
+        igt_assert_f((str&&strlen(str)>12&&str[12]=='y'&&strstr(str,"yes")), "Not in DC9 ready\n");
+        return igt_wait((read_dc_counter(debugfs_fd, CHECK_DC5)>prev_dc5 || read_dc_counter(debugfs_fd, CHECK_DC6)>prev_dc6),3000,100);
+}
+static void test_dc9_dpms(data_t *data)
+{
+        require_dc_counter(data->debugfs_fd, CHECK_DC5);
+        require_dc_counter(data->debugfs_fd, CHECK_DC6);
+        int dc5_prev=read_dc_counter(data->debugfs_fd, CHECK_DC5);
+        int dc6_prev=read_dc_counter(data->debugfs_fd, CHECK_DC6);
+        dpms_off(data);
+        igt_assert_f(check_dc9(data->debugfs_fd,dc5_prev,dc6_prev),"\n Not in DC9");
+        dpms_on(data);
+}
 IGT_TEST_DESCRIPTION("These tests validate Display Power DC states");
 int main(int argc, char *argv[])
 {
@@ -449,6 +468,10 @@ int main(int argc, char *argv[])
 		test_dc_state_dpms(&data, CHECK_DC6);
 	}
 
+	igt_describe("This test validates display engine entry to DC9 state");
+		igt_subtest("dc9-dpms") {
+                test_dc9_dpms(&data);
+        }
 	igt_fixture {
 		free(data.pwr_dmn_info);
 		close(data.debugfs_fd);
Signature · 6 lines
2.8.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#1 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for tests/i915/i915_pm_dc: Validate display enters to DC9 state

== Series Details ==

== Series Details ==

Series: tests/i915/i915_pm_dc: Validate display enters to DC9 state
URL : https://patchwork.freedesktop.org/series/86027/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_9636 -> IGTPW_5401
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/index.html

Known issues
------------

Here are the changes found in IGTPW_5401 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@core_hotunplug@unbind-rebind:
- fi-kbl-7500u: [PASS][1] -> [DMESG-WARN][2] ([i915#2605])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/fi-kbl-7500u/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/fi-kbl-7500u/igt@[email protected]

* igt@gem_flink_basic@bad-flink:
- fi-tgl-y: [PASS][3] -> [DMESG-WARN][4] ([i915#402])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/fi-tgl-y/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/fi-tgl-y/igt@[email protected]

#### Possible fixes ####

* igt@gem_ringfill@basic-all:
- fi-tgl-y: [DMESG-WARN][5] ([i915#402]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/fi-tgl-y/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/fi-tgl-y/igt@[email protected]

* igt@kms_chamelium@hdmi-crc-fast:
- fi-kbl-7500u: [DMESG-WARN][7] ([i915#2868]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/fi-kbl-7500u/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/fi-kbl-7500u/igt@[email protected]

[i915#2605]: https://gitlab.freedesktop.org/drm/intel/issues/2605
[i915#2868]: https://gitlab.freedesktop.org/drm/intel/issues/2868
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402

Participating hosts (44 -> 36)
------------------------------

Missing (8): fi-ilk-m540 fi-tgl-u2 fi-hsw-4200u fi-bsw-cyan fi-ctg-p8600 fi-dg1-1 fi-cml-drallion fi-bdw-samus

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_5960 -> IGTPW_5401

CI-20190529: 20190529
CI_DRM_9636: f560ac388c527f2f166897c9091f7b9ad652050f @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5401: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/index.html
IGT_5960: ace82fcd5f3623f8dde7c220a825873dc53dfae4 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Testlist changes ==

+igt@i915_pm_dc@dc9-dpms

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/index.html

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#2 lore raw

[igt-dev] ✗ Fi.CI.IGT: failure for tests/i915/i915_pm_dc: Validate display enters to DC9 state

In reply to Jigar Bhatt
== Series Details ==

== Series Details ==

Series: tests/i915/i915_pm_dc: Validate display enters to DC9 state
URL : https://patchwork.freedesktop.org/series/86027/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_9636_full -> IGTPW_5401_full
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with IGTPW_5401_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in IGTPW_5401_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/index.html

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in IGTPW_5401_full:

### IGT changes ###

#### Possible regressions ####

* igt@drm_read@short-buffer-wakeup:
- shard-hsw: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-hsw7/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-hsw7/igt@[email protected]

* {igt@i915_pm_dc@dc9-dpms} (NEW):
- shard-iclb: NOTRUN -> [FAIL][3]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb1/igt@[email protected]
- shard-kbl: NOTRUN -> [FAIL][4]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-kbl3/igt@[email protected]

* igt@kms_color@pipe-c-legacy-gamma-reset:
- shard-kbl: [PASS][5] -> [FAIL][6] +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-kbl1/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-kbl7/igt@[email protected]
- shard-apl: [PASS][7] -> [FAIL][8] +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-apl7/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-apl4/igt@[email protected]
- shard-glk: [PASS][9] -> [FAIL][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-glk2/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-glk9/igt@[email protected]
- shard-hsw: [PASS][11] -> [FAIL][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-hsw7/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-hsw7/igt@[email protected]

New tests
---------

New tests have been introduced between CI_DRM_9636_full and IGTPW_5401_full:

### New IGT tests (1) ###

* igt@i915_pm_dc@dc9-dpms:
- Statuses : 3 fail(s) 4 skip(s)
- Exec time: [0.0, 0.55] s

Known issues
------------

Here are the changes found in IGTPW_5401_full that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_ctx_persistence@engines-mixed:
- shard-hsw: NOTRUN -> [SKIP][13] ([fdo#109271] / [i915#1099]) +2 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-hsw7/igt@[email protected]

* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-tglb: [PASS][14] -> [FAIL][15] ([i915#2842])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-tglb1/igt@gem_exec_fair@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-tglb2/igt@gem_exec_fair@[email protected]
- shard-iclb: [PASS][16] -> [FAIL][17] ([i915#2842]) +1 similar issue
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-iclb4/igt@gem_exec_fair@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb5/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace@vecs0:
- shard-kbl: [PASS][18] -> [FAIL][19] ([i915#2842]) +1 similar issue
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-kbl4/igt@gem_exec_fair@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-kbl1/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-glk: [PASS][20] -> [FAIL][21] ([i915#2842])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-glk2/igt@gem_exec_fair@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-glk8/igt@gem_exec_fair@[email protected]

* igt@gem_exec_schedule@u-fairslice@rcs0:
- shard-iclb: [PASS][22] -> [DMESG-WARN][23] ([i915#2803])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-iclb3/igt@gem_exec_schedule@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb6/igt@gem_exec_schedule@[email protected]

* igt@gem_exec_schedule@u-fairslice@vcs0:
- shard-apl: [PASS][24] -> [DMESG-WARN][25] ([i915#1610])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-apl8/igt@gem_exec_schedule@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-apl7/igt@gem_exec_schedule@[email protected]

* igt@gem_render_copy@y-tiled-to-vebox-linear:
- shard-hsw: NOTRUN -> [SKIP][26] ([fdo#109271]) +178 similar issues
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-hsw6/igt@[email protected]

* igt@gem_render_copy@yf-tiled-mc-ccs-to-vebox-y-tiled:
- shard-glk: NOTRUN -> [SKIP][27] ([fdo#109271]) +7 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-glk3/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][28] ([i915#768])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb2/igt@[email protected]

* igt@gem_userptr_blits@readonly-pwrite-unsync:
- shard-tglb: NOTRUN -> [SKIP][29] ([fdo#110426] / [i915#1704])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-tglb6/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][30] ([fdo#110426] / [i915#1704])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb6/igt@[email protected]

* igt@gem_vm_create@destroy-race:
- shard-tglb: [PASS][31] -> [INCOMPLETE][32] ([i915#2912])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-tglb2/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-tglb5/igt@[email protected]

* {igt@i915_pm_dc@dc9-dpms} (NEW):
- shard-tglb: NOTRUN -> [FAIL][33] ([i915#2411])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-tglb8/igt@[email protected]
- shard-snb: NOTRUN -> [SKIP][34] ([fdo#109271])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-snb4/igt@[email protected]

* igt@i915_pm_lpsp@screens-disabled:
- shard-hsw: [PASS][35] -> [FAIL][36] ([i915#2768])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-hsw5/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-hsw2/igt@[email protected]

* igt@i915_pm_rpm@drm-resources-equal:
- shard-kbl: [PASS][37] -> [SKIP][38] ([fdo#109271])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-kbl3/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-kbl7/igt@[email protected]
- shard-hsw: [PASS][39] -> [SKIP][40] ([fdo#109271])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-hsw5/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-hsw2/igt@[email protected]
- shard-iclb: [PASS][41] -> [SKIP][42] ([i915#579])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-iclb6/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb3/igt@[email protected]
- shard-glk: [PASS][43] -> [SKIP][44] ([fdo#109271])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-glk2/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-glk9/igt@[email protected]
- shard-apl: [PASS][45] -> [SKIP][46] ([fdo#109271])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-apl1/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-apl2/igt@[email protected]
- shard-tglb: [PASS][47] -> [SKIP][48] ([i915#579])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-tglb5/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-tglb7/igt@[email protected]

* igt@kms_ccs@pipe-d-missing-ccs-buffer:
- shard-iclb: NOTRUN -> [SKIP][49] ([fdo#109278]) +2 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb5/igt@[email protected]

* igt@kms_chamelium@dp-frame-dump:
- shard-iclb: NOTRUN -> [SKIP][50] ([fdo#109284] / [fdo#111827]) +1 similar issue
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb4/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][51] ([fdo#109271] / [fdo#111827]) +1 similar issue
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-glk7/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][52] ([fdo#109271] / [fdo#111827]) +1 similar issue
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-kbl1/igt@[email protected]

* igt@kms_color_chamelium@pipe-b-ctm-limited-range:
- shard-tglb: NOTRUN -> [SKIP][53] ([fdo#109284] / [fdo#111827]) +1 similar issue
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-tglb6/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][54] ([fdo#109271] / [fdo#111827]) +1 similar issue
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-apl8/igt@[email protected]

* igt@kms_color_chamelium@pipe-d-ctm-max:
- shard-hsw: NOTRUN -> [SKIP][55] ([fdo#109271] / [fdo#111827]) +15 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-hsw4/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-64x64-onscreen:
- shard-apl: [PASS][56] -> [FAIL][57] ([i915#54])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-apl6/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-apl2/igt@[email protected]
- shard-kbl: [PASS][58] -> [FAIL][59] ([i915#54])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-kbl6/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-kbl7/igt@[email protected]

* igt@kms_cursor_legacy@cursora-vs-flipb-atomic:
- shard-tglb: NOTRUN -> [SKIP][60] ([fdo#111825]) +3 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-tglb5/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][61] ([fdo#109274] / [fdo#109278])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb6/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank@a-edp1:
- shard-tglb: [PASS][62] -> [FAIL][63] ([i915#2598])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-tglb8/igt@kms_flip@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-tglb1/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-suspend-interruptible@c-hdmi-a1:
- shard-hsw: [PASS][64] -> [INCOMPLETE][65] ([i915#2295])
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-hsw4/igt@kms_flip@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-hsw4/igt@kms_flip@[email protected]

* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-cur-indfb-draw-mmap-wc:
- shard-kbl: NOTRUN -> [SKIP][66] ([fdo#109271]) +8 similar issues
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-kbl2/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-cur-indfb-draw-mmap-wc.html
- shard-iclb: NOTRUN -> [SKIP][67] ([fdo#109280]) +2 similar issues
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb2/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-cur-indfb-draw-mmap-wc.html
- shard-apl: NOTRUN -> [SKIP][68] ([fdo#109271]) +9 similar issues
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-apl1/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-cur-indfb-draw-mmap-wc.html

* igt@kms_hdmi_inject@inject-audio:
- shard-tglb: [PASS][69] -> [SKIP][70] ([i915#433])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-tglb2/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-tglb7/igt@[email protected]

* igt@kms_pipe_crc_basic@hang-read-crc-pipe-d:
- shard-kbl: NOTRUN -> [SKIP][71] ([fdo#109271] / [i915#533])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-kbl3/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][72] ([fdo#109271] / [i915#533])
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-glk7/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][73] ([fdo#109271] / [i915#533])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-apl2/igt@[email protected]

* igt@kms_psr@psr2_suspend:
- shard-iclb: [PASS][74] -> [SKIP][75] ([fdo#109441]) +1 similar issue
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-iclb2/igt@kms_psr@psr2_suspend.html
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb7/igt@kms_psr@psr2_suspend.html

* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-kbl: [PASS][76] -> [INCOMPLETE][77] ([i915#155] / [i915#2295])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-kbl7/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-kbl1/igt@[email protected]
- shard-tglb: [PASS][78] -> [DMESG-WARN][79] ([i915#1436] / [i915#1602] / [i915#1887] / [i915#2411])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-tglb1/igt@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-tglb1/igt@[email protected]
- shard-apl: [PASS][80] -> [DMESG-WARN][81] ([i915#1602] / [i915#2635] / [i915#295])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-apl2/igt@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-apl3/igt@[email protected]
- shard-glk: [PASS][82] -> [DMESG-WARN][83] ([i915#1602] / [i915#2635] / [i915#295])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-glk6/igt@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-glk7/igt@[email protected]
- shard-iclb: [PASS][84] -> [DMESG-WARN][85] ([i915#1602])
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-iclb4/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb4/igt@[email protected]

#### Possible fixes ####

* igt@gem_ctx_persistence@close-replace-race:
- shard-glk: [TIMEOUT][86] ([i915#2918]) -> [PASS][87]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-glk4/igt@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-glk6/igt@[email protected]

* igt@gem_exec_fair@basic-flow@rcs0:
- shard-tglb: [FAIL][88] ([i915#2842]) -> [PASS][89] +1 similar issue
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-tglb6/igt@gem_exec_fair@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-tglb7/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none@vcs0:
- shard-kbl: [FAIL][90] ([i915#2842]) -> [PASS][91] +1 similar issue
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-kbl2/igt@gem_exec_fair@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-kbl3/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none@vecs0:
- shard-apl: [FAIL][92] ([i915#2842]) -> [PASS][93]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-apl8/igt@gem_exec_fair@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-apl7/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [FAIL][94] ([i915#2842]) -> [PASS][95]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-glk6/igt@gem_exec_fair@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-glk6/igt@gem_exec_fair@[email protected]

* igt@kms_cursor_edge_walk@pipe-a-64x64-top-edge:
- shard-glk: [DMESG-WARN][96] ([i915#118] / [i915#95]) -> [PASS][97]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-glk6/igt@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-glk1/igt@[email protected]

* igt@kms_cursor_legacy@flip-vs-cursor-atomic:
- shard-tglb: [FAIL][98] ([i915#2346]) -> [PASS][99]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-tglb7/igt@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-tglb7/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank@c-dp1:
- shard-apl: [FAIL][100] ([i915#79]) -> [PASS][101]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-apl2/igt@kms_flip@[email protected]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-apl4/igt@kms_flip@[email protected]

* igt@kms_psr@psr2_primary_page_flip:
- shard-iclb: [SKIP][102] ([fdo#109441]) -> [PASS][103] +1 similar issue
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-iclb5/igt@kms_psr@psr2_primary_page_flip.html
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb2/igt@kms_psr@psr2_primary_page_flip.html

#### Warnings ####

* igt@i915_pm_dc@dc3co-vpb-simulation:
- shard-iclb: [SKIP][104] ([i915#658]) -> [SKIP][105] ([i915#588])
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-iclb1/igt@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb2/igt@[email protected]

* igt@i915_pm_rc6_residency@rc6-fence:
- shard-iclb: [WARN][106] ([i915#2684]) -> [WARN][107] ([i915#1804] / [i915#2684])
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-iclb2/igt@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb7/igt@[email protected]

* igt@i915_pm_rc6_residency@rc6-idle:
- shard-iclb: [WARN][108] ([i915#1804] / [i915#2684]) -> [WARN][109] ([i915#2684])
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-iclb4/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb5/igt@[email protected]

* igt@kms_content_protection@uevent:
- shard-kbl: [FAIL][110] -> [FAIL][111] ([i915#2105])
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-kbl6/igt@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-kbl4/igt@[email protected]

* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-3:
- shard-iclb: [SKIP][112] ([i915#2920]) -> [SKIP][113] ([i915#658]) +2 similar issues
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-iclb2/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb6/igt@[email protected]

* igt@kms_psr2_sf@plane-move-sf-dmg-area-3:
- shard-iclb: [SKIP][114] ([i915#658]) -> [SKIP][115] ([i915#2920])
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-iclb5/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb2/igt@[email protected]

* igt@runner@aborted:
- shard-kbl: [FAIL][116] ([i915#2295] / [i915#2505]) -> [FAIL][117] ([i915#2295])
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-kbl6/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-kbl4/igt@[email protected]
- shard-iclb: [FAIL][118] ([i915#2295] / [i915#2724]) -> ([FAIL][119], [FAIL][120], [FAIL][121]) ([i915#1814] / [i915#2295] / [i915#2426] / [i915#2724])
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-iclb7/igt@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb4/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb1/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-iclb6/igt@[email protected]
- shard-apl: [FAIL][122] ([i915#2295]) -> ([FAIL][123], [FAIL][124], [FAIL][125]) ([i915#1610] / [i915#1814] / [i915#2295] / [i915#2426])
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-apl8/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-apl3/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-apl7/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-apl7/igt@[email protected]
- shard-glk: [FAIL][126] ([i915#2295] / [k.org#202321]) -> ([FAIL][127], [FAIL][128]) ([i915#1814] / [i915#2295] / [k.org#202321])
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-glk5/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-glk1/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-glk7/igt@[email protected]
- shard-tglb: [FAIL][129] ([i915#2295] / [i915#2667]) -> ([FAIL][130], [FAIL][131], [FAIL][132]) ([i915#1602] / [i915#2295] / [i915#2667] / [i915#2843])
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9636/shard-tglb5/igt@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-tglb3/igt@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-tglb5/igt@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/shard-tglb1/igt@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110426]: https://bugs.freedesktop.org/show_bug.cgi?id=110426
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1099]: https://gitlab.freedesktop.org/drm/intel/issues/1099
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#155]: https://gitlab.freedesktop.org/drm/intel/issues/155
[i915#1602]: https://gitlab.freedesktop.org/drm/intel/issues/1602
[i915#1610]: https://gitlab.freedesktop.org/drm/intel/issues/1610
[i915#1704]: https://gitlab.freedesktop.org/drm/intel/issues/1704
[i915#1804]: https://gitlab.freedesktop.org/drm/intel/issues/1804
[i915#1814]: https://gitlab.freedesktop.org/drm/intel/issues/1814
[i915#1887]: https://gitlab.freedesktop.org/drm/intel/issues/1887
[i915#2105]: https://gitlab.freedesktop.org/drm/intel/issues/2105
[i915#2295]: https://gitlab.freedesktop.org/drm/intel/issues/2295
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2411]: https://gitlab.freedesktop.org/drm/intel/issues/2411
[i915#2426]: https://gitlab.freedesktop.org/drm/intel/issues/2426
[i915#2505]: https://gitlab.freedesktop.org/drm/intel/issues/2505
[i915#2598]: https://gitlab.freedesktop.org/drm/intel/issues/2598
[i915#2635]: https://gitlab.freedesktop.org/drm/intel/issues/2635
[i915#2667]: https://gitlab.freedesktop.org/drm/intel/issues/2667
[i915#2684]: https://gitlab.freedesktop.org/drm/intel/issues/2684
[i915#2724]: https://gitlab.freedesktop.org/drm/intel/issues/2724
[i915#2768]: https://gitlab.freedesktop.org/drm/intel/issues/2768
[i915#2803]: https://gitlab.freedesktop.org/drm/intel/issues/2803
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2843]: https://gitlab.freedesktop.org/drm/intel/issues/2843
[i915#2912]: https://gitlab.freedesktop.org/drm/intel/issues/2912
[i915#2918]: https://gitlab.freedesktop.org/drm/intel/issues/2918
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#295]: https://gitlab.freedesktop.org/drm/intel/issues/295
[i915#433]: https://gitlab.freedesktop.org/drm/intel/issues/433
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#579]: https://gitlab.freedesktop.org/drm/intel/issues/579
[i915#588]: https://gitlab.freedesktop.org/drm/intel/issues/588
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#768]: https://gitlab.freedesktop.org/drm/intel/issues/768
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
[k.org#202321]: https://bugzilla.kernel.org/show_bug.cgi?id=202321

Participating hosts (10 -> 8)
------------------------------

Missing (2): pig-skl-6260u pig-glk-j5005

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_5960 -> IGTPW_5401
* Piglit: piglit_4509 -> None

CI-20190529: 20190529
CI_DRM_9636: f560ac388c527f2f166897c9091f7b9ad652050f @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5401: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5401/index.html
IGT_5960: ace82fcd5f3623f8dde7c220a825873dc53dfae4 @ 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_5401/index.html

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#3 lore raw
In reply to Jigar Bhatt
Quoted 11 lines

-----Original Message-----
From: Bhatt, Jigar <[email protected]>
Sent: Monday, January 18, 2021 5:18 PM
To: [email protected]
Cc: Bhatt, Jigar <[email protected]>; Shankar, Uma <[email protected]>; Gupta, Anshuman <[email protected]>
Subject: [PATCH i-g-t] tests/i915/i915_pm_dc: Validate display enters to DC9 state

I would name this patch as Add DC9 igt test

Quoted 13 lines

From: jbhatt <[email protected]>

---
 tests/i915/i915_pm_dc.c | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
tests/i915/i915_pm_dc.c index renamed from tests/i915/i915_pm_dc.c +0 -0

30c6024..679ac94 100644

tests/i915/i915_pm_dc.c static void test_dc_state_dpms(data_t *data, int · line 393

Quoted 10 lines
tests/i915/i915_pm_dc.c +5 -0
@@ -384,6 +384,25 @@ static void test_dc_state_dpms(data_t *data, int
 dc_flag)
 	cleanup_dc_dpms(data);
 }
 
+static bool check_dc9(uint32_t debugfs_fd, int prev_dc5, int prev_dc6)
+{
+        char buf[4096];
+        char *str;
+        igt_debugfs_simple_read(debugfs_fd, "i915_pm_req_res_info", buf,
 sizeof(buf));

Please add a check to the return value by igt_debugfs_simple_read, in case debugfs is not Present skip the test.

tests/i915/i915_pm_dc.c static void test_dc_state_dpms(data_t *data, int dc_flag) · line 392

Quoted 1 line
tests/i915/i915_pm_dc.c +1 -0
+        str = strstr(buf, "DC9 Ready = ");

str = strstr(buf, "DC9 Ready = yes"); and assert on str would avoid below operation ?

tests/i915/i915_pm_dc.c static void test_dc_state_dpms(data_t *data, int · line 396

Quoted 2 lines
tests/i915/i915_pm_dc.c +1 -0
+        igt_assert_f((str&&strlen(str)>12&&str[12]=='y'&&strstr(str,"yes")),
 "Not in DC9 ready\n");

Please use correct message DC9 is not ready, and add a comment below since we do not have DC9
Counter so we rely on dc5/dc6 counter reset to check if Display Engine was in DC9.

Quoted 27 lines
tests/i915/i915_pm_dc.c +10 -0
+        return igt_wait((read_dc_counter(debugfs_fd,
+CHECK_DC5)>prev_dc5 || read_dc_counter(debugfs_fd,
+CHECK_DC6)>prev_dc6),3000,100); } static void test_dc9_dpms(data_t
+*data) {
+        require_dc_counter(data->debugfs_fd, CHECK_DC5);
+        require_dc_counter(data->debugfs_fd, CHECK_DC6);
+        int dc5_prev=read_dc_counter(data->debugfs_fd, CHECK_DC5);
+        int dc6_prev=read_dc_counter(data->debugfs_fd, CHECK_DC6);
+        dpms_off(data);
+        igt_assert_f(check_dc9(data->debugfs_fd,dc5_prev,dc6_prev),"\n

Not in DC9");

tests/i915/i915_pm_dc.c +2 -0
+        dpms_on(data);
+}
 IGT_TEST_DESCRIPTION("These tests validate Display Power DC states");

int main(int argc, char *argv[]) { @@ -449,6 +468,10 @@ int main(int argc, char *argv[])

tests/i915/i915_pm_dc.c +4 -1
 		test_dc_state_dpms(&data, CHECK_DC6);
 	}
 
+	igt_describe("This test validates display engine entry to DC9 state");
+		igt_subtest("dc9-dpms") {
+                test_dc9_dpms(&data);
+        }
 	igt_fixture {
 		free(data.pwr_dmn_info);
 		close(data.debugfs_fd);
--
Quoted 1 line

2.8.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev