[Intel-gfx] [PATCH 11/20] drm/i915/gem: Separate the ww_mutex walker into its own list

Chris Wilson chris at chris-wilson.co.uk
Tue Jul 14 14:10:49 UTC 2020


Quoting Tvrtko Ursulin (2020-07-13 15:53:56)
> 
> On 06/07/2020 07:19, Chris Wilson wrote:
> Just a temporary stage... are we reviewing those? Best if they can be 
> avoided.

Yes, I am not chuffed in having it. But with the transition from using
an array of execobj[] to having a list that includes the supplementary
objects, the inplace swap() now breaks the lists. We would have to do a
bunch of list_replace() to preserve them. At the moment, I think this is
the lessor of evils, although it is quite hideous.
-Chris


More information about the Intel-gfx mailing list