diff options
author | Wang Zhenyu <zhenyu.z.wang@intel.com> | 2007-01-10 15:09:47 +0800 |
---|---|---|
committer | Wang Zhenyu <zhenyu.z.wang@intel.com> | 2007-01-10 15:09:47 +0800 |
commit | 5857b4a1693085b8b42dd9560a7c4f5c3c82f862 (patch) | |
tree | 4d77e1d04f697bdfddcb40a39de0809c8e0ede9d /src/i830_randr.c | |
parent | ee52c0ec4e95fa6e5f35c9cd75005a0c0003fd97 (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_randr.c')
-rw-r--r-- | src/i830_randr.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/i830_randr.c b/src/i830_randr.c index 533322b2..18f84c49 100644 --- a/src/i830_randr.c +++ b/src/i830_randr.c @@ -627,14 +627,10 @@ xf86RandR12CrtcSet (ScreenPtr pScreen, /* XXX need device-independent mode setting code through an API */ if (changed) { - I830Ptr pI830 = I830PTR(pScrn); crtc->enabled = mode != NULL; /* Sync the engine before adjust mode */ - if (pI830->AccelInfoRec && pI830->AccelInfoRec->NeedToSync) { - (*pI830->AccelInfoRec->Sync)(pScrn); - pI830->AccelInfoRec->NeedToSync = FALSE; - } + i830WaitSync(pScrn); if (mode) { |