[PATCH libdrm] test/amdgpu: disable bo eviction test by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 01.03.2018 um 11:10 schrieb Chunming Zhou:
> if some system hase no swap space and memory is less, than the test
> could fail.
> And bo eviction test takes much more time in some system, which effects
> automation test result and efficiency.
> So disable it by default now, only be used by developer manually.
>
> Signed-off-by: Chunming Zhou <david1.zhou at amd.com>

Acked-by: Christian König <christian.koenig at amd.com>

> ---
>   tests/amdgpu/amdgpu_test.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/tests/amdgpu/amdgpu_test.c b/tests/amdgpu/amdgpu_test.c
> index 4f766aaf..35cb37a4 100644
> --- a/tests/amdgpu/amdgpu_test.c
> +++ b/tests/amdgpu/amdgpu_test.c
> @@ -432,6 +432,8 @@ static void amdgpu_disable_suits()
>   	if (amdgpu_set_test_active(BO_TESTS_STR, "Metadata", CU_FALSE))
>   		fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg());
>   
> +	if (amdgpu_set_test_active(BASIC_TESTS_STR, "bo eviction Test", CU_FALSE))
> +		fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg());
>   
>   	/* This test was ran on GFX8 and GFX9 only */
>   	if (family_id < AMDGPU_FAMILY_VI || family_id > AMDGPU_FAMILY_RV)



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux