From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Widawsky Subject: Re: [PATCH 1/2] drm/i915: Remove the MI_FLUSH_ENABLE setting. Date: Fri, 20 Jan 2012 14:57:44 -0800 Message-ID: <4F19F168.1080506@bwidawsk.net> References: <1326999006-15100-1-git-send-email-eric@anholt.net> <86aa5jcylz.fsf@sumi.keithp.com> <4F18682D.9040909@bwidawsk.net> <87ty3qnq0v.fsf@eliezer.anholt.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cloud01.chad-versace.us (184-106-247-128.static.cloud-ips.com [184.106.247.128]) by gabe.freedesktop.org (Postfix) with ESMTP id 1F53B9E7F1 for ; Fri, 20 Jan 2012 14:57:53 -0800 (PST) In-Reply-To: <87ty3qnq0v.fsf@eliezer.anholt.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Eric Anholt Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On 01/20/2012 11:16 AM, Eric Anholt wrote: > On Thu, 19 Jan 2012 10:59:57 -0800, Ben Widawsky wrote: >> On 01/19/2012 10:54 AM, Keith Packard wrote: >>> On Thu, 19 Jan 2012 10:50:05 -0800, Eric Anholt wrote: >>> >>>> - if (IS_GEN6(dev) || IS_GEN7(dev)) >>>> - mode |= MI_FLUSH_ENABLE << 16 | MI_FLUSH_ENABLE; >>> >>> This seems better than setting random bits that don't do anything but >>> annoy the simulator. >> >> The simulator complains unless both bits are set iirc. I can double >> check, but it's been a while since I've run without my patch. > > Can you please cite the message you're getting? I've read a lot of the > simulator at this point, particularly pieces relating to flushing, and I > can't find what you're talking about. > It is not email friendly paste. Gen7GT/Render/src/CsMiCommonCatcher.cpp +293 It links to a power point which shows the workaround is to set both bits. The powerpoint is kind enough to crash libreoffice for me. Ben