summaryrefslogtreecommitdiff
path: root/exa
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2005-10-10 05:58:41 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2005-10-10 05:58:41 +0000
commit13f958fbe8420e406f24c01d320f29002ee860b7 (patch)
tree4d63c067b52821098f6ec8910be8e77458864598 /exa
parentd82aeb55ca3b6abe4cafa7b9c39777a5f67308e5 (diff)
Add missing {Prepare,Finish}Access() wrappers for the tile pixmap in the
fallback case
Diffstat (limited to 'exa')
-rw-r--r--exa/exa.c2
-rw-r--r--exa/exa_accel.c2
-rw-r--r--exa/exa_migration.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/exa/exa.c b/exa/exa.c
index fb46f4449..e1b48427d 100644
--- a/exa/exa.c
+++ b/exa/exa.c
@@ -1279,7 +1279,9 @@ exaFillRegionTiled (DrawablePtr pDrawable,
fallback:
EXA_FALLBACK(("from 0x%lx to 0x%lx\n", (long)pTile, (long)pDrawable));
exaPrepareAccess (pDrawable, EXA_PREPARE_DEST);
+ exaPrepareAccess ((DrawablePtr)pTile, EXA_PREPARE_SRC);
fbFillRegionTiled (pDrawable, pRegion, pTile);
+ exaFinishAccess ((DrawablePtr)pTile, EXA_PREPARE_SRC);
exaFinishAccess (pDrawable, EXA_PREPARE_DEST);
}
diff --git a/exa/exa_accel.c b/exa/exa_accel.c
index fb46f4449..e1b48427d 100644
--- a/exa/exa_accel.c
+++ b/exa/exa_accel.c
@@ -1279,7 +1279,9 @@ exaFillRegionTiled (DrawablePtr pDrawable,
fallback:
EXA_FALLBACK(("from 0x%lx to 0x%lx\n", (long)pTile, (long)pDrawable));
exaPrepareAccess (pDrawable, EXA_PREPARE_DEST);
+ exaPrepareAccess ((DrawablePtr)pTile, EXA_PREPARE_SRC);
fbFillRegionTiled (pDrawable, pRegion, pTile);
+ exaFinishAccess ((DrawablePtr)pTile, EXA_PREPARE_SRC);
exaFinishAccess (pDrawable, EXA_PREPARE_DEST);
}
diff --git a/exa/exa_migration.c b/exa/exa_migration.c
index fb46f4449..e1b48427d 100644
--- a/exa/exa_migration.c
+++ b/exa/exa_migration.c
@@ -1279,7 +1279,9 @@ exaFillRegionTiled (DrawablePtr pDrawable,
fallback:
EXA_FALLBACK(("from 0x%lx to 0x%lx\n", (long)pTile, (long)pDrawable));
exaPrepareAccess (pDrawable, EXA_PREPARE_DEST);
+ exaPrepareAccess ((DrawablePtr)pTile, EXA_PREPARE_SRC);
fbFillRegionTiled (pDrawable, pRegion, pTile);
+ exaFinishAccess ((DrawablePtr)pTile, EXA_PREPARE_SRC);
exaFinishAccess (pDrawable, EXA_PREPARE_DEST);
}