diff options
author | Leo Liu <leo.liu@amd.com> | 2017-04-03 14:59:15 -0400 |
---|---|---|
committer | Leo Liu <leo.liu@amd.com> | 2017-06-05 10:41:13 -0400 |
commit | 01096f2122234c48c959b5bcf451873de459bc47 (patch) | |
tree | 9e47a4c11a945154b83a538af965da8c47412d75 /tests/amdgpu/cs_tests.c | |
parent | 1851f1b57a96547d5b8f8b651768561ee6927b16 (diff) | |
download | external_libdrm-01096f2122234c48c959b5bcf451873de459bc47.tar.gz external_libdrm-01096f2122234c48c959b5bcf451873de459bc47.tar.bz2 external_libdrm-01096f2122234c48c959b5bcf451873de459bc47.zip |
tests/amdgpu: move decode sum to common
Signed-off-by: Leo Liu <leo.liu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'tests/amdgpu/cs_tests.c')
-rw-r--r-- | tests/amdgpu/cs_tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/amdgpu/cs_tests.c b/tests/amdgpu/cs_tests.c index fe78326f..081ec9c2 100644 --- a/tests/amdgpu/cs_tests.c +++ b/tests/amdgpu/cs_tests.c @@ -378,7 +378,7 @@ static void amdgpu_cs_uvd_decode(void) /* TODO: use a real CRC32 */ for (i = 0, sum = 0; i < dt_size; ++i) sum += ptr[i]; - CU_ASSERT_EQUAL(sum, 0x20345d8); + CU_ASSERT_EQUAL(sum, SUM_DECODE); r = amdgpu_bo_cpu_unmap(buf_handle); CU_ASSERT_EQUAL(r, 0); |