Re: [Intel-gfx] [PATCH 2/4] drm/i915: Simplify ELSP queue request tracking

2016-08-23 Thread Chris Wilson
On Tue, Aug 23, 2016 at 05:28:07PM +0300, Mika Kuoppala wrote: > > + /* Try to read in pairs and fill both submission ports */ > > + spin_lock(&engine->execlist_lock); > > + list_for_each_entry(cursor, &engine->execlist_queue, execlist_link) { > > + if (last && !merge_ctx(cursor->ct

Re: [Intel-gfx] [PATCH 2/4] drm/i915: Simplify ELSP queue request tracking

2016-08-23 Thread Mika Kuoppala
Chris Wilson writes: > Emulate HW to track and manage ELSP queue. A set of SW ports are defined > and requests are assigned to these ports before submitting them to HW. This > helps in cleaning up incomplete requests during reset recovery easier > especially after engine reset by decoupling elsp

[Intel-gfx] [PATCH 2/4] drm/i915: Simplify ELSP queue request tracking

2016-08-06 Thread Chris Wilson
Emulate HW to track and manage ELSP queue. A set of SW ports are defined and requests are assigned to these ports before submitting them to HW. This helps in cleaning up incomplete requests during reset recovery easier especially after engine reset by decoupling elsp queue management. This will bec