[Intel-gfx] [PATCH igt] tools: Stop opening the driver just to find the debugfs

Chris Wilson chris at chris-wilson.co.uk
Tue Nov 21 12:01:28 UTC 2017


Quoting Ville Syrjälä (2017-11-20 17:13:37)
> On Mon, Nov 20, 2017 at 04:01:24PM +0000, Chris Wilson wrote:
> > Since the tools want to work without the module loaded, remove the
> > assumption that we want to load the driver to find debugfs.
> 
> So looking at the history it was actually Tomeu that caused this
> problem originally. That added the bogus master requirement
> as well. So now I can forget my patch to drop the master requirement
> from intel_watermark as well. Thanks for fixing.
> 
> Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

And pushed. On my wishlist is that we move the test harness over to
tests/lib (including convenience interfaces) leaving lib/ as the
lowlevel interfaces that can be used outside of igt_main. (No
igt_require/igt_assert, standard error reporting etc.)
-Chris


More information about the Intel-gfx mailing list