Re: [RFC PATCH 43/97] drm/i915/guc: Add lrc descriptor context lookup array

2021-05-11 Thread Matthew Brost
On Tue, May 11, 2021 at 07:43:30PM +0200, Daniel Vetter wrote: > On Tue, May 11, 2021 at 10:01:28AM -0700, Matthew Brost wrote: > > On Tue, May 11, 2021 at 05:26:34PM +0200, Daniel Vetter wrote: > > > On Thu, May 06, 2021 at 12:13:57PM -0700, Matthew Brost wrote: > > > > Add lrc descriptor context

Re: [RFC PATCH 43/97] drm/i915/guc: Add lrc descriptor context lookup array

2021-05-11 Thread Daniel Vetter
On Tue, May 11, 2021 at 10:01:28AM -0700, Matthew Brost wrote: > On Tue, May 11, 2021 at 05:26:34PM +0200, Daniel Vetter wrote: > > On Thu, May 06, 2021 at 12:13:57PM -0700, Matthew Brost wrote: > > > Add lrc descriptor context lookup array which can resolve the > > > intel_context from the lrc des

Re: [RFC PATCH 43/97] drm/i915/guc: Add lrc descriptor context lookup array

2021-05-11 Thread Matthew Brost
On Tue, May 11, 2021 at 05:26:34PM +0200, Daniel Vetter wrote: > On Thu, May 06, 2021 at 12:13:57PM -0700, Matthew Brost wrote: > > Add lrc descriptor context lookup array which can resolve the > > intel_context from the lrc descriptor index. In addition to lookup, it > > can determine in the lrc d

Re: [RFC PATCH 43/97] drm/i915/guc: Add lrc descriptor context lookup array

2021-05-11 Thread Daniel Vetter
On Thu, May 06, 2021 at 12:13:57PM -0700, Matthew Brost wrote: > Add lrc descriptor context lookup array which can resolve the > intel_context from the lrc descriptor index. In addition to lookup, it > can determine in the lrc descriptor context is currently registered with > the GuC by checking if

[RFC PATCH 43/97] drm/i915/guc: Add lrc descriptor context lookup array

2021-05-06 Thread Matthew Brost
Add lrc descriptor context lookup array which can resolve the intel_context from the lrc descriptor index. In addition to lookup, it can determine in the lrc descriptor context is currently registered with the GuC by checking if an entry for a descriptor index is present. Future patches in the seri