<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 - [REGRESSION] NULL pointer dereference when waking up monitor"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107300">107300</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[REGRESSION] NULL pointer dereference when waking up monitor
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>XOrg git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>mr.nuke.me@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=140719" name="attach_140719" title="dmesg">attachment 140719</a> <a href="attachment.cgi?id=140719&action=edit" title="dmesg">[details]</a></span>
dmesg

I'm noticing this with linux-17.6 on an RX 480, but did not experience this
problem with linux-4.16 and earlier.

I let the machine  without any input for a while, and it automatically puts the
monitor to sleep. To wake up the screen, I move the mouse or hit the keyboard.

About a third of the time, the login screen comes up, and there's no response.
SSH then dmesg points to an amazingly well crafted NULL pointer dereference in
[amdgpu].

Surprisingly, this isn't some 4billionk triple-gazillion monitor setup, which
I've always had driver issues with. This issue happens with a single display.

For fast access, this is the backtrace: 
[59233.951991] Call Trace:
[59233.952068]  dm_update_crtcs_state+0x26c/0x4d0 [amdgpu]
[59233.952140]  amdgpu_dm_atomic_check+0x1b1/0x3b0 [amdgpu]
[59233.952172]  drm_atomic_check_only+0x360/0x4f0 [drm]
[59233.952192]  drm_atomic_commit+0x13/0x50 [drm]
[59233.952211]  drm_atomic_connector_commit_dpms+0xdb/0x100 [drm]
[59233.952230]  drm_mode_obj_set_property_ioctl+0x178/0x280 [drm]
[59233.952249]  ? drm_mode_connector_set_obj_prop+0x80/0x80 [drm]
[59233.952266]  drm_mode_connector_property_set_ioctl+0x39/0x60 [drm]
[59233.952283]  drm_ioctl_kernel+0x5b/0xb0 [drm]
[59233.952300]  drm_ioctl+0x1b3/0x370 [drm]
[59233.952318]  ? drm_mode_connector_set_obj_prop+0x80/0x80 [drm]
[59233.952375]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[59233.952382]  do_vfs_ioctl+0xa4/0x610
[59233.952386]  ksys_ioctl+0x60/0x90
[59233.952389]  __x64_sys_ioctl+0x16/0x20
[59233.952394]  do_syscall_64+0x5b/0x160
[59233.952399]  entry_SYSCALL_64_after_hwframe+0x44/0xa9</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>