Re: [PATCH 2/2] drm/i915/selftests: Exercise cross-process context isolation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Chris Wilson (2021-01-14 10:13:37)
> Quoting Chris Wilson (2021-01-14 09:26:39)
> > +       rq = record_registers(A, a, result[0], result[1], false, &sema);
> > +       if (IS_ERR(rq)) {
> > +               err = PTR_ERR(rq);
> > +               goto err_result1;
> > +       }
> > +
> > +       err = poison_registers(B, a, poison, false, &sema);
> 
> Hmm. Will want to add a synchronisation pointer before poisoning the
> registers, we want to make sure context A is active at the time.

Already waits for the poison in record_registers, between the first and
second reads!
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux