<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:wendy.wang@intel.com" title="wendy.wang@intel.com">wendy.wang@intel.com</a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [all] igt/pm_rc6_residency/*-accuracy isn't an accurate testcase."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76877">bug 76877</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>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [all] igt/pm_rc6_residency/*-accuracy isn't an accurate testcase."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76877#c20">Comment # 20</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [all] igt/pm_rc6_residency/*-accuracy isn't an accurate testcase."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76877">bug 76877</a>
              from <span class="vcard"><a class="email" href="mailto:wendy.wang@intel.com" title="wendy.wang@intel.com">wendy.wang@intel.com</a>
</span></b>
        <pre>(In reply to Imre Deak from <a href="show_bug.cgi?id=76877#c19">comment #19</a>)
<span class="quote">> This should be fixed by the following patch, could you give it a try?:

> <a href="http://lists.freedesktop.org/archives/intel-gfx/2015-May/066871.html">http://lists.freedesktop.org/archives/intel-gfx/2015-May/066871.html</a></span >

Yes, this patch can fix this issue on BYT, other platforms also pass.

root@x-byt01:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests#
./pm_rc6_residency
IGT-Version: 1.10-gf497238 (x86_64) (Linux: 4.1.0-rc5_kcloud_b03656_20150529+
x86_64)
Residency in rc6 or deeper state: 3001 ms (ratio to expected duration: 0.98)
Subtest rc6-accuracy: SUCCESS (0.000s)
Residency in media_rc6 or deeper state: 3001 ms (ratio to expected duration:
0.98)
Subtest media-rc6-accuracy: SUCCESS (0.000s)
Test requirement not met in function __real_main178, file
pm_rc6_residency.c:209:
Test requirement: !(!(rc6_mask & RC6P_ENABLED))
Subtest rc6p-accuracy: SKIP (0.000s)
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-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests#
./pm_rc6_residency
IGT-Version: 1.10-gf497238 (x86_64) (Linux: 4.1.0-rc5_kcloud_b03656_20150529+
x86_64)
Residency in rc6 or deeper state: 3009 ms (ratio to expected duration: 0.99)
Subtest rc6-accuracy: SUCCESS (0.000s)
Test requirement not met in function __real_main178, file
pm_rc6_residency.c:204:
Test requirement: !(!((rc6_mask & RC6_ENABLED) && (IS_VALLEYVIEW(devid) ||
IS_CHERRYVIEW(devid))))
Subtest media-rc6-accuracy: SKIP (0.000s)
Test requirement not met in function __real_main178, file
pm_rc6_residency.c:209:
Test requirement: !(!(rc6_mask & RC6P_ENABLED))
Subtest rc6p-accuracy: SKIP (0.000s)
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-ivb9 tests]# ./pm_rc6_residency
IGT-Version: 1.10-g308b0e8 (x86_64) (Linux: 4.1.0-rc5_kcloud_b03656_20150529+
x86_64)
Residency in rc6 or deeper state: 2975 ms (ratio to expected duration: 0.98)
Subtest rc6-accuracy: SUCCESS (0.000s)
Test requirement not met in function __real_main178, file
pm_rc6_residency.c:204:
Test requirement: !(!((rc6_mask & RC6_ENABLED) && (IS_VALLEYVIEW(devid) ||
IS_CHERRYVIEW      (devid))))
Subtest media-rc6-accuracy: SKIP (0.000s)
Residency in rc6p or deeper state: 2975 ms (ratio to expected duration: 0.98)
Subtest rc6p-accuracy: SUCCESS (0.000s)
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)</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>
      </ul>
    </body>
</html>