mesa/src/util
Alyssa Rosenzweig 8a1ab9a166 util: Add a drm_find_modifier helper
This function is replicated across vc4/v3d/freedreno and is needed in
Panfrost; let's make this shared code.

v2: Supply generic util_array_contains_u64 version (Eric Engestrom). Add
missing stdbool.h include (Eric Anholt). Mark inline (Christian
Gmeiner).

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
2019-03-14 22:41:08 +00:00
..
sha1
tests util/tests: compile to something sensible in release builds 2019-02-14 12:52:34 +00:00
xmlpool radeonsi: add driconf option radeonsi_enable_nir 2019-02-19 17:59:17 -05:00
.gitignore
00-mesa-defaults.conf driconf: add DTD to allow the drirc xml (00-mesa-defaults.conf) to be validated 2019-02-28 17:30:44 +00:00
Android.mk util/gen_xmlpool: Don't write via shell redirection 2018-10-31 16:37:46 -07:00
bigmath.h util: Add a simple big math library 2018-10-10 13:13:12 -05:00
bitscan.c
bitscan.h
bitset.h util: use *unsigned* ints for bit operations 2018-10-23 11:44:02 +01:00
build_id.c
build_id.h
crc32.c
crc32.h
dag.c util: Add a DAG datastructure. 2019-03-11 13:13:52 -07:00
dag.h util: Add a DAG datastructure. 2019-03-11 13:13:52 -07:00
debug.c nir: check NIR_SKIP to skip passes by name 2019-01-18 12:31:49 -08:00
debug.h nir: check NIR_SKIP to skip passes by name 2019-01-18 12:31:49 -08:00
disk_cache.c util/u_queue: add UTIL_QUEUE_INIT_SET_FULL_THREAD_AFFINITY 2018-10-06 22:05:58 -04:00
disk_cache.h util: Change remaining uint32 cache ids to sha1 2018-10-26 14:49:22 +11:00
fast_idiv_by_const.c util: Add power-of-two divisor support to compute_fast_udiv_info 2018-10-10 13:13:12 -05:00
fast_idiv_by_const.h util: document a limitation of util_fast_udiv32 2018-10-17 12:27:58 -04:00
format_r11g11b10f.h
format_rgb9e5.h
format_srgb.h
format_srgb.py
futex.h util: emulate futex on FreeBSD using umtx 2019-03-03 19:48:49 +00:00
half_float.c
half_float.h
hash_table.c util: Helper to create sets and hashes with pointer keys 2019-01-14 10:49:21 -08:00
hash_table.h util: Helper to create sets and hashes with pointer keys 2019-01-14 10:49:21 -08:00
list.h
macros.h util: move BITFIELD macros to util/macros.h 2019-02-08 02:54:56 +00:00
Makefile.am autotools: library-dependency when no sse and 32-bit 2018-11-05 13:21:49 +01:00
Makefile.sources util: Add a DAG datastructure. 2019-03-11 13:13:52 -07:00
merge_driinfo.py
mesa-sha1.c
mesa-sha1.h
mesa-sha1_test.c
meson.build util: Add a DAG datastructure. 2019-03-11 13:13:52 -07:00
os_memory.h util: promote u_memory to src/util 2018-11-27 15:44:02 -05:00
os_memory_aligned.h util: promote u_memory to src/util 2018-11-27 15:44:02 -05:00
os_memory_debug.h util: promote u_memory to src/util 2018-11-27 15:44:02 -05:00
os_memory_stdc.h util: promote u_memory to src/util 2018-11-27 15:44:02 -05:00
os_misc.c util/os_misc: Add check for PIPE_OS_HURD 2019-02-27 14:56:48 +00:00
os_misc.h util: Move os_misc to util 2018-10-30 14:32:52 -07:00
os_time.c
os_time.h
ralloc.c util/ralloc: Make sizeof(linear_header) a multiple of 8 2018-11-12 20:54:49 -08:00
ralloc.h
rand_xor.c
rand_xor.h
rb_tree.c
rb_tree.h
register_allocate.c
register_allocate.h
rgtc.c
rgtc.h
roundeven_test.c
rounding.h
SConscript
set.c util: Helper to create sets and hashes with pointer keys 2019-01-14 10:49:21 -08:00
set.h util: Helper to create sets and hashes with pointer keys 2019-01-14 10:49:21 -08:00
simple_list.h
simple_mtx.h
slab.c util/slab: Rename slab_mempool typed parameters to mempool 2018-12-14 07:36:05 -08:00
slab.h util/slab: Rename slab_mempool typed parameters to mempool 2018-12-14 07:36:05 -08:00
string_buffer.c
string_buffer.h
strndup.h
strtod.c
strtod.h
texcompress_rgtc_tmp.h
u_atomic.c
u_atomic.h
u_atomic_test.c
u_cpu_detect.c gallium: Enable ASIMD/NEON on aarch64. 2019-01-24 11:07:24 -08:00
u_cpu_detect.h util: move u_cpu_detect to util 2018-10-30 14:32:52 -07:00
u_debug.c util: Move u_debug to utils 2018-10-30 14:32:52 -07:00
u_debug.h util: Move u_debug to utils 2018-10-30 14:32:52 -07:00
u_drm.h util: Add a drm_find_modifier helper 2019-03-14 22:41:08 +00:00
u_dynarray.h util: s/0/NULL/ for pointer 2018-10-30 18:10:59 +00:00
u_endian.h
u_math.c util: fix a warning when building against clang7 headers 2019-02-27 08:57:41 +02:00
u_math.h
u_memory.h util: promote u_memory to src/util 2018-11-27 15:44:02 -05:00
u_process.c util: Get program name based on path when possible 2018-12-28 15:41:01 +01:00
u_process.h
u_queue.c util/u_queue: add UTIL_QUEUE_INIT_SET_FULL_THREAD_AFFINITY 2018-10-06 22:05:58 -04:00
u_queue.h util/u_queue: add UTIL_QUEUE_INIT_SET_FULL_THREAD_AFFINITY 2018-10-06 22:05:58 -04:00
u_string.h
u_thread.h util: Don't block SIGSYS for new threads 2019-02-26 19:39:14 +01:00
u_vector.c
u_vector.h
vma.c
vma.h
xmlconfig.c util: #define PATH_MAX when undefined (eg. Hurd) 2019-03-05 12:27:35 +00:00
xmlconfig.h
xmlpool.h driinfo: add DTD to allow the xml to be validated 2019-02-26 12:48:28 +00:00