[igt-dev] [PATCH i-g-t 62/79] tests/i915/gem_vm_create: Use intel_ctx_t in the execbuf test

Jason Ekstrand jason at jlekstrand.net
Wed Jun 23 05:43:15 UTC 2021


On Mon, Jun 21, 2021 at 9:17 PM Dixit, Ashutosh
<ashutosh.dixit at intel.com> wrote:
>
> On Thu, 17 Jun 2021 12:14:59 -0700, Jason Ekstrand wrote:
> >
> > Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
>
> What is the reason for this patch? If it is to avoid
> gem_context_set_param(), that is also being done in the isolation
> gem_vm_create test. In any case the patch is fine so:

We need to re-create the context every time we try with a new VM
anyway.  I guess I could have just sprinkled
gem_context_create/destroy around.  This didn't seem like a bigger
change.

--Jason

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


More information about the igt-dev mailing list