Re: [Mesa-dev] [PATCH v2] i965: don't require 64bit cmpxchg

2017-03-05 Thread Matt Turner
On Sun, Mar 5, 2017 at 1:23 PM, Grazvydas Ignotas wrote: > There are still some distributions trying to support unfortunate people > with old or exotic CPUs that don't have 64bit atomic operations. The > only thing preventing compile of the Intel driver for them seems to be >

[Mesa-dev] [PATCH v2] i965: don't require 64bit cmpxchg

2017-03-05 Thread Grazvydas Ignotas
There are still some distributions trying to support unfortunate people with old or exotic CPUs that don't have 64bit atomic operations. The only thing preventing compile of the Intel driver for them seems to be initialization of a debug variable. v2: use call_once() instead of unsafe code, as