[Bug 111612] [CI][DRMTIP] igt at prime_busy@hang-blt - incomplete - kernel BUG at drivers/dma-buf/dma-buf.c:99!
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Sep 9 11:36:32 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=111612
--- Comment #2 from Chris Wilson <chris at chris-wilson.co.uk> ---
commit 9b495a5887994a6d74d5c261d012083a92b94738
Author: Maarten Lankhorst <maarten.lankhorst at canonical.com>
Date: Tue Jul 1 12:57:43 2014 +0200
dma-buf: add poll support, v3
...
@@ -52,6 +53,16 @@ static int dma_buf_release(struct inode *inode, struct file
*
file)
BUG_ON(dmabuf->vmapping_counter);
+ /*
+ * Any fences that a dma-buf poll can wait on should be signaled
+ * before releasing dma-buf. This is the responsibility of each
+ * driver that uses the reservation objects.
+ *
+ * If you hit this BUG() it means someone dropped their ref to the
+ * dma-buf while still having pending operation to the buffer.
+ */
+ BUG_ON(dmabuf->cb_shared.active || dmabuf->cb_excl.active);
which is quite odd as the exported dmabuf has no bearing on the native object
and its fences.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20190909/9abb0399/attachment-0001.html>
More information about the intel-gfx-bugs
mailing list