Loading
dma-buf: Assign separate lockdep class to array lock
dma_fence_array_enable_signaling() runs while holding the array inline_lock and may add callbacks to underlying fences, which takes their inline_lock. Since both locks share the same lockdep class, this valid nesting triggers a recursive locking warning. Assign a distinct lockdep class to the array inline_lock so lockdep can correctly model the hierarchy. Fixes: 59432439 ("dma-buf: use inline lock for the dma-fence-array") Cc: Christian König <christian.koenig@amd.com> Cc: Tvrtko Ursulin <tvrtko.ursulin@igalia.com> Cc: Philipp Stanner <phasta@kernel.org> Cc: Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by:Matthew Brost <matthew.brost@intel.com> Reviewed-by:
Christian König <christian.koenig@amd.com> Link: https://patch.msgid.link/20260224183922.2256492-2-matthew.brost@intel.com