diff options
Diffstat (limited to 'xc/programs/Xserver/hw/xfree86/drivers/nv/riva_hw.h')
-rw-r--r-- | xc/programs/Xserver/hw/xfree86/drivers/nv/riva_hw.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/drivers/nv/riva_hw.h b/xc/programs/Xserver/hw/xfree86/drivers/nv/riva_hw.h index 0b6683b59..752a797df 100644 --- a/xc/programs/Xserver/hw/xfree86/drivers/nv/riva_hw.h +++ b/xc/programs/Xserver/hw/xfree86/drivers/nv/riva_hw.h @@ -36,7 +36,7 @@ |* those rights set forth herein. *| |* *| \***************************************************************************/ -/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nv/riva_hw.h,v 1.6 2000/02/08 17:19:12 dawes Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nv/riva_hw.h,v 1.7 2000/11/03 18:46:12 eich Exp $ */ #ifndef __RIVA_HW_H__ #define __RIVA_HW_H__ #define RIVA_SW_VERSION 0x00010003 @@ -425,8 +425,10 @@ int RivaGetConfig(RIVA_HW_INST *); #define RIVA_FIFO_FREE(hwinst,hwptr,cnt) \ { \ - while ((hwinst).FifoFreeCount < (cnt)) \ + while ((hwinst).FifoFreeCount < (cnt)) { \ + mem_barrier(); \ (hwinst).FifoFreeCount = (hwinst).hwptr->FifoFree >> 2; \ + } \ (hwinst).FifoFreeCount -= (cnt); \ } #endif /* __RIVA_HW_H__ */ |