<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [APL] pm_rc6_residency fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93927">93927</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[APL] pm_rc6_residency fails
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>christophe.prigent@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=121392" name="attach_121392" title="dmesg">attachment 121392</a> <a href="attachment.cgi?id=121392&action=edit" title="dmesg">[details]</a></span>
dmesg

Setup:
======
Platform: Broxton P A0 Platform
CPU Name : Intel(R) @ 1.2 GHz (family: 6, model: 92, stepping: 8) – 4 cores
SoC : BROXTON-P A0
CRB :  Apollo Lake RVPC1 Fab1 
Reworks : R14, R06C and R16

Software:
=========
BIOS (IFWI Version): APLK_IFWI_X64_R_2015_41_5_02 
KSC : 1.02
Linux distribution: Ubuntu 15.10 64 bits
Kernel: drm-intel-nightly 4.4.0 8114b00 from
<a href="http://cgit.freedesktop.org/drm-intel/">http://cgit.freedesktop.org/drm-intel/</a>
drm: tag libdrm-2.4.66 e342c0f from <a href="http://cgit.freedesktop.org/mesa/drm/">http://cgit.freedesktop.org/mesa/drm/</a>
mesa: tag mesa-11.0.8 261daab from <a href="http://cgit.freedesktop.org/mesa/mesa/">http://cgit.freedesktop.org/mesa/mesa/</a>
cairo: tag 1.15.2 db8a7f1 from <a href="http://cgit.freedesktop.org/cairo">http://cgit.freedesktop.org/cairo</a>
waffle: master bb29b2a from <a href="https://github.com/waffle-gl/waffle">https://github.com/waffle-gl/waffle</a>
xorg-server-macros: master d7acec2 from
git://git.freedesktop.org/git/xorg/util/macros
libva: tag libva-1.6.1 cb418f6 from <a href="http://cgit.freedesktop.org/libva/">http://cgit.freedesktop.org/libva/</a>
vaapi-intel-driver: tag 1.6.1 2110b3a from
<a href="http://cgit.freedesktop.org/vaapi/intel-driver">http://cgit.freedesktop.org/vaapi/intel-driver</a>

Tool:
======
intel-gpu-tool: tag intel-gpu-tools-1.13 51e965f from
<a href="http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/">http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/</a>

Connect one monitor to HDMI port (Asus PB287Q)

Steps:
------
1. Execute command:
sudo -s
cd <…>/intel-gpu-tools/tests
./pm_rc6_residency

Actual result:
--------------
1. Subtests are fail or skip

IGT-Version: 1.13-NOT-GIT (x86_64) (Linux: 4.4.0-nightly+ x86_64)
Residency in rc6 or deeper state: 0 ms (sleep duration 3454 ms) (ratio to
expected duration: 0.00)
(pm_rc6_residency:1198) CRITICAL: Test assertion failure function
residency_accuracy, file pm_rc6_residency.c:110:
(pm_rc6_residency:1198) CRITICAL: Failed assertion: ratio > 0.9 && ratio <= 1
(pm_rc6_residency:1198) CRITICAL: Sysfs RC6 residency counter is inaccurate.
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [residency_accuracy+0x86]
  #2 [__real_main192+0x136]
  #3 [main+0x29]
  #4 [__libc_start_main+0xf0]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest rc6-accuracy failed.
**** DEBUG ****
(pm_rc6_residency:1198) DEBUG: Test requirement passed: !(!(rc6_mask &
RC6_ENABLED))
(pm_rc6_residency:1198) INFO: Residency in rc6 or deeper state: 0 ms (sleep
duration 3454 ms) (ratio to expected duration: 0.00)
(pm_rc6_residency:1198) CRITICAL: Test assertion failure function
residency_accuracy, file pm_rc6_residency.c:110:
(pm_rc6_residency:1198) CRITICAL: Failed assertion: ratio > 0.9 && ratio <= 1
(pm_rc6_residency:1198) CRITICAL: Sysfs RC6 residency counter is inaccurate.
****  END  ****
Subtest rc6-accuracy: FAIL (0.179s)
Test requirement not met in function __real_main192, file
pm_rc6_residency.c:218:
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_main192, file
pm_rc6_residency.c:223:
Test requirement: !(!(rc6_mask & RC6P_ENABLED))
Subtest rc6p-accuracy: SKIP (0.000s)
Test requirement not met in function __real_main192, file
pm_rc6_residency.c:228:
Test requirement: !(!(rc6_mask & RC6PP_ENABLED))
Subtest rc6pp-accuracy: SKIP (0.000s)

Expected result:
----------------
At least subtest rc6-accuracy is Pass</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>