1 #!/bin/bash 2 3 # The following symbols (past the first five) are taken from the public headers. 4 # A list of the latter should be available Makefile.sources/LIBDRM_INTEL_H_FILES 5 6 FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_intel.so} | awk '{print $3}' | while read func; do 7 ( grep -q "^$func$" || echo $func ) <<EOF 8 __bss_start 9 _edata 10 _end 11 _fini 12 _init 13 drm_intel_bo_alloc 14 drm_intel_bo_alloc_for_render 15 drm_intel_bo_alloc_tiled 16 drm_intel_bo_alloc_userptr 17 drm_intel_bo_busy 18 drm_intel_bo_disable_reuse 19 drm_intel_bo_emit_reloc 20 drm_intel_bo_emit_reloc_fence 21 drm_intel_bo_exec 22 drm_intel_bo_fake_alloc_static 23 drm_intel_bo_fake_disable_backing_store 24 drm_intel_bo_flink 25 drm_intel_bo_gem_create_from_name 26 drm_intel_bo_gem_create_from_prime 27 drm_intel_bo_gem_export_to_prime 28 drm_intel_bo_get_subdata 29 drm_intel_bo_get_tiling 30 drm_intel_bo_is_reusable 31 drm_intel_bo_madvise 32 drm_intel_bo_map 33 drm_intel_bo_mrb_exec 34 drm_intel_bo_pin 35 drm_intel_bo_reference 36 drm_intel_bo_references 37 drm_intel_bo_set_softpin_offset 38 drm_intel_bo_set_tiling 39 drm_intel_bo_subdata 40 drm_intel_bo_unmap 41 drm_intel_bo_unpin 42 drm_intel_bo_unreference 43 drm_intel_bo_use_48b_address_range 44 drm_intel_bo_wait_rendering 45 drm_intel_bufmgr_check_aperture_space 46 drm_intel_bufmgr_destroy 47 drm_intel_bufmgr_fake_contended_lock_take 48 drm_intel_bufmgr_fake_evict_all 49 drm_intel_bufmgr_fake_init 50 drm_intel_bufmgr_fake_set_exec_callback 51 drm_intel_bufmgr_fake_set_fence_callback 52 drm_intel_bufmgr_fake_set_last_dispatch 53 drm_intel_bufmgr_gem_enable_fenced_relocs 54 drm_intel_bufmgr_gem_enable_reuse 55 drm_intel_bufmgr_gem_get_devid 56 drm_intel_bufmgr_gem_init 57 drm_intel_bufmgr_gem_set_aub_annotations 58 drm_intel_bufmgr_gem_set_aub_dump 59 drm_intel_bufmgr_gem_set_aub_filename 60 drm_intel_bufmgr_gem_set_vma_cache_size 61 drm_intel_bufmgr_set_debug 62 drm_intel_decode 63 drm_intel_decode_context_alloc 64 drm_intel_decode_context_free 65 drm_intel_decode_set_batch_pointer 66 drm_intel_decode_set_dump_past_end 67 drm_intel_decode_set_head_tail 68 drm_intel_decode_set_output_file 69 drm_intel_gem_bo_aub_dump_bmp 70 drm_intel_gem_bo_clear_relocs 71 drm_intel_gem_bo_context_exec 72 drm_intel_gem_bo_get_reloc_count 73 drm_intel_gem_bo_map_gtt 74 drm_intel_gem_bo_map_unsynchronized 75 drm_intel_gem_bo_start_gtt_access 76 drm_intel_gem_bo_unmap_gtt 77 drm_intel_gem_bo_wait 78 drm_intel_gem_context_create 79 drm_intel_gem_context_destroy 80 drm_intel_get_aperture_sizes 81 drm_intel_get_eu_total 82 drm_intel_get_pipe_from_crtc_id 83 drm_intel_get_reset_stats 84 drm_intel_get_subslice_total 85 drm_intel_reg_read 86 EOF 87 done) 88 89 test ! -n "$FUNCS" || echo $FUNCS 90 test ! -n "$FUNCS" 91