summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Prosyak <vitaly.prosyak@amd.com>2024-05-07 15:48:03 -0400
committerVitaly Prosyak <vitaly.prosyak@amd.com>2024-05-08 10:10:19 -0400
commite2a63accde6e8f3196013ab4809bf07f343fcf1e (patch)
tree8ff7e73f442bddf92a5d8bdbe175458102d4a063
parent27f76cd9412c03b38148ec12405be58087c227bb (diff)
tests/amdgpu/vce_enc: disable motion vector test
Temporarily disable verification due to ongoing investigation to figure out the root cause of the error. The comparison would continue, but assert is commented out. Cc: Leo Liu <leo.liu@amd.com> Cc: Ruijing Dong <ruijing.dong@amd.com> Cc: Michael Strawbridge <michael.strawbridge@amd.com> Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com>
-rw-r--r--tests/amdgpu/amd_vce_enc.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/amdgpu/amd_vce_enc.c b/tests/amdgpu/amd_vce_enc.c
index 842647e36..d2cf7e5ae 100644
--- a/tests/amdgpu/amd_vce_enc.c
+++ b/tests/amdgpu/amd_vce_enc.c
@@ -433,7 +433,7 @@ static void amdgpu_cs_vce_mv(amdgpu_device_handle device_handle,
static void check_mv_result(struct amdgpu_vce_encode *enc)
{
uint64_t sum;
- uint32_t s = 140790;
+ /* uint32_t s = 140790;*/
int j, r;
r = amdgpu_bo_cpu_map(enc->fb[0].handle, (void **)&enc->fb[0].ptr);
@@ -444,7 +444,13 @@ static void check_mv_result(struct amdgpu_vce_encode *enc)
igt_assert_eq(r, 0);
for (j = 0, sum = 0; j < enc->mvbuf_size; ++j)
sum += enc->mvb.ptr[j];
- igt_assert_eq(sum, s);
+ /*
+ * Temporarily disable verification due to ongoing investigation to figure out the root cause of the error.
+ * The comparison would continue, but assert is commented out.
+ * 128738 != 140790
+ * 131740 != 140790
+ */
+ /* igt_assert_eq(sum, s); */
r = amdgpu_bo_cpu_unmap(enc->mvb.handle);
igt_assert_eq(r, 0);
}