<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:yex.tian@intel.com" title="ye.tian <yex.tian@intel.com>"> <span class="fn">ye.tian</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [IVB bisected]igt/pm_rc6_residency subcase rc6-accuracy fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90369">bug 90369</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEEDINFO
           </td>
           <td>NEW
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [IVB bisected]igt/pm_rc6_residency subcase rc6-accuracy fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90369#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [IVB bisected]igt/pm_rc6_residency subcase rc6-accuracy fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90369">bug 90369</a>
              from <span class="vcard"><a class="email" href="mailto:yex.tian@intel.com" title="ye.tian <yex.tian@intel.com>"> <span class="fn">ye.tian</span></a>
</span></b>
        <pre>(In reply to Imre Deak from <a href="show_bug.cgi?id=90369#c2">comment #2</a>)
<span class="quote">> (In reply to ye.tian from <a href="show_bug.cgi?id=90369#c1">comment #1</a>)
> > Case list:
> > 
> > igt@pm_rc6_residency@rc6pp-accuracy 
> > igt@kms_flip@vblank-vs-dpms-suspend 
> > igt@kms_flip@vblank-vs-dpms-suspend-interruptible 
> > igt@kms_flip@vblank-vs-suspend 
> > igt@kms_flip@vblank-vs-suspend-interruptible

> The bisect result looks incorrect, I'm not sure how this test ever passed
> when RC6P and/or RC6PP was also enabled besides RC6.

> Could you try the following 7 patches:
> <a href="http://lists.freedesktop.org/archives/intel-gfx/2015-May/066860.html">http://lists.freedesktop.org/archives/intel-gfx/2015-May/066860.html</a></span >

Test it on the latest nightly kernel and latest igt with 7 patches, only
rc6-accuracy is pass.

[root@x-ivb6 tests]# ./pm_rc6_residency --run-subtest rc6-accuracy
IGT-Version: 1.10-g5253af9 (x86_64) (Linux:
4.1.0-rc3_drm-intel-nightly_056608_20150519+ x86_64)
Residency in rc6 or deeper state: 2982 ms (ratio to expected duration: 0.98)
Subtest rc6-accuracy: SUCCESS (0.000s)

[root@x-ivb6 tests]# ./pm_rc6_residency --run-subtest rc6pp-accuracy
IGT-Version: 1.10-g5253af9 (x86_64) (Linux:
4.1.0-rc3_drm-intel-nightly_056608_20150519+ x86_64)
Test requirement not met in function __real_main178, file
pm_rc6_residency.c:214:
Test requirement: !(!(rc6_mask & RC6PP_ENABLED))
Subtest rc6pp-accuracy: SKIP (0.000s)

[root@x-ivb6 tests]# ./kms_flip --run-subtest vblank-vs-dpms-suspend
IGT-Version: 1.10-g5253af9 (x86_64) (Linux:
4.1.0-rc3_drm-intel-nightly_056608_20150519+ x86_64)
Using monotonic timestamps
Beginning vblank-vs-dpms-suspend on crtc 20, connector 30
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
.rtcwake: wakeup from "mem" using /dev/rtc0 at Tue May 19 19:16:26 2015
.rtcwake: wakeup from "mem" using /dev/rtc0 at Tue May 19 19:16:58 2015
Test assertion failure function check_state, file kms_flip.c:640:
Failed assertion: timercmp(&es->last_received_ts, &es->current_ts, <)
vblank ts before the vblank was issued!
timerdiff -1s, 994391us
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [check_state+0x271]
  #2 [run_test_on_crtc_set.constprop.13+0xafc]
  #3 [run_test+0x25a]
  #4 [main+0x284]
  #5 [__libc_start_main+0xf5]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest vblank-vs-dpms-suspend failed.
**** DEBUG ****
Test requirement passed: (flags & TEST_HANG) == 0 || !is_hung(drm_fd)
Test requirement passed: modes
Beginning vblank-vs-dpms-suspend on crtc 20, connector 30
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32],
tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=2, pitch=7680)
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32],
tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=3, pitch=7680)
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32],
tiling=0x100000000000001, size=0
igt_create_fb_with_bo_size(handle=4, pitch=8192)
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
Test requirement passed: !igt_run_in_simulation()
Test requirement passed: !igt_run_in_simulation()
Test assertion failure function check_state, file kms_flip.c:640:
Failed assertion: timercmp(&es->last_received_ts, &es->current_ts, <)
vblank ts before the vblank was issued!
timerdiff -1s, 994391us
****  END  ****
Subtest vblank-vs-dpms-suspend: FAIL (2.443s)
[root@x-ivb6 tests]# ./kms_flip --run-subtest
vblank-vs-dpms-suspend-interruptible
IGT-Version: 1.10-g5253af9 (x86_64) (Linux:
4.1.0-rc3_drm-intel-nightly_056608_20150519+ x86_64)
Using monotonic timestamps
Beginning vblank-vs-dpms-suspend-interruptible on crtc 20, connector 30
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
.rtcwake: wakeup from "mem" using /dev/rtc0 at Tue May 19 19:18:00 2015
.rtcwake: wakeup from "mem" using /dev/rtc0 at Tue May 19 19:18:32 2015
Test assertion failure function check_state, file kms_flip.c:640:
Failed assertion: timercmp(&es->last_received_ts, &es->current_ts, <)
Last errno: 4, Interrupted system call
vblank ts before the vblank was issued!
timerdiff -1s, 985709us
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [check_state+0x271]
  #2 [run_test_on_crtc_set.constprop.13+0xafc]
  #3 [run_test+0x25a]
  #4 [main+0x458]
  #5 [__libc_start_main+0xf5]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest vblank-vs-dpms-suspend-interruptible failed.
**** DEBUG ****
Test requirement passed: (flags & TEST_HANG) == 0 || !is_hung(drm_fd)
Test requirement passed: modes
Beginning vblank-vs-dpms-suspend-interruptible on crtc 20, connector 30
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32],
tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=2, pitch=7680)
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32],
tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=3, pitch=7680)
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32],
tiling=0x100000000000001, size=0
igt_create_fb_with_bo_size(handle=4, pitch=8192)
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
Test requirement passed: !igt_run_in_simulation()
Test requirement passed: !igt_run_in_simulation()
Test assertion failure function check_state, file kms_flip.c:640:
Failed assertion: timercmp(&es->last_received_ts, &es->current_ts, <)
Last errno: 4, Interrupted system call
vblank ts before the vblank was issued!
timerdiff -1s, 985709us
****  END  ****
Subtest vblank-vs-dpms-suspend-interruptible: FAIL (2.419s)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>