On Sam, 2011-08-27 at 22:57 +0200, Maarten Lankhorst wrote: > @@ -402,33 +420,33 @@ static void radeon_drm_cs_flush(struct radeon_winsys_cs > *rcs, unsigned flags) > > radeon_drm_cs_sync_flush(cs); > > + /* Flip command streams. */ > + tmp = cs->csc; > + cs->csc = cs->cst; > + cs->cst = tmp; > + > /* If the CS is not empty, emit it in a newly-spawned thread. */
The 'newly-spawned' in this comment is no longer accurate, is it? Otherwise looks good to me. -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Debian, X and DRI developer _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev