mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
etnaviv: drm: Use mesa's ARRAY_SIZE
Signed-off-by: Guido Günther <guido.gunther@puri.sm> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
This commit is contained in:
parent
e87d128b52
commit
92fc14321f
1 changed files with 1 additions and 1 deletions
|
|
@ -41,6 +41,7 @@
|
|||
#include <xf86drm.h>
|
||||
|
||||
#include "util/list.h"
|
||||
#include "util/macros.h"
|
||||
#include "util/u_atomic.h"
|
||||
|
||||
#include "etnaviv_drmif.h"
|
||||
|
|
@ -176,7 +177,6 @@ struct etna_perfmon_signal
|
|||
};
|
||||
|
||||
#define ALIGN(v,a) (((v) + (a) - 1) & ~((a) - 1))
|
||||
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
|
||||
|
||||
#define enable_debug 1 /* TODO make dynamic */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue