mesa-drm/tests/amdgpu
Alex Deucher 90b18af571 drm: add tests/amdgpu (v3)
This adds some basic unit tests for the new amdgpu driver.

v2: use common util_math.h
v3: implement suggestions from Emil
    replace malloc/memset with calloc
    make header guards all caps
    use posix_memalign rather than mem_align
    replace malloc with calloc for pm4 allocations
    make CU_SuiteInfo static
    fix Makefile.am
    fix fd numbering
    use drmGetVersion/drmFreeVersion rather than open coding it
    close fd, clean up CU registry on error

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2015-05-07 13:08:50 -04:00
..
amdgpu_test.c drm: add tests/amdgpu (v3) 2015-05-07 13:08:50 -04:00
amdgpu_test.h drm: add tests/amdgpu (v3) 2015-05-07 13:08:50 -04:00
basic_tests.c drm: add tests/amdgpu (v3) 2015-05-07 13:08:50 -04:00
bo_tests.c drm: add tests/amdgpu (v3) 2015-05-07 13:08:50 -04:00
cs_tests.c drm: add tests/amdgpu (v3) 2015-05-07 13:08:50 -04:00
Makefile.am drm: add tests/amdgpu (v3) 2015-05-07 13:08:50 -04:00
uvd_messages.h drm: add tests/amdgpu (v3) 2015-05-07 13:08:50 -04:00