aboutsummaryrefslogtreecommitdiffstats
path: root/tests/amdgpu/amdgpu_test.c
diff options
context:
space:
mode:
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>2017-11-13 12:01:42 -0500
committerChristian König <christian.koenig@amd.com>2017-11-14 14:26:25 +0100
commit9ad9b7e91ee8af621bb80bb80ecd0f76eba7c51c (patch)
tree165cb471720c314f64111361a908f2944c26a0f2 /tests/amdgpu/amdgpu_test.c
parent818a0d4245801edd9a85ea95429bac4eb6ec2ef8 (diff)
downloadexternal_libdrm-9ad9b7e91ee8af621bb80bb80ecd0f76eba7c51c.tar.gz
external_libdrm-9ad9b7e91ee8af621bb80bb80ecd0f76eba7c51c.tar.bz2
external_libdrm-9ad9b7e91ee8af621bb80bb80ecd0f76eba7c51c.zip
amdgpu: Add memory over allocation test.
Allocates 1 TB of memory. Test is disabled by default since it's triggers OOM killer. v2: FIx the test to only alloc the BO and assert if return value not equal to -ENOMEM and remove test disable on start. Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'tests/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions