[PATCH V7 23/37] tests/kms_colorop: Set wide [13, 13] bracket for comparison on amdgpu
Alex Hung
alex.hung at amd.com
Wed Mar 26 23:35:55 UTC 2025
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 3fa799e7c..659fe63a5 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.0
More information about the igt-dev
mailing list