[Bug 79591] possible circular locking dependency detected

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Mon Jul 7 13:16:16 PDT 2014


https://bugzilla.kernel.org/show_bug.cgi?id=79591

--- Comment #4 from Stefan Ringel <mail at stefanringel.de> ---
static void ttm_bo_cleanup_memtype_use(struct ttm_buffer_object *bo)
{
    if (bo->bdev->driver->move_notify)
        bo->bdev->driver->move_notify(bo, NULL);

    if (bo->ttm) {
        ttm_tt_unbind(bo->ttm);
        ttm_tt_destroy(bo->ttm);
        bo->ttm = NULL;
    }
    ttm_bo_mem_put(bo, &bo->mem);

    ww_mutex_unlock (&bo->resv->lock);
}

The last line ? must it also change like this:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/gpu/drm/ttm/ttm_bo.c?id=c75230833ce4fbbfaa257c07b55f97912fb1dc02

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the dri-devel mailing list