[Bug 93892] Screen flickering

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 29 03:39:51 PST 2016


https://bugs.freedesktop.org/show_bug.cgi?id=93892

--- Comment #3 from Chris Wilson <chris at chris-wilson.co.uk> ---
It looks like either a missing write flag or invalid mocs used; either of those
would be a userspace bug. A quick test would be to

diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c
b/drivers/gpu/drm/i915/i915_gem_execbuffer.c
index 8fd00d279447..423e72830733 100644
--- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c
+++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c
@@ -1106,7 +1106,7 @@ i915_gem_execbuffer_move_to_active(struct list_head
*vmas,
                u32 old_write = obj->base.write_domain;

                obj->dirty = 1; /* be paranoid  */
-               obj->base.write_domain = obj->base.pending_write_domain;
+               obj->base.write_domain = I915_GEM_DOMAIN_RENDER;
                if (obj->base.write_domain == 0)
                        obj->base.pending_read_domains |=
obj->base.read_domains;
                obj->base.read_domains = obj->base.pending_read_domains;

-- 
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: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160129/ec22db01/attachment.html>


More information about the intel-gfx-bugs mailing list