[Intel-gfx] [PATCH i-g-t] tests/initial_state: Add a test to capture the state of the GPU

Chris Wilson chris at chris-wilson.co.uk
Mon May 15 14:07:52 UTC 2017


On Mon, May 15, 2017 at 04:00:55PM +0200, Daniel Vetter wrote:
> On Fri, May 12, 2017 at 02:17:29PM +0100, Chris Wilson wrote:
> > The ABI for testing whether the device is wedged before use is
> > gem_throttle(). This is encapsulated into igt_require_gem() and any test
> > that depends upon execution on the GPU should be checking for GEM first.
> > 
> > This test should just be igt_gem_require(drm_open_driver(DRIVER_INTEL));
> 
> Well, how do you expect people to spot your nifty tools and refactorings

The ABI was established in

commit 537e73f3f935b917f2f5f9b51499cb29d65e3889
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Sep 24 17:37:41 2010 +0100

    Disable dri2 after forcing fallbacks

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list