From: Christian König Date: Sat, 21 Sep 2013 13:34:38 +0000 (+0200) Subject: radeon/uvd: async flush the UVD cs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bbcc43ad9d8cadfbac86163d0037938c3420830;p=mesa.git radeon/uvd: async flush the UVD cs No need to block for the CS thread here. Signed-off-by: Christian König Reviewed-by: Marek Olšák --- diff --git a/src/gallium/drivers/radeon/radeon_uvd.c b/src/gallium/drivers/radeon/radeon_uvd.c index 518978eadf6..fa8110541c5 100644 --- a/src/gallium/drivers/radeon/radeon_uvd.c +++ b/src/gallium/drivers/radeon/radeon_uvd.c @@ -110,7 +110,7 @@ static void flush(struct ruvd_decoder *dec) while(dec->cs->cdw % 16) pm4[dec->cs->cdw++] = RUVD_PKT2(); - dec->ws->cs_flush(dec->cs, 0, 0); + dec->ws->cs_flush(dec->cs, RADEON_FLUSH_ASYNC, 0); } /* add a new set register command to the IB */