From: Damien Lespiau Subject: Re: [PATCH 8/8] build: Provide an --enable-simulation configure option Date: Fri, 19 Jul 2013 18:42:06 +0100 Message-ID: <20130719174206.GB8706@strange.amr.corp.intel.com> References: <1374252588-8260-1-git-send-email-damien.lespiau@intel.com> <1374252588-8260-9-git-send-email-damien.lespiau@intel.com> <20130719170529.GQ5615@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id A4B9AE5CEC for ; Fri, 19 Jul 2013 10:42:27 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20130719170529.GQ5615@phenom.ffwll.local> 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: Daniel Vetter Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, Jul 19, 2013 at 07:05:29PM +0200, Daniel Vetter wrote: > On Fri, Jul 19, 2013 at 05:49:48PM +0100, Damien Lespiau wrote: > > Remembering to set an environment variable is too much trouble, we can > > now specify --enable-simulation at configure time and always run the > > test suite tuned for simulation. > > > > Signed-off-by: Damien Lespiau > > tbh I'd vote for runtime detection, we could simply add a debugfs file on > the internal tree which exposes dev_priv->is_simulator. Or heck merge that > part upstream even. I like this better as well. I pushed up to patch 7/8. I'll come back for more. -- Damien