diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-09-19 16:52:17 -0300 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-09-19 16:52:17 -0300 |
commit | f4339a6a7aa077cb355dd23b77ea568ad2a481e3 (patch) | |
tree | a947177b01427e87c0ebc3e902bdab9809979783 /src/regsmi.h | |
parent | 782ef31a9273e33100ae6b4bd20a4d1d3f493aa4 (diff) |
Enable pci retry and pci burst by default.
Rename fields pci_burst and NoPCIRetry to PCIBurst and PCIRetry,
to match field names case usage, and updated logic for the removal
of "No" from the pci retry option.
Pci retry and pci burst greatly increase video playback speed,
allowing smooth video play on the SMI 501.
Diffstat (limited to 'src/regsmi.h')
-rw-r--r-- | src/regsmi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regsmi.h b/src/regsmi.h index b77b6ff..209622c 100644 --- a/src/regsmi.h +++ b/src/regsmi.h @@ -189,12 +189,12 @@ VGAOUT8(SMIPtr pSmi, int port, CARD8 data) /* Wait until "v" queue entries are free */ /**** FIXME **** This is completely ilogical. Argument "v" is ignored, and - **** pSmi->NoPCIRetry defaults to true (but on smi sources this + **** pSmi->PCIRetry defaults to false (but on smi sources this **** macro is a noop and will get stuck on engine reset timeouts if enabled...) ***/ #define WaitQueue(v) \ do { \ - if (!IS_MSOC(pSmi) && pSmi->NoPCIRetry) { \ + if (!IS_MSOC(pSmi) && !pSmi->PCIRetry) { \ int loop = MAXLOOP; mem_barrier(); \ while (!FIFO_EMPTY()) \ if (loop-- == 0) break; \ |