Re: [Mesa-dev] [PATCH 7/7] winsys/radeon: fix a race condition in initialization of radeon_winsys::screen

2014-04-09 Thread Christian König
Am 09.04.2014 05:44, schrieb Michel Dänzer: On Mit, 2014-04-09 at 02:15 +0200, Marek Olšák wrote: From: Marek Olšák marek.ol...@amd.com Create the screen in the winsys while the mutex is locked. This also results in a nice code cleanup! [...] diff --git

[Mesa-dev] [PATCH 7/7] winsys/radeon: fix a race condition in initialization of radeon_winsys::screen

2014-04-08 Thread Marek Olšák
From: Marek Olšák marek.ol...@amd.com Create the screen in the winsys while the mutex is locked. This also results in a nice code cleanup! --- src/gallium/targets/egl-static/egl_pipe.c | 42 --- src/gallium/targets/pipe-loader/pipe_r300.c | 14 ++--

Re: [Mesa-dev] [PATCH 7/7] winsys/radeon: fix a race condition in initialization of radeon_winsys::screen

2014-04-08 Thread Michel Dänzer
On Mit, 2014-04-09 at 02:15 +0200, Marek Olšák wrote: From: Marek Olšák marek.ol...@amd.com Create the screen in the winsys while the mutex is locked. This also results in a nice code cleanup! [...] diff --git a/src/gallium/targets/egl-static/egl_pipe.c