[Bug 99671] [v4.10 snb] weird seqno/request tracking - HEAD overtakes TAIL
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Mar 6 11:15:51 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=99671
--- Comment #39 from Chris Wilson <chris at chris-wilson.co.uk> ---
Please try (pardon the tabs):
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c
b/drivers/gpu/drm/i915/intel_ringbuffer.c
index 4ffa35faff49..62e31a7438ac 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -782,10 +782,10 @@ static void i9xx_submit_request(struct
drm_i915_gem_request *request)
{
struct drm_i915_private *dev_priv = request->i915;
- i915_gem_request_submit(request);
-
GEM_BUG_ON(!IS_ALIGNED(request->tail, 8));
I915_WRITE_TAIL(request->engine, request->tail);
+
+ i915_gem_request_submit(request);
}
static void i9xx_emit_breadcrumb(struct drm_i915_gem_request *req, u32 *cs)
--
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/20170306/2785d64a/attachment.html>
More information about the intel-gfx-bugs
mailing list