[Bug 104341] WARN_ON(i915_gem_object_has_pinned_pages(obj))
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Dec 20 08:49:57 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=104341
--- Comment #3 from Chris Wilson <chris at chris-wilson.co.uk> ---
(In reply to Adric Blake from comment #2)
> Created attachment 136307 [details]
> bo->refcnt error details and related logs
>
> Not a capture of that warning (sorry!), but Xorg crashed with what might be
> a relevant assert, so attaching that and my boot log so far in case it's
> related.
>
> [ 4941.443] (EE) assert_bo_retired:325 assertion 'bo->refcnt' failed
No, that's just the buffer cache tripping over itself. The refcnt check was
there to optimistically prevent accidental use-after-free, but it also is being
triggered on one path having just pulled the buffer out of the free cache.
commit 708255cbca83dbafe9154c39bd4553b0b81f09cf (HEAD, upstream/master)
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed Dec 20 08:46:43 2017 +0000
sna: Drop redundant sync of an inactive snoop cache
Having requested an inactive snooped buffer, we know that it is
already flushed and do not need to flush it again. With debugging
enabled, we hit an assert while flushing that the buffer has a refcout,
which at this present time of being plucked from the snoop cache it does
not.
Reported-by: Adric Blake <promarbler14 at gmail.com>
References: https://bugs.freedesktop.org/show_bug.cgi?id=104341#c2
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20171220/9badd4e6/attachment-0001.html>
More information about the intel-gfx-bugs
mailing list