From: Michel Dänzer Date: Thu, 19 Nov 2009 09:54:49 +0000 (+0100) Subject: st/xorg: Remove superfluous flushes from the EXA WaitMarker hook. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=10dbdee05694489edd03b353dfe133a17e65b469;p=mesa.git st/xorg: Remove superfluous flushes from the EXA WaitMarker hook. Thanks to Thomas Hellström for pointing this out. --- diff --git a/src/gallium/state_trackers/xorg/xorg_exa.c b/src/gallium/state_trackers/xorg/xorg_exa.c index 6fa274eb0ab..29fc8617489 100644 --- a/src/gallium/state_trackers/xorg/xorg_exa.c +++ b/src/gallium/state_trackers/xorg/xorg_exa.c @@ -170,15 +170,7 @@ xorg_exa_common_done(struct exa_context *exa) static void ExaWaitMarker(ScreenPtr pScreen, int marker) { - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; - modesettingPtr ms = modesettingPTR(pScrn); - struct exa_context *exa = ms->exa; - -#if 0 - xorg_exa_flush(exa, PIPE_FLUSH_RENDER_CACHE, NULL); -#else - xorg_exa_finish(exa); -#endif + /* Nothing to do, handled in the PrepareAccess hook */ } static int