From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: enable MI_WTF bit; I mean MI_FLUSH Date: Thu, 19 Jan 2012 11:35:22 +0100 Message-ID: <20120119103522.GC3779@phenom.ffwll.local> References: <1326948762-16025-1-git-send-email-ben@bwidawsk.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-we0-f177.google.com (mail-we0-f177.google.com [74.125.82.177]) by gabe.freedesktop.org (Postfix) with ESMTP id DD8039F0F3 for ; Thu, 19 Jan 2012 02:35:24 -0800 (PST) Received: by werm13 with SMTP id m13so4243699wer.36 for ; Thu, 19 Jan 2012 02:35:24 -0800 (PST) Content-Disposition: inline In-Reply-To: <1326948762-16025-1-git-send-email-ben@bwidawsk.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: Ben Widawsky Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, Jan 18, 2012 at 08:52:42PM -0800, Ben Widawsky wrote: > We've seen a few patches now which switch the flush enable bit from bit > 11 to bit 12 (as the documentation suggests it should be). However this > turned out to be problematic for us. > > The simulator has shed some light for us. It's not bit 11, and it's not > bit 12; it's both. Instead of renaming the bits according to the docs > since we're still really not sure, I've decided to just make the > MI_FLUSH_ENABLE be both bits. As an aside, the simulator still makes a > distinction for these two bits, however the error message doesn't seem > to. > > I don't believe this is actually required for the simulator to be > function, but it does produce an annoying error message every time > MI_FLUSH is used without this. > > Signed-off-by: Ben Widawsky Because HAS seems to only be able to run ivb fulsim: Have you checked snb fulsim source for this warning and it's also there? Your changelog is also silent on how well this works on real hw, can you clarify? Last but not least, please add a small comment to the #define explaining what's going on. Cheers, Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48