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 drm: Make sure to initialize ...



details:   https://anonhg.NetBSD.org/src/rev/7c9379929476
branches:  trunk
changeset: 1028962:7c9379929476
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 12:35:28 2021 +0000

description:
drm: Make sure to initialize syncobj wait point.

diffstat:

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

diffs (28 lines):

diff -r 15d0dcf941dd -r 7c9379929476 sys/external/bsd/drm2/dist/drm/drm_syncobj.c
--- a/sys/external/bsd/drm2/dist/drm/drm_syncobj.c      Sun Dec 19 12:35:21 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_syncobj.c      Sun Dec 19 12:35:28 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_syncobj.c,v 1.5 2021/12/19 12:32:01 riastradh Exp $        */
+/*     $NetBSD: drm_syncobj.c,v 1.6 2021/12/19 12:35:28 riastradh Exp $        */
 
 /*
  * Copyright 2017 Red Hat
@@ -125,7 +125,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_syncobj.c,v 1.5 2021/12/19 12:32:01 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_syncobj.c,v 1.6 2021/12/19 12:35:28 riastradh Exp $");
 
 #include <linux/anon_inodes.h>
 #include <linux/file.h>
@@ -398,8 +398,8 @@
        wait.cv = &cv;
 #else
        wait.task = current;
+#endif
        wait.point = point;
-#endif
        drm_syncobj_fence_add_wait(syncobj, &wait);
 
 #ifdef __NetBSD__



Home | Main Index | Thread Index | Old Index