Re: [Mesa-dev] [PATCH] winsys/amdgpu: avoid double simple_mtx_unlock()

2019-11-28 Thread Marek Olšák
Pushed, thanks! Marek On Thu, Nov 28, 2019 at 12:56 AM Jonathan Gray wrote: > pthread_mutex_unlock() when unlocked is documented by posix as > being undefined behaviour. On OpenBSD pthread_mutex_unlock() will call > abort(3) if this happens. > > This occurs in amdgpu_winsys_create() after > cb

[Mesa-dev] [PATCH] winsys/amdgpu: avoid double simple_mtx_unlock()

2019-11-27 Thread Jonathan Gray
pthread_mutex_unlock() when unlocked is documented by posix as being undefined behaviour. On OpenBSD pthread_mutex_unlock() will call abort(3) if this happens. This occurs in amdgpu_winsys_create() after cb446dc0fa5c68f681108f4613560543aa4cf553 winsys/amdgpu: Add amdgpu_screen_winsys Signed-off-