An incorrect backmerge resolution resulted in an
incorrect duplicate put. Fix.

Cc: Dave Airlie <[email protected]>
Reported-by: Linus Torvalds <[email protected]>
Closes: 
https://lore.kernel.org/dri-devel/CAHk-=whaiMayMx=lrl7p119mlbx6exm_meu4s2ubrt+xwq-...@mail.gmail.com/
Fixes: Fixes: ce0478b02ed2 ("Merge tag 'v6.18-rc6' into drm-next")
Signed-off-by: Thomas Hellström <[email protected]>
---
 drivers/gpu/drm/xe/xe_exec_queue.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_exec_queue.c 
b/drivers/gpu/drm/xe/xe_exec_queue.c
index 02b75652d497..226d07a3d852 100644
--- a/drivers/gpu/drm/xe/xe_exec_queue.c
+++ b/drivers/gpu/drm/xe/xe_exec_queue.c
@@ -392,9 +392,6 @@ void xe_exec_queue_destroy(struct kref *ref)
 
        xe_assert(gt_to_xe(q->gt), atomic_read(&q->job_cnt) == 0);
 
-       if (q->ufence_syncobj)
-               drm_syncobj_put(q->ufence_syncobj);
-
        if (q->ufence_syncobj)
                drm_syncobj_put(q->ufence_syncobj);
 

base-commit: 29bce9c8b41d5c378263a927acb9a9074d0e7a0e
-- 
2.51.1

Reply via email to