drm-tests: Accounts for tolerance in RGB values

This CL adds a tolerance by 1 for RGB values. With the tolerance, the
test should still be able to catch if the driver fails to convert from
YUV to RGB.

BUG: b:279480657
TEST: emerge-$BOARD drm-tests and cros deploy to an asurada DUT
Change-Id: Ida1a7149311bd7d6e81f91517393207042247154
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/drm-tests/+/4495802
Tested-by: Miguel Casas-Sanchez <mcasas@chromium.org>
Commit-Queue: Hang Nguyen <hnt@chromium.org>
Reviewed-by: Miguel Casas-Sanchez <mcasas@chromium.org>
Reviewed-by: Andres Calderon Jaramillo <andrescj@google.com>
1 file changed