summaryrefslogtreecommitdiff
path: root/src/i830_dga.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-04-28 14:57:03 -0700
committerEric Anholt <anholt@FreeBSD.org>2006-04-28 14:57:03 -0700
commit941a49f91eac02e256706d8821a2cb069ff7ffef (patch)
tree0b3e340c415116b3d59478656845be9503b27c71 /src/i830_dga.c
parent1dbb19059f5dd5cd2ad386c4f73498095987b943 (diff)
Commit what applied from Jesse Barnes's i830-exa-latest.patch.
Diffstat (limited to 'src/i830_dga.c')
-rw-r--r--src/i830_dga.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/i830_dga.c b/src/i830_dga.c
index 1129fa31..08207d39 100644
--- a/src/i830_dga.c
+++ b/src/i830_dga.c
@@ -238,6 +238,7 @@ static void
I830_FillRect(ScrnInfoPtr pScrn,
int x, int y, int w, int h, unsigned long color)
{
+#ifdef I830_USE_XAA
I830Ptr pI830 = I830PTR(pScrn);
MARKER();
@@ -247,11 +248,13 @@ I830_FillRect(ScrnInfoPtr pScrn,
(*pI830->AccelInfoRec->SubsequentSolidFillRect) (pScrn, x, y, w, h);
SET_SYNC_FLAG(pI830->AccelInfoRec);
}
+#endif
}
static void
I830_Sync(ScrnInfoPtr pScrn)
{
+#ifdef I830_USE_XAA
I830Ptr pI830 = I830PTR(pScrn);
MARKER();
@@ -259,12 +262,14 @@ I830_Sync(ScrnInfoPtr pScrn)
if (pI830->AccelInfoRec) {
(*pI830->AccelInfoRec->Sync) (pScrn);
}
+#endif
}
static void
I830_BlitRect(ScrnInfoPtr pScrn,
int srcx, int srcy, int w, int h, int dstx, int dsty)
{
+#ifdef I830_USE_XAA
I830Ptr pI830 = I830PTR(pScrn);
MARKER();
@@ -279,6 +284,7 @@ I830_BlitRect(ScrnInfoPtr pScrn,
dstx, dsty, w, h);
SET_SYNC_FLAG(pI830->AccelInfoRec);
}
+#endif
}
#if 0