<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - i965: Support instruction compaction on Gen < 6"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77742#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - i965: Support instruction compaction on Gen < 6"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77742">bug 77742</a>
              from <span class="vcard"><a class="email" href="mailto:dimon@gmx.net" title="dimon@gmx.net">dimon@gmx.net</a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=77742#c8">comment #8</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=77742#c7">comment #7</a>)
> > (In reply to <a href="show_bug.cgi?id=77742#c6">comment #6</a>)
> > > Patches finally committed:
> > > 
> > > commit 14e44f896f10f9ce1533e149d634137a3b6b807d
> > > Author: Matt Turner <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>>
> > > Date:   Wed Aug 20 11:43:29 2014 -0700
> > > 
> > >     i965/compaction: Add support for G45.
> > >     
> > >     Acked-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
> > >     Reviewed-by: Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>>
> > > 
> > > 
> > > commit 64c0f62018d0182ccf65e58ac53318b986986288
> > > Author: Matt Turner <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>>
> > > Date:   Thu Apr 24 10:02:35 2014 +0200
> > > 
> > >     i965/compaction: Add support for Gen5.
> > >     
> > >     Acked-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
> > >     Reviewed-by: Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>>
> > >     Acked-by: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>>
> > 
> > 
> > Ironlake:
> > 
> > This segfaults for me in brw_eu_compact.c:1407 when compiled with -m32.
> > 64bit is working fine.

> Thanks for the report. Can you post a backtrace of the segfault?</span >

#0  0xf77c7607 in brw_compact_instructions (p=0xffffa994, start_offset=0,
num_annotations=0, annotation=0x0) at brw_eu_compact.c:1453
#1  0xf77b0cbf in compile_clip_prog (key=<optimized out>, brw=<optimized out>)
at brw_clip.c:112
#2  brw_upload_clip_prog (brw=0xf7fb501c) at brw_clip.c:254
#3  0xf780e981 in brw_upload_state (brw=0xf7fb501c) at brw_state_upload.c:653
#4  0xf77c3231 in brw_try_draw_prims (indirect=<optimized out>,
max_index=<optimized out>, min_index=<optimized out>, ib=<optimized out>,
nr_prims=<optimized out>, 
    prims=<optimized out>, arrays=<optimized out>, ctx=<optimized out>) at
brw_draw.c:468
#5  brw_draw_prims (ctx=0xffffad88, prims=0xffffad88, nr_prims=1, ib=0x0,
index_bounds_valid=1 '\001', min_index=0, max_index=3, unused_tfb_object=0x0,
indirect=0x0)
    at brw_draw.c:568
#6  0xf760f8fa in vbo_draw_arrays (ctx=ctx@entry=0xf7fb501c, mode=mode@entry=6,
start=0, count=4, numInstances=1, baseInstance=0)
    at ../../src/mesa/vbo/vbo_exec_array.c:657
#7  0xf760fb47 in vbo_exec_DrawArrays (mode=6, start=0, count=4) at
../../src/mesa/vbo/vbo_exec_array.c:819
#8  0xf76a88d6 in meta_clear (ctx=0xf7fb501c, buffers=4294944032, glsl=true) at
../../src/mesa/drivers/common/meta.c:1804
#9  0xf77b065f in brw_clear (ctx=0xf7fb501c, mask=0) at brw_clear.c:263
#10 0xf74e619a in _mesa_Clear (mask=16640) at ../../src/mesa/main/clear.c:225
#11 0x08049efd in ?? ()
#12 0x080496ba in ?? ()
#13 0xf7bdbe5e in __libc_start_main () from /usr/lib32/libc.so.6
#14 0x08049ce3 in ?? ()</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>