[libdrm 2.4.83, Linux 4.9.43] Test: Command submission Test (Multi-Fence) ...FAILED

Paul Menzel pmenzel at molgen.mpg.de
Fri Sep 8 14:41:21 UTC 2017


Dear AMDGPU folks,


Using Linux 4.9.43, libdrm 2.4.83, and running the libdrm tests from 
master, I get one failure.

```
$ git log --oneline -1
d55d0804 (HEAD -> master, origin/master, origin/HEAD) amdgpu: Do not 
write beyond allocated memory when parsing ids
$ sudo tests/amdgpu/amdgpu_test -p
Driver name: amdgpu, Date: 20150101, Description: AMD GPU.
Devices:
PCI  domain:0000 bus:01 device:00 function:0 vendor_id:1002 
device_id:6610 subvendor_id:1028 subdevice_id:0081 revision_id:81
$ sudo tests/amdgpu/amdgpu_test


      CUnit - A unit testing framework for C - Version 2.1-3
      http://cunit.sourceforge.net/


Suite: Basic Tests
   Test: Query Info Test ...passed
   Test: Memory alloc Test ...passed
   Test: Userptr Test ...passed
   Test: Command submission Test (GFX) ...passed
   Test: Command submission Test (Compute) ...passed
   Test: Command submission Test (Multi-Fence) ...FAILED
     1. basic_tests.c:1319  - CU_ASSERT_EQUAL(r,0)
     2. basic_tests.c:1319  - CU_ASSERT_EQUAL(r,0)
   Test: Command submission Test (SDMA) ...passed
   Test: SW semaphore Test ...passed
Suite: BO Tests
   Test: Export/Import ...passed
   Test: CPU map/unmap ...passed

The ASIC NOT support UVD, all sub-tests will pass

Suite: CS Tests
   Test: UVD create ...passed
   Test: UVD decode ...passed
   Test: UVD destroy ...passed

The ASIC NOT support VCE, all sub-tests will pass

Suite: VCE Tests
   Test: VCE create ...passed
   Test: VCE encode ...passed
   Test: VCE destroy ...passed

The ASIC NOT support VCN, all sub-tests will pass

Suite: VCN Tests
   Test: VCN DEC create ...passed
   Test: VCN DEC decode ...passed
   Test: VCN DEC destroy ...passed
   Test: VCN ENC create ...passed
   Test: VCN ENC decode ...passed
   Test: VCN ENC destroy ...passed

The ASIC NOT support UVD ENC, all sub-tests will pass

Suite: UVD ENC Tests
   Test: UVD ENC create ...passed
   Test: UVD ENC session init ...passed
   Test: UVD ENC encode ...passed
   Test: UVD ENC destroy ...passed

Run Summary:    Type   Total     Ran  Passed Failed Inactive
               suites       6       6     n/a      0        0
                tests      26      26      25      1        0
              asserts 1580267 1580267 1580265      2      n/a

Elapsed time =    0.062 seconds
```

Is there anything, I should do about that?


Kind regards,

Paul


More information about the amd-gfx mailing list