[igt-dev] [PATCH RESEND i-g-t 8/8] igt: tests: chamelium: Add NV12 format
Paul Kocialkowski
paul.kocialkowski at bootlin.com
Fri Dec 7 09:18:01 UTC 2018
Hi,
On Tue, 2018-12-04 at 11:25 +0100, Maxime Ripard wrote:
> The NV12 is a YUV format that are currently supported in IGT.
>
> We'll want to test those formats in addition to the RGB formats, so
> let's add some subtests. One thing worth noting is some hardware isn't
> able to output a pixel-perfect image, so we do the same kind of
> comparison than for VGA.
>
> Signed-off-by: Maxime Ripard <maxime.ripard at bootlin.com>
> ---
> tests/kms_chamelium.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/tests/kms_chamelium.c b/tests/kms_chamelium.c
> index 80b279c4f1c2..8a9f6bfe9235 100644
> --- a/tests/kms_chamelium.c
> +++ b/tests/kms_chamelium.c
> @@ -976,6 +976,10 @@ igt_main
> test_display_one_mode(&data, port, DRM_FORMAT_XRGB1555,
> CHAMELIUM_CHECK_CRC, 1);
>
> + connector_subtest("hdmi-crc-nv12", HDMIA)
Well, since the test does not rely on a CRC but on an error-trend
comparison, maybe it should be named differently?
Cheers,
Paul
> + test_display_one_mode(&data, port, DRM_FORMAT_NV12,
> + CHAMELIUM_CHECK_ANALOG, 1);
> +
> connector_subtest("hdmi-frame-dump", HDMIA)
> test_display_frame_dump(&data, port);
> }
--
Paul Kocialkowski, Bootlin (formerly Free Electrons)
Embedded Linux and kernel engineering
https://bootlin.com
More information about the igt-dev
mailing list