[Bug 103964] BUG: sleeping function called from invalid context at ./include/linux/percpu-rwsem.h:34
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Nov 30 22:16:42 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=103964
--- Comment #7 from Chris Wilson <chris at chris-wilson.co.uk> ---
Try
diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c
b/drivers/gpu/drm/i915/i915_gpu_error.c
index e07b5247cd96..c69bd0a8c48c 100644
--- a/drivers/gpu/drm/i915/i915_gpu_error.c
+++ b/drivers/gpu/drm/i915/i915_gpu_error.c
@@ -1413,6 +1413,7 @@ capture_object(struct drm_i915_private *dev_priv,
if (obj && i915_gem_object_has_pages(obj)) {
struct i915_vma fake = {
.node = { .start = U64_MAX, .size = obj->base.size },
+ .size = obj->base.size;
.pages = obj->mm.pages,
.obj = obj,
};
--
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/20171130/c42b82da/attachment.html>
More information about the intel-gfx-bugs
mailing list