[RFC PATCH v5 23/32] tests/kms_colorop: Set wide [13, 13] bracket for comparison on amdgpu
Harry Wentland
harry.wentland at amd.com
Mon Feb 26 21:14:07 UTC 2024
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 f0f4d83d8c8c..b7247983a4cf 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.44.0
More information about the igt-dev
mailing list