Re: [PATCH 2/2] drm/i915/selftests: Exercise resetting in the middle of a wait-on-fence

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

 



Quoting Matthew Auld (2018-07-26 13:26:08)
> On 19 July 2018 at 20:47, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
> > On older HW, gen2/3, fence registers are used for detiling GPU commands
> > and as such changing those registers requires serialisation with the
> > requests on the GPU. Anything running on the GPU is subject to a hang,
> > and so we must be able to recover cleanly in the middle of a stuck wait
> > on a fence register.
> >
> > We can simulate using the fence on the GPU simply by marking the fence
> > as active on the request for this vma, the interface being common to all
> > gen, thus broadening the test.
> >
> > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> > Cc: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxxxxxxxx>
> Reviewed-by: Matthew Auld <matthew.auld@xxxxxxxxx>

Ta, this test has proven itself quite useful at picking out some of the
nasty deadlocks in trying to make reset BKLless.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




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

  Powered by Linux