[Bug 93892] Screen flickering
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jan 29 14:08:08 PST 2016
https://bugs.freedesktop.org/show_bug.cgi?id=93892
--- Comment #5 from Simon <simdev11 at outlook.com> ---
(In reply to Chris Wilson from comment #3)
> 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;
Thanks for your reply. I applied the changes, but it did not fix the problem.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160129/99589324/attachment.html>
More information about the intel-gfx-bugs
mailing list