[Intel-gfx] [PATCH 8/8] build: Provide an --enable-simulation configure option

Damien Lespiau damien.lespiau at intel.com
Fri Jul 19 19:42:06 CEST 2013


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 <damien.lespiau at intel.com>
> 
> 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



More information about the Intel-gfx mailing list