Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/dist/drm/i915 i915: Missed a spot in f...



details:   https://anonhg.NetBSD.org/src/rev/99e027ddc009
branches:  trunk
changeset: 1028764:99e027ddc009
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:58:25 2021 +0000

description:
i915: Missed a spot in flailing the bad thing going wrong.

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/i915_active.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r bfdcc41f836f -r 99e027ddc009 sys/external/bsd/drm2/dist/drm/i915/i915_active.c
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_active.c Sun Dec 19 11:58:16 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_active.c Sun Dec 19 11:58:25 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i915_active.c,v 1.5 2021/12/19 11:57:54 riastradh Exp $        */
+/*     $NetBSD: i915_active.c,v 1.6 2021/12/19 11:58:25 riastradh Exp $        */
 
 /*
  * SPDX-License-Identifier: MIT
@@ -7,7 +7,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i915_active.c,v 1.5 2021/12/19 11:57:54 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i915_active.c,v 1.6 2021/12/19 11:58:25 riastradh Exp $");
 
 #include <linux/debugobjects.h>
 
@@ -939,7 +939,7 @@
        KASSERT(active->cb.func == node_retire ||
            active->cb.func == excl_retire ||
            active->cb.func == i915_active_noop);
-       dma_fence_add_callback(fence, &active->cb, node_retire);
+       dma_fence_add_callback(fence, &active->cb, active->cb.func);
 #endif
 
        return prev;



Home | Main Index | Thread Index | Old Index