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

Thomas Hellström (Intel) thomas_os at shipmail.org
Tue Aug 11 07:52:46 UTC 2020


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 a renderstate object.
>
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>

Reviewed-by: Thomas Hellström <thomas.hellstrom at intel.com>




More information about the Intel-gfx mailing list