[Intel-gfx] [PATCH i-g-t v4 0/7] Validate TEST_ONLY correctness against full atomic commit
Mika Kahola
mika.kahola at intel.com
Thu Mar 23 12:48:23 UTC 2017
This test case adds TEST_ONLY flag to the following test cases to test
atomic commit correctness.
- kms_plane_multiple
- kms_atomic_transitions
- kms_plane_scaling
- kms_rotation_crc
- kms_plane_lowres
The test randomly selects one of the above test cases and tests atomic
commit. If the test fails with TEST_ONLY flag the real deal atomic commit
is executed and the outcome is verified.
v2: Add flag to toggle TEST_ONLY for atomic commit.
Remove DRM_MODE_PAGE_FLIP_EVENT flag, if enabled, before trying atomic
commit with TEST_ONLY flag (Maarten)
v3: flag to indicate TEST_ONLY selection in igt core
separate test cases for TEST_ONLY atomic commits (Maarten)
v4: Clear force_test_atomic flag if atomic commit fails (Maarten)
For: VIZ-6956
Mika Kahola (7):
lib/igt_kms: Add forcing TEST_ONLY for atomic commits
tests/kms_plane_multiple: Add TEST_ONLY flag Cc:
maarten.lankhorst at linux.intel.com
tests/kms_atomic_transition: Add TEST_ONLY flag
tests/kms_plane_scaling: Add TEST_ONLY flag
tests/kms_rotation_crc: Add TEST_ONLY flag
tests/kms_plane_lowres: Add TEST_ONLY flag
tests/kms_cursor_legacy: Add TEST_ONLY flag
lib/igt_kms.c | 22 +++-
lib/igt_kms.h | 1 +
tests/kms_atomic_transition.c | 72 ++++++++++---
tests/kms_cursor_legacy.c | 230 +++++++++++++++++++++++++++++++++++++-----
tests/kms_plane_lowres.c | 40 +++++++-
tests/kms_plane_multiple.c | 48 +++++++--
tests/kms_plane_scaling.c | 28 +++--
tests/kms_rotation_crc.c | 139 +++++++++++++++++++++++++
8 files changed, 518 insertions(+), 62 deletions(-)
--
2.7.4
More information about the Intel-gfx
mailing list