summaryrefslogtreecommitdiff
path: root/src/i830_video.c
diff options
context:
space:
mode:
authorWang Zhenyu <zhenyu.z.wang@intel.com>2007-01-10 15:09:47 +0800
committerWang Zhenyu <zhenyu.z.wang@intel.com>2007-01-10 15:09:47 +0800
commit5857b4a1693085b8b42dd9560a7c4f5c3c82f862 (patch)
tree4d77e1d04f697bdfddcb40a39de0809c8e0ede9d /src/i830_video.c
parentee52c0ec4e95fa6e5f35c9cd75005a0c0003fd97 (diff)
Formalize sync interface
We should just call i830MarkSync/i830WaitSync in places we need, which care for both XAA and EXA.
Diffstat (limited to 'src/i830_video.c')
-rw-r--r--src/i830_video.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/i830_video.c b/src/i830_video.c
index 6b76faac..652e73d8 100644
--- a/src/i830_video.c
+++ b/src/i830_video.c
@@ -2358,10 +2358,7 @@ I830PutImage(ScrnInfoPtr pScrn,
* acceleration to finish before writing the new video data into
* framebuffer.
*/
- if (pI830->AccelInfoRec && pI830->AccelInfoRec->NeedToSync) {
- (*pI830->AccelInfoRec->Sync)(pScrn);
- pI830->AccelInfoRec->NeedToSync = FALSE;
- }
+ i830WaitSync(pScrn);
}
switch (id) {