OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests/amdgpu: move decode sum to common
[android-x86/external-libdrm.git]
/
tests
/
amdgpu
/
cs_tests.c
diff --git
a/tests/amdgpu/cs_tests.c
b/tests/amdgpu/cs_tests.c
index
fe78326
..
081ec9c
100644
(file)
--- 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);