Skip to contentSkip to conversation

drm/syncobj : Enable signaling on fence for syncobj

PATCH New Arvind Yadav 1 participant 1 message Oct 20, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/syncobj : Enable signaling on fence for syncobj

Here's enabling software signaling on fence for syncobj.

---
 drivers/gpu/drm/drm_syncobj.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/drm_syncobj.c +2 -0
index 0c2be8360525..2ab7a1a9eeb4 100644
@@ -302,6 +302,8 @@ void drm_syncobj_add_point(struct drm_syncobj *syncobj,
 	dma_fence_chain_init(chain, prev, fence, point);
 	rcu_assign_pointer(syncobj->fence, &chain->base);
 
+	dma_fence_enable_sw_signaling(&chain->base);
+
 	list_for_each_entry_safe(cur, tmp, &syncobj->cb_list, node)
 		syncobj_wait_syncobj_func(syncobj, cur);
 	spin_unlock(&syncobj->lock);
Signature · 1 line
2.25.1