diff mbox series

[CI] drm/i915: Remove nest annotation from intel_context_unpin

Message ID 20191219101900.431520-1-maarten.lankhorst@linux.intel.com (mailing list archive)
State New, archived
Headers show
Series [CI] drm/i915: Remove nest annotation from intel_context_unpin | expand

Commit Message

Maarten Lankhorst Dec. 19, 2019, 10:18 a.m. UTC
Lets see what breaks?

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
---
 drivers/gpu/drm/i915/gt/intel_context.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/gt/intel_context.c b/drivers/gpu/drm/i915/gt/intel_context.c
index 61c39e943f69..a6c64e762ce3 100644
--- a/drivers/gpu/drm/i915/gt/intel_context.c
+++ b/drivers/gpu/drm/i915/gt/intel_context.c
@@ -95,7 +95,7 @@  void intel_context_unpin(struct intel_context *ce)
 
 	/* We may be called from inside intel_context_pin() to evict another */
 	intel_context_get(ce);
-	mutex_lock_nested(&ce->pin_mutex, SINGLE_DEPTH_NESTING);
+	mutex_lock(&ce->pin_mutex);
 
 	if (likely(atomic_dec_and_test(&ce->pin_count))) {
 		GEM_TRACE("%s context:%llx retire\n",