From 0b381c7d1067a4fe520b72d4d391d4920834cbe0 Mon Sep 17 00:00:00 2001 From: Juha-Pekka Heikkila Date: Fri, 18 May 2018 15:20:40 +0300 Subject: tests/kms_available_modes_crc: Test all modes on all planes Ask from kernel about supported modes for each plane and try setting them on display and verify functionality with crc. DRM_FORMAT_ARGB8888 and DRM_FORMAT_ABGR8888 skip crc testing on primary and overlay planes because they produce incorrect crcs from hardware. DRM_FORMAT_ARGB8888 is tested on cursor plane. v3: address review comments from Mika Kahola. Stop crc at end of test before freeing it. Use libdrm instead of mixing ioctl and libdrm. v2: Address review comments from Mika Kahola. Keep crc running for all tests while on same pipe, set tile height to 16 and read only one crc per test. Signed-off-by: Juha-Pekka Heikkila Reviewed-by: Mika Kahola --- tests/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/meson.build') diff --git a/tests/meson.build b/tests/meson.build index 1f00fc4f..cedb4ff1 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -149,6 +149,7 @@ test_progs = [ 'kms_atomic', 'kms_atomic_interruptible', 'kms_atomic_transition', + 'kms_available_modes_crc', 'kms_busy', 'kms_ccs', 'kms_chv_cursor_fail', -- cgit v1.2.3