[Intel-gfx] [PATCH igt] igt/gem_ctx_isolation: Check isolation of registers between contexts

Chris Wilson chris at chris-wilson.co.uk
Mon Dec 4 10:30:48 UTC 2017


Quoting Joonas Lahtinen (2017-12-04 10:23:11)
> On Fri, 2017-12-01 at 11:13 +0000, Chris Wilson wrote:
> > +++ b/tests/gem_exec_fence.c
> > @@ -698,7 +698,7 @@ static bool has_submit_fence(int fd)
> >       int value = 0;
> >  
> >       memset(&gp, 0, sizeof(gp));
> > -     gp.param = 50; /* I915_PARAM_HAS_EXEC_SUBMIT_FENCE */
> > +     gp.param = 0xdeadbeef ^ 51; /* I915_PARAM_HAS_EXEC_SUBMIT_FENCE */
> >       gp.value = &value;
> >  
> >       ioctl(fd, DRM_IOCTL_I915_GETPARAM, &gp, sizeof(gp));
> 
> Probably wan't to sort the param stuff out :)
> 
> With the params corrected, this is;

That is the correction! Waiting for the feature to be requested...
-Chris


More information about the Intel-gfx mailing list