[Intel-gfx] [CI] drm/i915/selftests: Downgrade severity of CS/SRM frequency scaling tests

Rodrigo Vivi rodrigo.vivi at intel.com
Fri Sep 11 20:27:20 UTC 2020


On Thu, Jul 23, 2020 at 04:38:05PM +0100, Chris Wilson wrote:
> Gracefully skip over the failures in the frequency scaling for the
> moment, the results are under review.

We need to clock gate media sampler to be able to scale the
frequency without getting throttled.

Reference: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6684

> 
> References: https://gitlab.freedesktop.org/drm/intel/-/issues/1754
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: "Sundaresan, Sujaritha" <sujaritha.sundaresan at intel.com>
> Cc: "Ewins, Jon" <jon.ewins at intel.com>
> Reviewed-by: Sujaritha Sundaresan <sujaritha.sundaresan at intel.com>
> ---
>  drivers/gpu/drm/i915/gt/selftest_rps.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/gt/selftest_rps.c b/drivers/gpu/drm/i915/gt/selftest_rps.c
> index 8624f5d2a1f3..34b403d47840 100644
> --- a/drivers/gpu/drm/i915/gt/selftest_rps.c
> +++ b/drivers/gpu/drm/i915/gt/selftest_rps.c
> @@ -700,7 +700,7 @@ int live_rps_frequency_cs(void *arg)
>  				f = act; /* may skip ahead [pcu granularity] */
>  			}
>  
> -			err = -EINVAL;
> +			err = -EINTR; /* ignore error, continue on with test */
>  		}
>  
>  err_vma:
> @@ -841,7 +841,7 @@ int live_rps_frequency_srm(void *arg)
>  				f = act; /* may skip ahead [pcu granularity] */
>  			}
>  
> -			err = -EINVAL;
> +			err = -EINTR; /* ignore error, continue on with test */
>  		}
>  
>  err_vma:
> -- 
> 2.20.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx


More information about the Intel-gfx mailing list