summaryrefslogtreecommitdiff
path: root/intel/intel-symbol-check
blob: c555e6daea86270a677c862041eae07069b7945a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#!/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_INTEL_H_FILES

FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_intel.so} | awk '{print $3}' | while read func; do
( 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
drm_intel_bo_set_tiling
drm_intel_bo_subdata
drm_intel_bo_unmap
drm_intel_bo_unpin
drm_intel_bo_unreference
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
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
drm_intel_gem_bo_get_reloc_count
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
drm_intel_get_aperture_sizes
drm_intel_get_eu_total
drm_intel_get_pipe_from_crtc_id
drm_intel_get_reset_stats
drm_intel_get_subslice_total
drm_intel_reg_read
EOF
done)

test ! -n "$FUNCS" || echo $FUNCS
test ! -n "$FUNCS"