summaryrefslogtreecommitdiff
path: root/hw/kdrive/ati
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2005-01-27 03:52:49 +0000
committerEric Anholt <anholt@freebsd.org>2005-01-27 03:52:49 +0000
commit0bd459488bf88084d703d801bfd5e79ea6d2b5a5 (patch)
treec25e05d0359afe789752d872f5d2b2463d326335 /hw/kdrive/ati
parenta973af4a9ade68b271d0695898d72aea50d8953b (diff)
Move the bailing out due to ATIUploadToScreen() being unfinished up
farther, so that the traces aren't as confusing.
Diffstat (limited to 'hw/kdrive/ati')
-rw-r--r--hw/kdrive/ati/ati_draw.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/hw/kdrive/ati/ati_draw.c b/hw/kdrive/ati/ati_draw.c
index a47dc8973..a6ea02521 100644
--- a/hw/kdrive/ati/ati_draw.c
+++ b/hw/kdrive/ati/ati_draw.c
@@ -568,6 +568,10 @@ ATIUploadToScreen(PixmapPtr pDst, char *src, int src_pitch)
RING_LOCALS;
ENTER_DRAW (pDst);
+
+ LEAVE_DRAW (pDst);
+ /* XXX: Hostdata uploads aren't working yet. */
+ return FALSE;
dst_offset = ((CARD8 *)pDst->devPrivate.ptr -
pScreenPriv->screen->memory_base);
@@ -595,11 +599,6 @@ ATIUploadToScreen(PixmapPtr pDst, char *src, int src_pitch)
if (atis->using_pio)
return FALSE;
- LEAVE_DRAW (pDst);
-
- /* XXX: Hostdata uploads aren't working yet. */
- return FALSE;
-
dwords = (width * height * (bpp / 8) + 3) / 4;
/* Flush pixel cache so nothing being written to the destination