Re: [PATCH 20/26] drm/i915/guc: Implement no mid batch preemption for multi-lrc

2021-10-12 Thread Matthew Brost
On Mon, Oct 11, 2021 at 04:32:03PM -0700, John Harrison wrote: > On 10/4/2021 15:06, Matthew Brost wrote: > > For some users of multi-lrc, e.g. split frame, it isn't safe to preempt > > mid BB. To safely enable preemption at the BB boundary, a handshake > > between to parent and child is needed.

Re: [PATCH 20/26] drm/i915/guc: Implement no mid batch preemption for multi-lrc

2021-10-11 Thread John Harrison
On 10/4/2021 15:06, Matthew Brost wrote: For some users of multi-lrc, e.g. split frame, it isn't safe to preempt mid BB. To safely enable preemption at the BB boundary, a handshake between to parent and child is needed. This is implemented via custom between to parent -> between parent

[PATCH 20/26] drm/i915/guc: Implement no mid batch preemption for multi-lrc

2021-10-04 Thread Matthew Brost
For some users of multi-lrc, e.g. split frame, it isn't safe to preempt mid BB. To safely enable preemption at the BB boundary, a handshake between to parent and child is needed. This is implemented via custom emit_bb_start & emit_fini_breadcrumb functions and enabled via by default if a context