[Intel-gfx] [PATCH v2] drm/i915/guc: Fixing error code for WOPCM initialization

Chris Wilson chris at chris-wilson.co.uk
Wed Mar 6 09:08:25 UTC 2019


Quoting Michal Wajdeczko (2019-03-06 09:01:09)
> On Wed, 06 Mar 2019 09:45:17 +0100, Chris Wilson  
> > Now doing an if (i915_error_injected() && !err) err = -EINVAL; makes
> > sense to catch places where we've eaten that error and so breaking the
> > test.
> 
> This will not work today, as at least in one place - i915_gem_init - we
> inject -EIO which later we try to replace with success. And for that case
> we may rather want to add

I think we may want to move that particular test to one side, something
along the lines of i915.disable_gpu=1 ?
-Chris


More information about the Intel-gfx mailing list