aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/tdfxfb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/tdfxfb.c b/drivers/video/tdfxfb.c
index c7ec5f382608..faac9b469ea9 100644
--- a/drivers/video/tdfxfb.c
+++ b/drivers/video/tdfxfb.c
@@ -273,7 +273,8 @@ static inline void banshee_make_room(struct tdfx_par *par, int size)
273{ 273{
274 /* Note: The Voodoo3's onboard FIFO has 32 slots. This loop 274 /* Note: The Voodoo3's onboard FIFO has 32 slots. This loop
275 * won't quit if you ask for more. */ 275 * won't quit if you ask for more. */
276 while ((tdfx_inl(par, STATUS) & 0x1f) < size - 1) ; 276 while ((tdfx_inl(par, STATUS) & 0x1f) < size - 1)
277 cpu_relax();
277} 278}
278 279
279static int banshee_wait_idle(struct fb_info *info) 280static int banshee_wait_idle(struct fb_info *info)