Skip to content
Commit e09f3277 authored by Eric Engestrom's avatar Eric Engestrom
Browse files

freedreno: revert bad freedreno/atomic_ops commits



This reverts 6d237985 "xf86atomic: #undef internal define"
and b541d21a "freedreno: remove always-defined #ifdef".

I didn't realise at the time that freedreno/freedreno_ringbuffer.h gets
installed, and then used by Mesa for instance. These two commits were
fine in libdrm, but broke Mesa which needs to use struct fd_ringbuffer
but doesn't need to access ::refcnt. The hack that I removed serves to
keep the struct at the correct size while only exposing the ::refcnt
member within libdrm.

Fixes: 6d237985 "xf86atomic: #undef internal define"
Fixes: b541d21a "freedreno: remove always-defined #ifdef"
Signed-off-by: default avatarEric Engestrom <eric.engestrom@intel.com>
parent eba6609b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment