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 Caller must also hold vblank_...
details: https://anonhg.NetBSD.org/src/rev/c1c389d79be6
branches: trunk
changeset: 992999:c1c389d79be6
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 14:43:32 2018 +0000
description:
Caller must also hold vblank_time_lock here.
diffstat:
sys/external/bsd/drm2/dist/drm/drm_irq.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 1614279c2f10 -r c1c389d79be6 sys/external/bsd/drm2/dist/drm/drm_irq.c
--- a/sys/external/bsd/drm2/dist/drm/drm_irq.c Mon Aug 27 14:43:15 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_irq.c Mon Aug 27 14:43:32 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_irq.c,v 1.14 2018/08/27 14:43:15 riastradh Exp $ */
+/* $NetBSD: drm_irq.c,v 1.15 2018/08/27 14:43:32 riastradh Exp $ */
/*
* drm_irq.c IRQ and vblank support
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_irq.c,v 1.14 2018/08/27 14:43:15 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_irq.c,v 1.15 2018/08/27 14:43:32 riastradh Exp $");
#include <drm/drmP.h>
#include "drm_trace.h"
@@ -205,6 +205,7 @@
int framedur_ns = vblank->framedur_ns;
assert_spin_locked(&dev->vbl_lock);
+ assert_spin_locked(&dev->vblank_time_lock);
/*
* Interrupts were disabled prior to this call, so deal with counter
Home |
Main Index |
Thread Index |
Old Index