2015-03-31 12:24:23 -06:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# The following symbols (past the first five) are taken from the public headers.
|
|
|
|
# A list of the latter should be available Makefile.sources/LIBDRM_FREEDRENO_H_FILES
|
|
|
|
|
2018-02-19 08:13:15 -07:00
|
|
|
FUNCS=$($NM -D --format=bsd --defined-only ${1-.libs/libdrm_freedreno.so} | awk '{print $3}'| while read func; do
|
2015-03-31 12:24:23 -06:00
|
|
|
( grep -q "^$func$" || echo $func ) <<EOF
|
|
|
|
__bss_start
|
|
|
|
_edata
|
|
|
|
_end
|
|
|
|
_fini
|
|
|
|
_init
|
|
|
|
fd_bo_cpu_fini
|
|
|
|
fd_bo_cpu_prep
|
|
|
|
fd_bo_del
|
|
|
|
fd_bo_dmabuf
|
|
|
|
fd_bo_from_dmabuf
|
|
|
|
fd_bo_from_fbdev
|
|
|
|
fd_bo_from_handle
|
|
|
|
fd_bo_from_name
|
2018-03-06 08:37:55 -07:00
|
|
|
fd_bo_get_iova
|
2015-03-31 12:24:23 -06:00
|
|
|
fd_bo_get_name
|
|
|
|
fd_bo_handle
|
|
|
|
fd_bo_map
|
|
|
|
fd_bo_new
|
2018-03-06 08:37:55 -07:00
|
|
|
fd_bo_put_iova
|
2015-03-31 12:24:23 -06:00
|
|
|
fd_bo_ref
|
|
|
|
fd_bo_size
|
|
|
|
fd_device_del
|
2015-09-04 09:08:04 -06:00
|
|
|
fd_device_fd
|
2015-03-31 12:24:23 -06:00
|
|
|
fd_device_new
|
|
|
|
fd_device_new_dup
|
|
|
|
fd_device_ref
|
2016-07-21 08:54:49 -06:00
|
|
|
fd_device_version
|
2015-03-31 12:24:23 -06:00
|
|
|
fd_pipe_del
|
|
|
|
fd_pipe_get_param
|
|
|
|
fd_pipe_new
|
2017-11-07 04:21:32 -07:00
|
|
|
fd_pipe_new2
|
2018-05-09 05:40:29 -06:00
|
|
|
fd_pipe_ref
|
2015-03-31 12:24:23 -06:00
|
|
|
fd_pipe_wait
|
2015-08-18 08:53:36 -06:00
|
|
|
fd_pipe_wait_timeout
|
2016-07-21 08:54:49 -06:00
|
|
|
fd_ringbuffer_cmd_count
|
2015-03-31 12:24:23 -06:00
|
|
|
fd_ringbuffer_del
|
|
|
|
fd_ringbuffer_emit_reloc_ring
|
2016-07-21 08:54:49 -06:00
|
|
|
fd_ringbuffer_emit_reloc_ring_full
|
2015-03-31 12:24:23 -06:00
|
|
|
fd_ringbuffer_flush
|
2016-07-21 08:54:49 -06:00
|
|
|
fd_ringbuffer_grow
|
2015-03-31 12:24:23 -06:00
|
|
|
fd_ringbuffer_new
|
2018-07-22 09:44:15 -06:00
|
|
|
fd_ringbuffer_new_object
|
2015-03-31 12:24:23 -06:00
|
|
|
fd_ringbuffer_reloc
|
2016-11-09 07:02:09 -07:00
|
|
|
fd_ringbuffer_reloc2
|
2015-03-31 12:24:23 -06:00
|
|
|
fd_ringbuffer_reset
|
|
|
|
fd_ringbuffer_set_parent
|
2018-07-22 09:44:15 -06:00
|
|
|
fd_ringbuffer_size
|
2015-03-31 12:24:23 -06:00
|
|
|
fd_ringbuffer_timestamp
|
|
|
|
fd_ringmarker_del
|
|
|
|
fd_ringmarker_dwords
|
|
|
|
fd_ringmarker_flush
|
2016-11-14 11:23:17 -07:00
|
|
|
fd_ringbuffer_flush2
|
2015-03-31 12:24:23 -06:00
|
|
|
fd_ringmarker_mark
|
|
|
|
fd_ringmarker_new
|
|
|
|
EOF
|
|
|
|
done)
|
|
|
|
|
|
|
|
test ! -n "$FUNCS" || echo $FUNCS
|
|
|
|
test ! -n "$FUNCS"
|