On Thu, May 28, 2015 at 04:58:23PM -0700, Matt Turner wrote: > On Wed, May 27, 2015 at 10:16 PM, Ben Widawsky > <benjamin.widaw...@intel.com> wrote: > > AFAICT, there is no real way to make sure a send message with EOT is > > properly > > ignored from compact, nor can I see a way to actually encode EOT while > > compacting. Before the single send optimization we'd always bail because we > > hit > > the is_immediate && !is_compactable_immediate case. However, with single > > send, > > is_immediate is not true, and so we end up trying to compact the > > un-compactible. > > > > Without this, any compacting single send instruction will hang because the > > EOT > > isn't there. I am not sure how I didn't hit this when I originally enabled > > the > > optimization. I didn't check if some surrounding code changed. > > > > NOTE: This needs another piglit run or two before merge. > > > > I know Neil and Matt were both looking into this. I did a quick search and > > didn't see any patches out there to handle this. Please ignore if this has > > already been sent by someone. (Direct me to it and I will review it). > > > > Cc: Matt Turner <matts...@gmail.com> > > Cc: Neil Roberts <n...@linux.intel.com> > > Cc: Mark Janes <mark.a.ja...@intel.com> > > Signed-off-by: Ben Widawsky <b...@bwidawsk.net> > > I haven't figured out precisely how EOT's getting lost yet, but Mark > says that with this patch we can actually complete a piglit run, so > let's do it. > > Reviewed-by: Matt Turner <matts...@gmail.com>
Just a reminder... I gave you the quick explanation of what's going on in the office an hour ago. Perhaps you can take a look and see if you can find a better fix before I push. I am in no huge hurry. Also, I should probably cc stable this for 10.6 -- Ben Widawsky, Intel Open Source Technology Center _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev