<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 - [vega10] amdgpu fails to either wake up the GPU or while putting it to sleep"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=108049">108049</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[vega10] amdgpu fails to either wake up the GPU or while putting it to sleep
          </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/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>gediminas@varciai.lt
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=141725" name="attach_141725" title="log for dce_mi_free_dmif line:636">attachment 141725</a> <a href="attachment.cgi?id=141725&action=edit" title="log for dce_mi_free_dmif line:636">[details]</a></span>
log for dce_mi_free_dmif line:636

If my machine with a Vega 64 idles for long enough for the GPU to be "put to
sleep" to save power, it won't wake up. If given inputs, The monitors get wake
up, but only show black, indicating that something is happening.

Looking at kernel logs, this always starts with:
[drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us * 3500 tries -
dce_mi_free_dmif line:636
(full log attached separately)

While trying to "wake up" and/or if I try to switch to a different TTY, another
error pops up for every attempt, but the opening line is now:
[drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us * 6000 tries -
dce_mi_allocate_dmif line:599
(full log also attached separately)

I experience this problem with every kernel version I tried from 4.16.x to and
including 4.18.7
Haven't tried earlier versions and not sure which kernel to try to build in
order to test the *latest* amdgpu code. Could test the latest amdgpu code if I
could get pointed to it.

As a workaround, I have a tiny video on mpv running on infinite loop in the
background using an opengl output, to prevent the GPU from trying to sleep.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>