From bc47b06a160467b2ba992dbf657caf89708e5218 Mon Sep 17 00:00:00 2001 From: nat Date: Tue, 6 Sep 2022 02:23:50 +0000 Subject: [PATCH] Don't throttle the frame rate. Throttling of the frame rate is no longer necessary as most screen updates are now partial updates. --- sys/dev/usb/udl.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sys/dev/usb/udl.c b/sys/dev/usb/udl.c index c96d12a58ec2..20f0b2e6d544 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 -__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: