drm: consolidate common list implementations (v2)

Graphics / Mesa 3D Graphics Library / libdrm - Alex Deucher [amd.com] - 5 August 2015 12:47 UTC

This is used by radeon and freedreno and will be used by amdgpu. I looked at switching to libdrm_lists.h, but it's pretty horrible. E.g., DRMLISTFOREACHENTRYSAFE.

v2: remove missed list.h from tests/radeon/Makefile.am

4ee0fa2 drm: consolidate common list implementations (v2)
Makefile.sources | 3 +-
freedreno/Makefile.sources | 3 +-
freedreno/freedreno_priv.h | 2 +-
freedreno/list.h | 137 --------------------------------------------
tests/radeon/Makefile.am | 1 -
tests/radeon/list.h | 137 --------------------------------------------
tests/radeon/rbo.h | 2 +-
util_double_list.h | 137 ++++++++++++++++++++++++++++++++++++++++++++
8 files changed, 142 insertions(+), 280 deletions(-)

Upstream: cgit.freedesktop.org


  • Share