summaryrefslogtreecommitdiff
path: root/src/i830_uxa.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-06-17 14:23:21 +0100
committerOwain G. Ainsworth <oga@openbsd.org>2010-06-17 15:06:56 +0100
commite0d8a49b8710f9b110638ab154af410625eb4f8d (patch)
treea6e6d2390fbda2b2ca0fc73164711f37aae9f89e /src/i830_uxa.c
parent70233b3d2d55d95c7b6af7e84e272b35daae9bd0 (diff)
i830: Remove domain tracking from pixmaps.
The 4 integers can be reduced to a single boolean value, so do so. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit be55066c6481b4c5e2cd39ef1c0f3be88cae0c93) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Diffstat (limited to 'src/i830_uxa.c')
-rw-r--r--src/i830_uxa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_uxa.c b/src/i830_uxa.c
index 64417679..d75a6c8d 100644
--- a/src/i830_uxa.c
+++ b/src/i830_uxa.c
@@ -664,7 +664,7 @@ static Bool i830_uxa_prepare_access(PixmapPtr pixmap, uxa_access_t access)
int ret;
if (!list_is_empty(&priv->batch) &&
- (access == UXA_ACCESS_RW || priv->batch_write_domain))
+ (access == UXA_ACCESS_RW || priv->batch_write))
intel_batch_submit(scrn);
if (bo->size > intel->max_gtt_map_size) {