From 52ffd0590b687086b413bac715a4f38415e78f76 Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 4 Aug 2023 09:30:48 +0000 Subject: [PATCH] dma-buf: keep the signaling time of merged fences v3 From Christian Koenig 23acc2b850ba4dfdfe2700d728be3e27710260a1 in linux-6.1.y/6.1.43 f781f661e8c99b0cb34129f2e374234d61864e77 in mainline linux --- sys/dev/pci/drm/drm_syncobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pci/drm/drm_syncobj.c b/sys/dev/pci/drm/drm_syncobj.c index 0aafbcd74bf..bd4aa4d0c63 100644 --- a/sys/dev/pci/drm/drm_syncobj.c +++ b/sys/dev/pci/drm/drm_syncobj.c @@ -356,7 +356,7 @@ EXPORT_SYMBOL(drm_syncobj_replace_fence); */ static int drm_syncobj_assign_null_handle(struct drm_syncobj *syncobj) { - struct dma_fence *fence = dma_fence_allocate_private_stub(); + struct dma_fence *fence = dma_fence_allocate_private_stub(ktime_get()); if (IS_ERR(fence)) return PTR_ERR(fence); -- 2.20.1