[igt-dev] [PATCH i-g-t] tests/i915/gem_ctx_switch: Convert to intel_ctx_t

Dixit, Ashutosh ashutosh.dixit at intel.com
Fri Jun 18 19:19:27 UTC 2021


On Fri, 18 Jun 2021 09:47:14 -0700, Jason Ekstrand wrote:
>
> @@ -315,8 +326,8 @@ igt_main
>	} phases[] = {
>		{ "", 0, NULL },
>		{ "-interruptible", INTERRUPTIBLE, NULL },
> -		{ "-queue", QUEUE, gem_has_queues },
> -		{ "-queue-interruptible", QUEUE | INTERRUPTIBLE, gem_has_queues },
> +		{ "-queue", QUEUE, gem_has_vm },
> +		{ "-queue-interruptible", QUEUE | INTERRUPTIBLE, gem_has_vm },

As I was saying ealier I think here we should replace gem_has_vm with
gem_has_queues() where:

gem_has_queues == gem_has_vm && gem_context_has_single_timeline

But even otherwise this is:

Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>


More information about the igt-dev mailing list