<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [amdgpu] New kernel warning during shutdown"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97980#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [amdgpu] New kernel warning during shutdown"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97980">bug 97980</a>
              from <span class="vcard"><a class="email" href="mailto:mike@fireburn.co.uk" title="Mike Lothian <mike@fireburn.co.uk>"> <span class="fn">Mike Lothian</span></a>
</span></b>
        <pre>I'm still seeing this issue on the 4.9-wip branch and that has this patch
included:

--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -1708,11 +1708,11 @@ void amdgpu_device_fini(struct amdgpu_device *adev)

        DRM_INFO("amdgpu: finishing device.\n");
        adev->shutdown = true;
+       drm_crtc_force_disable_all(adev->ddev);
        /* evict vram memory */
        amdgpu_bo_evict_vram(adev);
        amdgpu_ib_pool_fini(adev);
        amdgpu_fence_driver_fini(adev);
-       drm_crtc_force_disable_all(adev->ddev);
        amdgpu_fbdev_fini(adev);
        r = amdgpu_fini(adev);
        kfree(adev->ip_block_status);</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>