Re: [Intel-gfx] [PATCH v9 17/70] drm/i915: Flatten obj->mm.lock

2021-03-24 Thread Daniel Vetter
On Tue, Mar 23, 2021 at 04:50:06PM +0100, Maarten Lankhorst wrote: > With userptr fixed, there is no need for all separate lockdep classes > now, and we can remove all lockdep tricks used. A trylock in the > shrinker is all we need now to flatten the locking hierarchy. > > Signed-off-by: Maarten L

[Intel-gfx] [PATCH v9 17/70] drm/i915: Flatten obj->mm.lock

2021-03-23 Thread Maarten Lankhorst
With userptr fixed, there is no need for all separate lockdep classes now, and we can remove all lockdep tricks used. A trylock in the shrinker is all we need now to flatten the locking hierarchy. Signed-off-by: Maarten Lankhorst Reviewed-by: Thomas Hellström --- drivers/gpu/drm/i915/gem/i915_g