Re: [Mesa-dev] [PATCH] winsys/radeon: cleanup CS offloading

2013-10-20 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Sat, Oct 19, 2013 at 12:09 PM, Christian König wrote: > From: Christian König > > Using atomic function for ncs is superfluous since it is > protected by a mutex anyway. Also lock the mutex only once > while retrieving the next CS for submission. > > Signed-of

[Mesa-dev] [PATCH] winsys/radeon: cleanup CS offloading

2013-10-19 Thread Christian König
From: Christian König Using atomic function for ncs is superfluous since it is protected by a mutex anyway. Also lock the mutex only once while retrieving the next CS for submission. Signed-off-by: Christian König --- src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 31 -