[i-g-t V6 23/41] tests/kms_colorop: Set wide [13, 13] bracket for comparison on amdgpu
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Wed Apr 24 10:26:31 UTC 2024
From: Harry Wentland <harry.wentland at amd.com>
Setting a fairly wide delta for now, to pass tests. Note that since
tests run with 10 bpc surfaces on amdgpu a wider bracket isn't
unreasonable. Still, this should be investigated to reduce the
delta.
Signed-off-by: Alex Hung <alex.hung at amd.com>
Signed-off-by: Harry Wentland <harry.wentland at amd.com>
Co-developed-by: Harry Wentland <harry.wentland at amd.com>
---
tests/kms_colorop.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/kms_colorop.c b/tests/kms_colorop.c
index f0f4d83d8..b7247983a 100644
--- a/tests/kms_colorop.c
+++ b/tests/kms_colorop.c
@@ -354,6 +354,8 @@ static bool compare_with_bracket(igt_fb_t *in, igt_fb_t *out)
{
if (is_vkms_device(in->fd))
return igt_cmp_fb_pixels(in, out, 1, 1);
+ if (is_amdgpu_device(in->fd))
+ return igt_cmp_fb_pixels(in, out, 13, 13);
else
/*
* By default we'll look for a [0, 0] bracket. We can then
--
2.43.2
More information about the Intel-gfx-trybot
mailing list