On Wed, May 27, 2015 at 10:29 PM, Michel Dänzer <[email protected]> wrote: > From: Michel Dänzer <[email protected]> > > We don't need to wait for GPU reads to finish before reading with the > CPU. > > Signed-off-by: Michel Dänzer <[email protected]>
Reviewed-by: Alex Deucher <[email protected]> > --- > src/radeon_glamor_wrappers.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/radeon_glamor_wrappers.c b/src/radeon_glamor_wrappers.c > index 7a57bc1..ec81560 100644 > --- a/src/radeon_glamor_wrappers.c > +++ b/src/radeon_glamor_wrappers.c > @@ -113,7 +113,7 @@ radeon_glamor_prepare_access_cpu_ro(ScrnInfoPtr scrn, > PixmapPtr pixmap, > return TRUE; > > info = RADEONPTR(scrn); > - need_sync = radeon_glamor_gpu_pending(info->gpu_synced, > priv->gpu_read); > + need_sync = radeon_glamor_gpu_pending(info->gpu_synced, > priv->gpu_write); > return radeon_glamor_prepare_access_cpu(scrn, RADEONPTR(scrn), pixmap, > priv, need_sync); > } > -- > 2.1.4 > > _______________________________________________ > xorg-driver-ati mailing list > [email protected] > http://lists.x.org/mailman/listinfo/xorg-driver-ati _______________________________________________ xorg-driver-ati mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-driver-ati
