9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] kernel/graphics slowness
@ 2002-05-01 16:58 Sape Mullender
  0 siblings, 0 replies; only message in thread
From: Sape Mullender @ 2002-05-01 16:58 UTC (permalink / raw)
  To: 9fans

Some of you reported slow to extremely slow graphics operations.
We found the cause; it's a bug in the usb driver.  You can apply this
fix to usbuhci.c:

diff /n/dump/2002/0501/sys/src/9/pc/usbuhci.c usbuhci.c
1483,1484c1483
< 	ctlr->ctlq->head = PCIWADDR(ctlr->bwsop) | IsQH;
< 	ctlr->bwsop->head = PCIWADDR(ctlr->bulkq) | IsQH;
---
> 	ctlr->ctlq->head = PCIWADDR(ctlr->bulkq) | IsQH;
1486c1485,1489
< 	ctlr->recvq->head = PCIWADDR(ctlr->bwsop) | IsQH;	/* loop back */
---
> 	ctlr->recvq->head = PCIWADDR(ctlr->bwsop) | IsQH;
> 	if (1)	/* set up loop back */
>  		ctlr->bwsop->head = Terminate;
> 	else
> 		ctlr->bwsop->head = PCIWADDR(ctlr->bwsop) | IsQH;



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-01 16:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-01 16:58 [9fans] kernel/graphics slowness Sape Mullender

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).