Voodoo 1: Change cmdfifo_depth threshold from >300 to <80

This commit is contained in:
AITUS95
2025-12-17 03:51:19 +01:00
committed by GitHub
parent 97cd239120
commit 7e05cdcce5

View File

@@ -432,7 +432,7 @@ voodoo_writel(uint32_t addr, uint32_t val, void *priv)
/* Voodoo1: use higher CMDFIFO threshold to reduce wake frequency */
if (voodoo->type == VOODOO_1) {
if ((voodoo->cmdfifo_depth_wr - voodoo->cmdfifo_depth_rd) > 300)
if ((voodoo->cmdfifo_depth_wr - voodoo->cmdfifo_depth_rd) < 80)
voodoo_wake_fifo_thread(voodoo);
}
/* Other cards (Voodoo2, Banshee, Voodoo3, ...) keep the original behavior */