<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Screen flickering"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93892#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Screen flickering"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93892">bug 93892</a>
from <span class="vcard"><a class="email" href="mailto:simdev11@outlook.com" title="Simon <simdev11@outlook.com>"> <span class="fn">Simon</span></a>
</span></b>
<pre>(In reply to Chris Wilson from <a href="show_bug.cgi?id=93892#c3">comment #3</a>)
<span class="quote">> 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;</span >
Thanks for your reply. I applied the changes, but it did not fix the problem.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>