9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Sape Mullender <sape@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: [9fans] kernel/graphics slowness
Date: Wed,  1 May 2002 12:58:51 -0400	[thread overview]
Message-ID: <d8dd28679dc7183cf603a4969884ffca@plan9.bell-labs.com> (raw)

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;



                 reply	other threads:[~2002-05-01 16:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d8dd28679dc7183cf603a4969884ffca@plan9.bell-labs.com \
    --to=sape@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).