<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 - [SKL-Y] VGA PCI controler does not suspend"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93016">93016</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[SKL-Y] VGA PCI controler does not suspend
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>x86 (IA32)
          </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=119941" name="attach_119941" title="4.4-rc1-nightly_text-mode_kern.log">attachment 119941</a> <a href="attachment.cgi?id=119941&action=edit" title="4.4-rc1-nightly_text-mode_kern.log">[details]</a></span>
4.4-rc1-nightly_text-mode_kern.log

Hardware
Platform: SKY LAKE Y A0 QUAL
CPU : Intel(R) Core(TM) M5-6Y54 @ 1.10GHz 4MB (family: 6, model: 78  stepping:
3)
MCP : SKL-Y  D0   
QDF : QJ9W
CPU : SKL D0
Chipset PCH: Sunrise Point LP C0       
CRB : SKY LAKE Y LPDDR3 RVP3 CRB FAB2
Reworks : All Mandatories + FBS02 & FBS03, O-06
Software 
Linux : Ubuntu 14.04 64 bits
BIOS : SKLSE2R1.R00.B104.B01.1511110114
ME FW : 11.0.0.1191
Ksc (EC FW): 1.20
Kernel 4.4.0-rc1 nighlty 2e0db75 from git://anongit.freedesktop.org/drm-intel
  commit 2e0db751f53791a654eaeb829efd2b4125249dfc
  Author: Imre Deak <<a href="mailto:imre.deak@intel.com">imre.deak@intel.com</a>>
  Date:   Wed Nov 18 21:49:07 2015 +0200
  drm-intel-nightly: 2015y-11m-18d-19h-48m-48s UTC integration manifest
Mesa 11.0.5 from <a href="http://cgit.freedesktop.org/mesa/mesa/">http://cgit.freedesktop.org/mesa/mesa/</a>
xf86-video-intel - 2.99.917 from
<a href="http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/">http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/</a>
Libdrm - 2.4.65 from <a href="http://cgit.freedesktop.org/mesa/drm/">http://cgit.freedesktop.org/mesa/drm/</a>
Libva - 1.6.1 from <a href="http://cgit.freedesktop.org/libva/">http://cgit.freedesktop.org/libva/</a>
vaapi intel-driver - 1.6.1 from <a href="http://cgit.freedesktop.org/vaapi/intel-driver">http://cgit.freedesktop.org/vaapi/intel-driver</a>
Cairo - 1.14.2 from <a href="http://cgit.freedesktop.org/cairo">http://cgit.freedesktop.org/cairo</a>
Xorg Xserver - 1.17.2 from <a href="http://cgit.freedesktop.org/xorg/xserver">http://cgit.freedesktop.org/xorg/xserver</a>

Steps:
------
1. Boot with kernel boot command line: i915.disable_power_well=1 
2. Make audio codec enters D3 hot, with command:
echo 5 > /sys/module/snd_hda_intel/parameters/power_save
3. Enable autosuspend for the audio device, with command:
echo auto > /sys/bus/pci/devices/0000:00:1f.3/power/control
4. Allow the device driver to power manage the VGA compatible controller at run
time with command:
echo auto > /sys/bus/pci/devices/0000:00:02.0/power/control
5. Check status and suspended time with command:
grep . /sys/bus/pci/devices/0000:00:02.0/power/runtime_*

6. From Ubuntu Power settings, configure Turn screen off when inactive after 1
minute
7. Auto-tune the system using PowerTop, execute command:
sudo powertop --auto-tune
8. Wait 3 minutes
9. Check status and suspended time with command:
grep . /sys/bus/pci/devices/0000:00:02.0/power/runtime_*

10. Turn off monitor with: xrandr --output eDP1 --off
11. Wait a moment
12. Turn it on with xrandr --output eDP1 --on (connected via ssh)
13. Check suspended time with command:
grep . /sys/bus/pci/devices/0000:00:02.0/power/runtime_*

14. With previous conditions, turn off networks, disconnect devices (mouse,
keyboard ...), close applications (Terminal)
15. Wait 2 hours (screen automatically turns off)
16. Check suspended time with command:
grep . /sys/bus/pci/devices/0000:00:02.0/power/runtime_*

Actual result:
--------------
VGA PCI controller does not suspend

Expected result:
----------------
Status indicates "suspended" and the counter increases

Info:
-----
Reproduced in txt mode
Reproduced with kernel mainline 4.4-rc1 from
<a href="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?id=refs/tags/v4.4-rc1">https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?id=refs/tags/v4.4-rc1</a>
Not reproduced with kernel mainline 4.3, the controller suspends at step 4</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>