[Intel-gfx] [PATCH v2] drm/i915/guc: Fixing error code for WOPCM initialization
Sundaresan, Sujaritha
sujaritha.sundaresan at intel.com
Wed Mar 6 19:17:43 UTC 2019
-----Original Message-----
From: Chris Wilson <chris at chris-wilson.co.uk>
Sent: Wednesday, March 6, 2019 1:08 AM
To: Wajdeczko, Michal <Michal.Wajdeczko at intel.com>; Sundaresan, Sujaritha <sujaritha.sundaresan at intel.com>; intel-gfx at lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH v2] drm/i915/guc: Fixing error code for WOPCM initialization
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
Just to clarify on how to proceed with the fix. I'm not sure if the suggestion is to go back to the previous version of
the patch or to go for a different approach. It also looks like this issue will be flaggin up on the public CI, following the
changes Arek has said will be made to the dmesg style.
-Sujaritha
More information about the Intel-gfx
mailing list