[Bug 65953] [GM45]igt/module_reload cause <3>[ 159.350832] [drm:drm_mm_takedown] *ERROR* Memory manager not clean. Delaying takedown

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 28 03:07:11 PDT 2013


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

Daniel Vetter <daniel at ffwll.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #8 from Daniel Vetter <daniel at ffwll.ch> ---
(In reply to comment #7)
> (In reply to comment #6)
> > Created attachment 81590 [details] [review] [review]
> > don't tear down un-initiaizled stolen drm_mm
> > 
> > Please test the attached patch, thanks.
> 
> It still exists.

Can you please double-check the patch with the following debug diff applied on
top (and then attach dmesg afterwards)?

diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c
index f9d4873..d303e31 100644
--- a/drivers/gpu/drm/drm_mm.c
+++ b/drivers/gpu/drm/drm_mm.c
@@ -699,8 +699,8 @@ void drm_mm_takedown(struct drm_mm * mm)
 {
        struct drm_mm_node *entry, *next;

-       if (!list_empty(&mm->head_node.node_list)) {
-               DRM_ERROR("Memory manager not clean. Delaying takedown\n");
+       if (WARN(!list_empty(&mm->head_node.node_list),
+                "Memory manager not clean. Delaying takedown\n")) {
                return;
        }

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20130628/37b9a7db/attachment.html>


More information about the intel-gfx-bugs mailing list