summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/dvbox.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-01-27 21:24:49 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-01-27 21:24:49 +0000
commit408476badc11d3e80fd0f3c575d00aa650bfdc61 (patch)
treed59b22ecfe60920937ebac31da8be2b201b95842 /sys/arch/hp300/dev/dvbox.c
parent94b0fdaf55d0e1863ae8079b84ab5f66ba3a380a (diff)
In windowmove(), put another hardware blitter synchronization before
returning, so that rasops bursts including non-accelerated operations do not have side effects.
Diffstat (limited to 'sys/arch/hp300/dev/dvbox.c')
-rw-r--r--sys/arch/hp300/dev/dvbox.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/hp300/dev/dvbox.c b/sys/arch/hp300/dev/dvbox.c
index f4d125b44a1..ea78867a9f1 100644
--- a/sys/arch/hp300/dev/dvbox.c
+++ b/sys/arch/hp300/dev/dvbox.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dvbox.c,v 1.7 2005/01/24 21:36:39 miod Exp $ */
+/* $OpenBSD: dvbox.c,v 1.8 2005/01/27 21:24:48 miod Exp $ */
/*
* Copyright (c) 2005, Miodrag Vallat
@@ -403,6 +403,7 @@ dvbox_windowmove(struct diofb *fb, u_int16_t sx, u_int16_t sy,
volatile struct dvboxfb *db = (struct dvboxfb *)fb->regkva;
db_waitbusy(db);
+
db->rep_rule = DVBOX_DUALROP(rop);
db->source_y = sy;
db->source_x = sx;
@@ -411,6 +412,8 @@ dvbox_windowmove(struct diofb *fb, u_int16_t sx, u_int16_t sy,
db->wheight = cy;
db->wwidth = cx;
db->wmove = 1;
+
+ db_waitbusy(db);
}
/*