Skip to contentSkip to conversation

drm/xe: Fix duplicated put due to merge resolution

PATCH In review Thomas Hellström 3 participants 4 messages Dec 4, 2025

Subsystems (2)
lore
Share & tools
lore

Thomas Hellström

author maintainer
#0 lore raw

PATCH 1/1 drm/xe: Fix duplicated put due to merge resolution

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

---
 drivers/gpu/drm/xe/xe_exec_queue.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/gpu/drm/xe/xe_exec_queue.c +0 -3
index 02b75652d497..226d07a3d852 100644
@@ -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

Signature · 1 line
2.51.1
#1 lore raw
Quoted 3 lines · Thomas Hellström

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

Ack. I can confirm that this seems to fix the issue for me. Thanks for the quick response.

Should I just apply it directly?

Linus

author maintainer
#2 lore raw

Hi, Linus

Quoted 6 lines · Linus Torvalds
Quoted 3 lines · Thomas Hellström

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

Quoted 7 lines

Ack. I can confirm that this seems to fix the issue for me. Thanks for
the quick response.

Should I just apply it directly?

           Linus

OK with me if ok with Dave.

Thanks,
Thomas

Acked-by
#3 lore raw
Quoted 14 lines · Thomas Hellström

Hi, Linus

Quoted 10 lines · Linus Torvalds
Quoted 3 lines · Thomas Hellström

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

Ack. I can confirm that this seems to fix the issue for me. Thanks for
the quick response.

Quoted 5 lines
Quoted 3 lines

Should I just apply it directly?

Linus

OK with me if ok with Dave.

Please do.

Quoted 4 lines

Thanks,
Thomas