diff options
author | Alex Deucher | 2015-04-20 11:15:23 -0500 |
---|---|---|
committer | Alex Deucher | 2015-08-05 12:47:48 -0500 |
commit | 3c5fe78801dbadc82cc25f4a63a983fea15d938b (patch) | |
tree | e97fd50eab3dedd713e6aaf8454984072a933620 /amdgpu/amdgpu_internal.h | |
parent | 09361395363805b5892d48d7bc10cf717e4d2927 (diff) | |
download | external-libdrm-3c5fe78801dbadc82cc25f4a63a983fea15d938b.tar.gz external-libdrm-3c5fe78801dbadc82cc25f4a63a983fea15d938b.tar.xz external-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