Home | History | Annotate | Download | only in radeon
      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_RADEON_H_FILES
      5 
      6 FUNCS=$($NM -D --format=bsd --defined-only ${1-.libs/libdrm_radeon.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 radeon_bo_debug
     14 radeon_bo_get_handle
     15 radeon_bo_get_src_domain
     16 radeon_bo_get_tiling
     17 radeon_bo_is_busy
     18 radeon_bo_is_referenced_by_cs
     19 radeon_bo_is_static
     20 radeon_bo_manager_gem_ctor
     21 radeon_bo_manager_gem_dtor
     22 radeon_bo_map
     23 radeon_bo_open
     24 radeon_bo_ref
     25 radeon_bo_set_tiling
     26 radeon_bo_unmap
     27 radeon_bo_unref
     28 radeon_bo_wait
     29 radeon_cs_begin
     30 radeon_cs_create
     31 radeon_cs_destroy
     32 radeon_cs_emit
     33 radeon_cs_end
     34 radeon_cs_erase
     35 radeon_cs_get_id
     36 radeon_cs_manager_gem_ctor
     37 radeon_cs_manager_gem_dtor
     38 radeon_cs_need_flush
     39 radeon_cs_print
     40 radeon_cs_set_limit
     41 radeon_cs_space_add_persistent_bo
     42 radeon_cs_space_check
     43 radeon_cs_space_check_with_bo
     44 radeon_cs_space_reset_bos
     45 radeon_cs_space_set_flush
     46 radeon_cs_write_reloc
     47 radeon_gem_bo_open_prime
     48 radeon_gem_get_kernel_name
     49 radeon_gem_get_reloc_in_cs
     50 radeon_gem_name_bo
     51 radeon_gem_prime_share_bo
     52 radeon_gem_set_domain
     53 radeon_surface_best
     54 radeon_surface_init
     55 radeon_surface_manager_free
     56 radeon_surface_manager_new
     57 EOF
     58 done)
     59 
     60 test ! -n "$FUNCS" || echo $FUNCS
     61 test ! -n "$FUNCS"
     62