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

Ville Syrjälä ville.syrjala at linux.intel.com
Wed Oct 23 12:34:47 UTC 2019


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.

>  		limit += 300e6; /* guestimate for 2x worstcase modeset */
>  
>  	med = igt_stats_get_median(st);
> -- 
> 2.23.0
> 
> _______________________________________________
> igt-dev mailing list
> igt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev

-- 
Ville Syrjälä
Intel


More information about the igt-dev mailing list