Re: [PATCH libdrm v2] amdgpu: Add memory over allocation test.

2017-11-14 Thread Christian König
Am 14.11.2017 um 13:53 schrieb Andrey Grodzovsky: On 11/14/2017 03:44 AM, Christian König wrote: Am 13.11.2017 um 18:01 schrieb Andrey Grodzovsky: 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

Re: [PATCH libdrm v2] amdgpu: Add memory over allocation test.

2017-11-14 Thread Andrey Grodzovsky
On 11/14/2017 03:44 AM, Christian König wrote: Am 13.11.2017 um 18:01 schrieb Andrey Grodzovsky: 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

Re: [PATCH libdrm v2] amdgpu: Add memory over allocation test.

2017-11-14 Thread Christian König
Am 13.11.2017 um 18:01 schrieb Andrey Grodzovsky: 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

[PATCH libdrm v2] amdgpu: Add memory over allocation test.

2017-11-13 Thread Andrey Grodzovsky
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 --- tests/amdgpu/bo_tests.c