[Bug 70461] [sna suse] ddx assertion hits

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 23 02:17:01 PDT 2014


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

--- Comment #47 from Chris Wilson <chris at chris-wilson.co.uk> ---
The asserts genuine, but I can't see a rational reason for it to fire. :|

I've pushed

commit e1e853edee67c3ced43d5e4b1fbd52ca4c92966d
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Mon Jun 23 10:14:09 2014 +0100

    sna/gen4+: Add some more asserts around recreating vertex buffers

    References: https://bugs.freedesktop.org/show_bug.cgi?id=70461#c46
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

to add a few more asserts around the place. Are you able to reproduce this? If
so, could you add

diff --git a/src/sna/gen4_vertex.c b/src/sna/gen4_vertex.c
index 31044d6..33aca0d 100644
--- a/src/sna/gen4_vertex.c
+++ b/src/sna/gen4_vertex.c
@@ -38,6 +38,9 @@
 #define sse2
 #endif

+#undef DBG
+#define DBG(x) ErrorF x
+
 void gen4_vertex_align(struct sna *sna, const struct sna_composite_op *op)
 {
        int vertex_index;
@@ -303,6 +306,9 @@ void gen4_vertex_close(struct sna *sna)
                kgem_bo_destroy(&sna->kgem, free_bo);
 }

+#undef DBG
+#define DBG(x)
+
 /* specialised vertex emission routines */

 #define OUT_VERTEX(x,y) vertex_emit_2s(sna, x,y) /* XXX assert(!too_large(x,
y)); */

and capture the output?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140623/86513516/attachment.html>


More information about the intel-gfx-bugs mailing list