<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body> <br><br><br>-------- Original message --------<br>Subject: Re: [Intel-gfx] [PATCH 1/2] drm/i915: Remove the MI_FLUSH_ENABLE setting. <br>From: Eric Anholt <eric@anholt.net> <br>To: Ben Widawsky <ben@bwidawsk.net> <br>CC: Keith Packard <keithp@keithp.com>,intel-gfx@lists.freedesktop.org <br><br><br><div style="word-break:break-all;">On Fri, 20 Jan 2012 14:57:44 -0800, Ben Widawsky <ben@bwidawsk.net> wrote:<br>> On 01/20/2012 11:16 AM, Eric Anholt wrote:<br>> > On Thu, 19 Jan 2012 10:59:57 -0800, Ben Widawsky <ben@bwidawsk.net> wrote:<br>> >> On 01/19/2012 10:54 AM, Keith Packard wrote:<br>> >>> On Thu, 19 Jan 2012 10:50:05 -0800, Eric Anholt <eric@anholt.net> wrote:<br>> >>><br>> >>>> -              if (IS_GEN6(dev) || IS_GEN7(dev))<br>> >>>> -                      mode |= MI_FLUSH_ENABLE << 16 | MI_FLUSH_ENABLE;<br>> >>><br>> >>> This seems better than setting random bits that don't do anything but<br>> >>> annoy the simulator.<br>> >><br>> >> The simulator complains unless both bits are set iirc. I can double<br>> >> check, but it's been a while since I've run without my patch.<br>> > <br>> > Can you please cite the message you're getting?  I've read a lot of the<br>> > simulator at this point, particularly pieces relating to flushing, and I<br>> > can't find what you're talking about.<br>> > <br>> <br>> It is not email friendly paste.<br>> <br>> Gen7GT/Render/src/CsMiCommonCatcher.cpp +293<br>> <br>> It links to a power point which shows the workaround is to set both<br>> bits. The powerpoint is kind enough to crash libreoffice for me.<br><br>That block is checking exactly one bit, bit 12, in my tree.<br></div><div style="word-break:break-all;"><br></div><div style="word-break:break-all;">Please read the powerpoint </div> </body>