diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-04-20 12:15:23 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-08-05 13:47:48 -0400 |
commit | 3c5fe78801dbadc82cc25f4a63a983fea15d938b (patch) | |
tree | e97fd50eab3dedd713e6aaf8454984072a933620 /amdgpu/amdgpu_internal.h | |
parent | 09361395363805b5892d48d7bc10cf717e4d2927 (diff) | |
download | libdrm-3c5fe78801dbadc82cc25f4a63a983fea15d938b.tar.gz libdrm-3c5fe78801dbadc82cc25f4a63a983fea15d938b.tar.bz2 libdrm-3c5fe78801dbadc82cc25f4a63a983fea15d938b.zip |
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>
Diffstat (limited to 'amdgpu/amdgpu_internal.h')
0 files changed, 0 insertions, 0 deletions