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/include/drm drm: New IRQ_WAKE_THREAD c...



details:   https://anonhg.NetBSD.org/src/rev/48ed926d2161
branches:  trunk
changeset: 372026:48ed926d2161
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Oct 25 23:36:09 2022 +0000

description:
drm: New IRQ_WAKE_THREAD constant.

Not really wired up to anything but helps reduce diffs -- driver is
responsible for making decisions based on it, corresponding to
Linux's built-in `threaded irq'.

diffstat:

 sys/external/bsd/drm2/include/drm/drm_irq_netbsd.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r b0d7c3539dcb -r 48ed926d2161 sys/external/bsd/drm2/include/drm/drm_irq_netbsd.h
--- a/sys/external/bsd/drm2/include/drm/drm_irq_netbsd.h        Tue Oct 25 23:35:57 2022 +0000
+++ b/sys/external/bsd/drm2/include/drm/drm_irq_netbsd.h        Tue Oct 25 23:36:09 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_irq_netbsd.h,v 1.6 2021/12/19 12:10:58 riastradh Exp $     */
+/*     $NetBSD: drm_irq_netbsd.h,v 1.7 2022/10/25 23:36:09 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -37,6 +37,7 @@
 enum irqreturn {
        IRQ_NONE = 0x0,
        IRQ_HANDLED = 0x1,
+       IRQ_WAKE_THREAD = 0x2,  /* XXX requires manual workqueue setup */
 };
 
 #define        DRM_IRQ_ARGS    void *arg



Home | Main Index | Thread Index | Old Index