[PATCH 1/4] drm: consolidate common list implementations

2015-04-29 Thread Emil Velikov
On 24/04/15 15:13, Alex Deucher wrote: > 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. > It does have one advantage though - it's typeless. Thus it allows nouveau and intel to

[PATCH 1/4] drm: consolidate common list implementations

2015-04-24 Thread Alex Deucher
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. Signed-off-by: Alex Deucher --- Makefile.sources | 3 +- freedreno/Makefile.sources | 3 +- freedreno/freedreno_priv.