diff mbox series

[v4,2/3] drm_exec: fix double dma_resv unlock

Message ID 20230420182102.3302646-3-francois.dugast@intel.com (mailing list archive)
State New, archived
Headers show
Series drm/xe: switch to using drm_exec | expand

Commit Message

Francois Dugast April 20, 2023, 6:21 p.m. UTC
From: Danilo Krummrich <dakr@redhat.com>

Signed-off-by: Danilo Krummrich <dakr@redhat.com>
---
 drivers/gpu/drm/drm_exec.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/drm_exec.c b/drivers/gpu/drm/drm_exec.c
index df546cc5a227..f645d22a0863 100644
--- a/drivers/gpu/drm/drm_exec.c
+++ b/drivers/gpu/drm/drm_exec.c
@@ -62,7 +62,6 @@  static void drm_exec_unlock_all(struct drm_exec *exec)
 	}
 
 	if (exec->prelocked) {
-		dma_resv_unlock(exec->prelocked->resv);
 		drm_gem_object_put(exec->prelocked);
 		exec->prelocked = NULL;
 	}