3 # The following symbols (past the first five) are taken from the public headers.
4 # A list of the latter should be available Makefile.am/libdrm_amdgpuinclude_HEADERS
6 FUNCS=$($NM -D --format=bsd --defined-only ${1-.libs/libdrm_amdgpu.so} | awk '{print $3}' | while read func; do
7 ( grep -q "^$func$" || echo $func ) <<EOF
20 amdgpu_bo_list_destroy
23 amdgpu_bo_set_metadata
26 amdgpu_bo_wait_for_idle
27 amdgpu_create_bo_from_user_mem
28 amdgpu_cs_chunk_fence_info_to_data
29 amdgpu_cs_chunk_fence_to_dep
30 amdgpu_cs_create_semaphore
31 amdgpu_cs_create_syncobj
32 amdgpu_cs_create_syncobj2
36 amdgpu_cs_destroy_semaphore
37 amdgpu_cs_destroy_syncobj
38 amdgpu_cs_export_syncobj
39 amdgpu_cs_fence_to_handle
40 amdgpu_cs_import_syncobj
41 amdgpu_cs_query_fence_status
42 amdgpu_cs_query_reset_state
44 amdgpu_cs_signal_semaphore
47 amdgpu_cs_syncobj_export_sync_file
48 amdgpu_cs_syncobj_import_sync_file
49 amdgpu_cs_syncobj_reset
50 amdgpu_cs_syncobj_signal
51 amdgpu_cs_syncobj_wait
53 amdgpu_cs_wait_semaphore
54 amdgpu_device_deinitialize
55 amdgpu_device_initialize
56 amdgpu_find_bo_by_cpu_mapping
57 amdgpu_get_marketing_name
58 amdgpu_query_buffer_size_alignment
59 amdgpu_query_crtc_from_id
60 amdgpu_query_firmware_version
63 amdgpu_query_heap_info
64 amdgpu_query_hw_ip_count
65 amdgpu_query_hw_ip_info
67 amdgpu_query_sensor_info
68 amdgpu_read_mm_registers
72 amdgpu_vm_reserve_vmid
73 amdgpu_vm_unreserve_vmid
77 test ! -n "$FUNCS" || echo $FUNCS