2019-11-26 19:09:48 -07:00
|
|
|
#!/bin/sh
|
2015-08-21 17:55:36 -06:00
|
|
|
|
2018-11-01 02:22:36 -06:00
|
|
|
set -u
|
|
|
|
|
2015-08-21 17:55:36 -06:00
|
|
|
# The following symbols (past the first five) are taken from the public headers.
|
|
|
|
# A list of the latter should be available Makefile.sources/LIBDRM_INTEL_H_FILES
|
|
|
|
|
2018-09-13 05:55:15 -06:00
|
|
|
FUNCS=$($NM -D --format=bsd --defined-only ${1-.libs/libdrm_intel.so} | awk '{print $3}' | while read func; do
|
2015-08-21 17:55:36 -06:00
|
|
|
( grep -q "^$func$" || echo $func ) <<EOF
|
|
|
|
__bss_start
|
|
|
|
_edata
|
|
|
|
_end
|
|
|
|
_fini
|
|
|
|
_init
|
|
|
|
drm_intel_bo_alloc
|
|
|
|
drm_intel_bo_alloc_for_render
|
|
|
|
drm_intel_bo_alloc_tiled
|
|
|
|
drm_intel_bo_alloc_userptr
|
|
|
|
drm_intel_bo_busy
|
|
|
|
drm_intel_bo_disable_reuse
|
|
|
|
drm_intel_bo_emit_reloc
|
|
|
|
drm_intel_bo_emit_reloc_fence
|
|
|
|
drm_intel_bo_exec
|
|
|
|
drm_intel_bo_fake_alloc_static
|
|
|
|
drm_intel_bo_fake_disable_backing_store
|
|
|
|
drm_intel_bo_flink
|
|
|
|
drm_intel_bo_gem_create_from_name
|
|
|
|
drm_intel_bo_gem_create_from_prime
|
|
|
|
drm_intel_bo_gem_export_to_prime
|
|
|
|
drm_intel_bo_get_subdata
|
|
|
|
drm_intel_bo_get_tiling
|
|
|
|
drm_intel_bo_is_reusable
|
|
|
|
drm_intel_bo_madvise
|
|
|
|
drm_intel_bo_map
|
|
|
|
drm_intel_bo_mrb_exec
|
|
|
|
drm_intel_bo_pin
|
|
|
|
drm_intel_bo_reference
|
|
|
|
drm_intel_bo_references
|
2016-03-20 04:19:44 -06:00
|
|
|
drm_intel_bo_set_softpin_offset
|
2015-08-21 17:55:36 -06:00
|
|
|
drm_intel_bo_set_tiling
|
|
|
|
drm_intel_bo_subdata
|
|
|
|
drm_intel_bo_unmap
|
|
|
|
drm_intel_bo_unpin
|
|
|
|
drm_intel_bo_unreference
|
2016-03-20 04:19:44 -06:00
|
|
|
drm_intel_bo_use_48b_address_range
|
2015-08-21 17:55:36 -06:00
|
|
|
drm_intel_bo_wait_rendering
|
|
|
|
drm_intel_bufmgr_check_aperture_space
|
|
|
|
drm_intel_bufmgr_destroy
|
|
|
|
drm_intel_bufmgr_fake_contended_lock_take
|
|
|
|
drm_intel_bufmgr_fake_evict_all
|
|
|
|
drm_intel_bufmgr_fake_init
|
|
|
|
drm_intel_bufmgr_fake_set_exec_callback
|
|
|
|
drm_intel_bufmgr_fake_set_fence_callback
|
|
|
|
drm_intel_bufmgr_fake_set_last_dispatch
|
2017-02-04 22:38:00 -07:00
|
|
|
drm_intel_bufmgr_gem_can_disable_implicit_sync
|
2015-08-21 17:55:36 -06:00
|
|
|
drm_intel_bufmgr_gem_enable_fenced_relocs
|
|
|
|
drm_intel_bufmgr_gem_enable_reuse
|
|
|
|
drm_intel_bufmgr_gem_get_devid
|
|
|
|
drm_intel_bufmgr_gem_init
|
|
|
|
drm_intel_bufmgr_gem_set_aub_annotations
|
|
|
|
drm_intel_bufmgr_gem_set_aub_dump
|
|
|
|
drm_intel_bufmgr_gem_set_aub_filename
|
|
|
|
drm_intel_bufmgr_gem_set_vma_cache_size
|
|
|
|
drm_intel_bufmgr_set_debug
|
|
|
|
drm_intel_decode
|
|
|
|
drm_intel_decode_context_alloc
|
|
|
|
drm_intel_decode_context_free
|
|
|
|
drm_intel_decode_set_batch_pointer
|
|
|
|
drm_intel_decode_set_dump_past_end
|
|
|
|
drm_intel_decode_set_head_tail
|
|
|
|
drm_intel_decode_set_output_file
|
|
|
|
drm_intel_gem_bo_aub_dump_bmp
|
|
|
|
drm_intel_gem_bo_clear_relocs
|
|
|
|
drm_intel_gem_bo_context_exec
|
2017-02-04 22:38:00 -07:00
|
|
|
drm_intel_gem_bo_disable_implicit_sync
|
|
|
|
drm_intel_gem_bo_enable_implicit_sync
|
|
|
|
drm_intel_gem_bo_fence_exec
|
2015-08-21 17:55:36 -06:00
|
|
|
drm_intel_gem_bo_get_reloc_count
|
2016-11-18 22:36:14 -07:00
|
|
|
drm_intel_gem_bo_map__cpu
|
|
|
|
drm_intel_gem_bo_map__gtt
|
|
|
|
drm_intel_gem_bo_map__wc
|
2015-08-21 17:55:36 -06:00
|
|
|
drm_intel_gem_bo_map_gtt
|
|
|
|
drm_intel_gem_bo_map_unsynchronized
|
|
|
|
drm_intel_gem_bo_start_gtt_access
|
|
|
|
drm_intel_gem_bo_unmap_gtt
|
|
|
|
drm_intel_gem_bo_wait
|
|
|
|
drm_intel_gem_context_create
|
|
|
|
drm_intel_gem_context_destroy
|
2017-02-04 22:38:00 -07:00
|
|
|
drm_intel_gem_context_get_id
|
2015-08-21 17:55:36 -06:00
|
|
|
drm_intel_get_aperture_sizes
|
|
|
|
drm_intel_get_eu_total
|
2016-10-16 00:01:17 -06:00
|
|
|
drm_intel_get_min_eu_in_pool
|
2015-08-21 17:55:36 -06:00
|
|
|
drm_intel_get_pipe_from_crtc_id
|
2016-10-16 00:01:17 -06:00
|
|
|
drm_intel_get_pooled_eu
|
2015-08-21 17:55:36 -06:00
|
|
|
drm_intel_get_reset_stats
|
|
|
|
drm_intel_get_subslice_total
|
|
|
|
drm_intel_reg_read
|
|
|
|
EOF
|
|
|
|
done)
|
|
|
|
|
|
|
|
test ! -n "$FUNCS" || echo $FUNCS
|
|
|
|
test ! -n "$FUNCS"
|