[Bug 97343] gem cancel_userptr warning
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Aug 14 17:30:35 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=97343
--- Comment #13 from Chris Wilson <chris at chris-wilson.co.uk> ---
More subtle fix:
struct i915_vma *vma;
LIST_HEAD(still_in_list);
+ unsigned long active;
int ret = 0;
+ active = i915_gem_object_get_active(obj);
+ for_each_active(active, idx) {
+ ret = i915_gem_active_retire(&obj->last_read[idx],
+ &obj->base.dev->struct_mutex);
+ if (ret)
+ return ret;
+ }
+
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160814/aeed4af7/attachment.html>
More information about the intel-gfx-bugs
mailing list