[Bug 79591] possible circular locking dependency detected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--- Comment #4 from Stefan Ringel <mail@xxxxxxxxxxxxxxx> ---
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.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux