[igt-dev] [PATCH i-g-t] i915/gem_eio: Attempt to fix reset-stress/unwedge-stress failures on SNB

Dixit, Ashutosh ashutosh.dixit at intel.com
Thu Oct 24 02:52:16 UTC 2019


On Wed, 23 Oct 2019 05:34:47 -0700, Ville Syrjälä wrote:
>
> On Tue, Oct 22, 2019 at 08:04:26PM -0700, Ashutosh Dixit wrote:
> > gem_eio reset-stress and unwedge-stress subtests are now passing on
> > all platforms except SNB. Attempt to fix failures in SNB by giving
> > a little more time to complete the wedge.
> >
> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109661
> > Signed-off-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
> > ---
> >  tests/i915/gem_eio.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/tests/i915/gem_eio.c b/tests/i915/gem_eio.c
> > index 892f3657c..20f66e00d 100644
> > --- a/tests/i915/gem_eio.c
> > +++ b/tests/i915/gem_eio.c
> > @@ -300,7 +300,7 @@ static void check_wait_elapsed(const char *prefix, int fd, igt_stats_t *st)
> >	 * modeset back on) around resets, so may take a lot longer.
> >	 */
> >	limit = 250e6;
> > -	if (intel_gen(intel_get_drm_devid(fd)) < 5)
> > +	if (intel_gen(intel_get_drm_devid(fd)) <= 5)
>
> That doesn't do anything for snb.

yikes, ffs() counts from 1 not 0 :(


More information about the igt-dev mailing list