[igt-dev] [PATCH i-g-t v2] i915/gem_ctx_persistence: skip heartbeat tests with GuC

Kamil Konieczny kamil.konieczny at linux.intel.com
Fri May 26 15:03:45 UTC 2023


On 2023-05-26 at 16:20:04 +0200, Andrzej Hajda wrote:
> GuC does not support fully updating of persisting contexts, especially
> heartbeat related parameters.
> 
> Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/3952
> Signed-off-by: Andrzej Hajda <andrzej.hajda at intel.com>

Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>

> ---
> v2: GuC checks moved to test functions (Kamil)
> ---
>  tests/i915/gem_ctx_persistence.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/tests/i915/gem_ctx_persistence.c b/tests/i915/gem_ctx_persistence.c
> index 584137db454..df9b1c491ed 100644
> --- a/tests/i915/gem_ctx_persistence.c
> +++ b/tests/i915/gem_ctx_persistence.c
> @@ -661,6 +661,8 @@ static void test_noheartbeat_many(int i915, int count, unsigned int flags)
>  {
>  	unsigned long checked = 0;
>  
> +	igt_require(!gem_using_guc_submission(i915));
> +
>  	cleanup(i915);
>  	enable_hangcheck(i915);
>  
> @@ -721,6 +723,8 @@ static void test_noheartbeat_close(int i915, unsigned int flags)
>  {
>  	unsigned long checked = 0;
>  
> +	igt_require(!gem_using_guc_submission(i915));
> +
>  	cleanup(i915);
>  	enable_hangcheck(i915);
>  
> -- 
> 2.34.1
> 


More information about the igt-dev mailing list