freedreno: Deduplicate ringbuffer macros with computerator/fdperf
authorEric Anholt <eric@anholt.net>
Thu, 7 May 2020 22:40:52 +0000 (15:40 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 8 May 2020 19:35:38 +0000 (12:35 -0700)
commit6c688ae81f4a6249cdccf1d218da5bebaf23e4f4
tree0cc5d5a5b64a635c3b5f84d56143053be1923db1
parent094c7646a3ae4980f76605a922572fe2ed78f6f1
freedreno: Deduplicate ringbuffer macros with computerator/fdperf

They're sugar around freedreno_ringbuffer.h, so put them there and reuse them.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4957>
src/freedreno/computerator/main.h
src/freedreno/drm/freedreno_ringbuffer.h
src/freedreno/drm/meson.build
src/freedreno/meson.build
src/freedreno/perfcntrs/fdperf.c
src/gallium/drivers/freedreno/freedreno_util.h