user/xf86-video-fbdev-rm: set timer to 1/10 of a second for update

This commit is contained in:
Antoine Martin 2023-05-17 03:11:51 -04:00
parent df2f3b9712
commit 45918ec123
Signed by: forge
GPG key ID: D62A472A4AA7D541
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-fbdev-rm
pkgver=0.5.0
pkgrel=0
pkgrel=1
pkgdesc="Video driver for framebuffer device with rM patches"
url="https://www.x.org"
arch="all"
@ -35,6 +35,6 @@ package() {
sha512sums="
c1217b943bbe3301b3c2a8649ed1004c3c67b02607bd56bbc14f6dfa05e7f0184332c81a6a19595514745501ed88526aee932e555779b7c3a8233646b0979448 xf86-video-fbdev-0.5.0.tar.bz2
d57ac5c8454da9a3af7379226ee7d124c04fd710b15a818a4845e55f3b96462450acb791acd07cfffdf6f2a28deef30ae1b8a656f85eb412fa019102bf2efce0 epdc_auto-update-patch.patch
a27497c957fdb25de8b7a66f2e6ad79a766214dc93dfca1ef9147154c2b874b4a725777bbb880ceebc077972851126cb708ae29bed2311ce8044938e53e08c78 epdc_auto-update-patch.patch
19c6680d8e8b0ba3903fb76438b54f294a1715b93d50e1cb2ef95bb04770add5fdad1df4260ab7eb00bb26578baa79b7cfed3f7fa6cba70348611cc3797af3ee fix-build.patch
"

View file

@ -107,7 +107,7 @@ index f25ef72..46b3c8c 100644
+ xf86DrvMsg(pScrn->scrnIndex, X_ERROR,"update ioctl failed: %d\n", ret);
+ pbox++;
+ }
+ fPtr->timer = TimerSet(timer, 0, 1000, FBDevEPDUpdateWork, pScreen);
+ fPtr->timer = TimerSet(timer, 0, 100, FBDevEPDUpdateWork, pScreen);
+ fPtr->timerActive = TRUE;
+ RegionDestroy(fPtr->region_queue);
+ fPtr->region_queue = NULL;