Re: [Intel-gfx] [PATCH 10/24] drm/i915: Use ww locking in intel_renderstate.

2020-08-11 Thread Intel
On 8/10/20 12:30 PM, Maarten Lankhorst wrote: We want to start using ww locking in intel_context_pin, for this we need to lock multiple objects, and the single i915_gem_object_lock is not enough. Convert to using ww-waiting, and make sure we always pin intel_context_state, even if we don't have

[Intel-gfx] [PATCH 10/24] drm/i915: Use ww locking in intel_renderstate.

2020-08-10 Thread Maarten Lankhorst
We want to start using ww locking in intel_context_pin, for this we need to lock multiple objects, and the single i915_gem_object_lock is not enough. Convert to using ww-waiting, and make sure we always pin intel_context_state, even if we don't have a renderstate object. Signed-off-by: Maarten La