diff options
| author | nat <nat@NetBSD.org> | 2022-09-06 02:23:50 +0000 |
|---|---|---|
| committer | nat <nat@NetBSD.org> | 2022-09-06 02:23:50 +0000 |
| commit | b402ba71ac346b1d596a483e06b3c10e45d979e3 (patch) | |
| tree | f12691e35e88c41637080e1d651083b22589e71f /sys/dev | |
| parent | 4cce4bde315d8eb36debd9f7e89f92462ac928db (diff) | |
Don't throttle the frame rate.
Throttling of the frame rate is no longer necessary as most screen updates are
now partial updates.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/usb/udl.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/usb/udl.c b/sys/dev/usb/udl.c index c96d12a58ec..20f0b2e6d54 100644 --- a/sys/dev/usb/udl.c +++ b/sys/dev/usb/udl.c @@ -1,4 +1,4 @@ -/* $NetBSD: udl.c,v 1.29 2022/09/06 02:20:17 nat Exp $ */ +/* $NetBSD: udl.c,v 1.30 2022/09/06 02:23:50 nat Exp $ */ /*- * Copyright (c) 2009 FUKAUMI Naoki. @@ -53,7 +53,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: udl.c,v 1.29 2022/09/06 02:20:17 nat Exp $"); +__KERNEL_RCSID(0, "$NetBSD: udl.c,v 1.30 2022/09/06 02:23:50 nat Exp $"); #ifdef _KERNEL_OPT #include "opt_usb.h" @@ -1855,8 +1855,7 @@ udl_update_thread(void *v) } count++; - - kpause("udlslp", false, (40 * hz)/1000 + 1, &sc->sc_thread_mtx); + kpause("udlslp", false, 1, &sc->sc_thread_mtx); continue; thread_wait: |
