[Bug 95414] [SNA HSW] Corruption in OpenGL video output and DDX with VGA

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 16 08:58:49 UTC 2016


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

--- Comment #1 from Chris Wilson <chris at chris-wilson.co.uk> ---
First thought is not guilty, y'honour. Looks to be doing an exchange on each
swap buffer, returning a fresh backbuffer to the mpv client and then
pageflipping the new front on the next TearFree flip.

Hmm.  Maybe related to:

diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 24c28f4..bf125d9 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -3085,8 +3085,7 @@ out:
         * object is now coherent at its new cache level (with respect
         * to the access domain).
         */
-       if (obj->cache_dirty &&
-           obj->base.write_domain != I915_GEM_DOMAIN_CPU &&
+       if (obj->base.write_domain != I915_GEM_DOMAIN_CPU &&
            cpu_write_needs_clflush(obj)) {
                if (i915_gem_clflush_object(obj, true))
                        i915_gem_chipset_flush(to_i915(obj->base.dev));

-- 
You are receiving this mail because:
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/20160516/1b9b72c7/attachment-0001.html>


More information about the intel-gfx-bugs mailing list