[Bug 97980] [amdgpu] New kernel warning during shutdown

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Oct 16 14:04:17 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97980

--- Comment #6 from Mike Lothian <mike at fireburn.co.uk> ---
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);

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161016/5183e836/attachment.html>


More information about the dri-devel mailing list