patch-2.4.19 linux-2.4.19/drivers/video/riva/accel.c
Next file: linux-2.4.19/drivers/video/riva/fbdev.c
Previous file: linux-2.4.19/drivers/video/radeonfb.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/drivers/video/riva/accel.c
- Orig date:
Mon Oct 15 13:47:13 2001
diff -urN linux-2.4.18/drivers/video/riva/accel.c linux-2.4.19/drivers/video/riva/accel.c
@@ -67,6 +67,8 @@
rinfo->riva.Blt->TopLeftSrc = (sy << 16) | sx;
rinfo->riva.Blt->TopLeftDst = (dy << 16) | dx;
rinfo->riva.Blt->WidthHeight = (height << 16) | width;
+
+ wait_for_idle(rinfo);
}
static void riva_clear_margins(struct vc_data *conp, struct display *p,
@@ -108,9 +110,9 @@
static inline void fbcon_reverse_order(u32 *l)
{
u8 *a = (u8 *)l;
- *a++ = byte_rev[*a];
-/* *a++ = byte_rev[*a];
- *a++ = byte_rev[*a];*/
+ *a = byte_rev[*a], a++;
+/* *a = byte_rev[*a], a++;
+ *a = byte_rev[*a], a++;*/
*a = byte_rev[*a];
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)