diff options
Diffstat (limited to 'amdgpu/amdgpu-symbol-check')
-rwxr-xr-x | amdgpu/amdgpu-symbol-check | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/amdgpu/amdgpu-symbol-check b/amdgpu/amdgpu-symbol-check index 87f4fd2c..90b7a1d6 100755 --- a/amdgpu/amdgpu-symbol-check +++ b/amdgpu/amdgpu-symbol-check | |||
@@ -3,7 +3,7 @@ | |||
3 | # The following symbols (past the first five) are taken from the public headers. | 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 | 4 | # A list of the latter should be available Makefile.am/libdrm_amdgpuinclude_HEADERS |
5 | 5 | ||
6 | FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_amdgpu.so} | awk '{print $3}' | while read func; do | 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 | 7 | ( grep -q "^$func$" || echo $func ) <<EOF |
8 | __bss_start | 8 | __bss_start |
9 | _edata | 9 | _edata |
@@ -22,16 +22,34 @@ amdgpu_bo_list_update | |||
22 | amdgpu_bo_query_info | 22 | amdgpu_bo_query_info |
23 | amdgpu_bo_set_metadata | 23 | amdgpu_bo_set_metadata |
24 | amdgpu_bo_va_op | 24 | amdgpu_bo_va_op |
25 | amdgpu_bo_va_op_raw | ||
25 | amdgpu_bo_wait_for_idle | 26 | amdgpu_bo_wait_for_idle |
26 | amdgpu_create_bo_from_user_mem | 27 | amdgpu_create_bo_from_user_mem |
28 | amdgpu_cs_chunk_fence_info_to_data | ||
29 | amdgpu_cs_chunk_fence_to_dep | ||
27 | amdgpu_cs_create_semaphore | 30 | amdgpu_cs_create_semaphore |
31 | amdgpu_cs_create_syncobj | ||
32 | amdgpu_cs_create_syncobj2 | ||
28 | amdgpu_cs_ctx_create | 33 | amdgpu_cs_ctx_create |
34 | amdgpu_cs_ctx_create2 | ||
29 | amdgpu_cs_ctx_free | 35 | amdgpu_cs_ctx_free |
30 | amdgpu_cs_destroy_semaphore | 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 | ||
31 | amdgpu_cs_query_fence_status | 41 | amdgpu_cs_query_fence_status |
32 | amdgpu_cs_query_reset_state | 42 | amdgpu_cs_query_reset_state |
43 | amdgpu_query_sw_info | ||
33 | amdgpu_cs_signal_semaphore | 44 | amdgpu_cs_signal_semaphore |
34 | amdgpu_cs_submit | 45 | amdgpu_cs_submit |
46 | amdgpu_cs_submit_raw | ||
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 | ||
52 | amdgpu_cs_wait_fences | ||
35 | amdgpu_cs_wait_semaphore | 53 | amdgpu_cs_wait_semaphore |
36 | amdgpu_device_deinitialize | 54 | amdgpu_device_deinitialize |
37 | amdgpu_device_initialize | 55 | amdgpu_device_initialize |
@@ -45,10 +63,13 @@ amdgpu_query_heap_info | |||
45 | amdgpu_query_hw_ip_count | 63 | amdgpu_query_hw_ip_count |
46 | amdgpu_query_hw_ip_info | 64 | amdgpu_query_hw_ip_info |
47 | amdgpu_query_info | 65 | amdgpu_query_info |
66 | amdgpu_query_sensor_info | ||
48 | amdgpu_read_mm_registers | 67 | amdgpu_read_mm_registers |
49 | amdgpu_va_range_alloc | 68 | amdgpu_va_range_alloc |
50 | amdgpu_va_range_free | 69 | amdgpu_va_range_free |
51 | amdgpu_va_range_query | 70 | amdgpu_va_range_query |
71 | amdgpu_vm_reserve_vmid | ||
72 | amdgpu_vm_unreserve_vmid | ||
52 | EOF | 73 | EOF |
53 | done) | 74 | done) |
54 | 75 | ||