diff options
author | Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> | 2018-05-18 15:20:40 +0300 |
---|---|---|
committer | Mika Kahola <mika.kahola@intel.com> | 2018-05-22 13:45:56 +0300 |
commit | 0b381c7d1067a4fe520b72d4d391d4920834cbe0 (patch) | |
tree | 07a3d292f16fc087b7bf865f367ce32f1a0a11e7 /tests/Makefile.sources | |
parent | d8d5dde407e7f7b17850be71d24a7e679533b03d (diff) | |
download | platform_external_igt-gpu-tools-0b381c7d1067a4fe520b72d4d391d4920834cbe0.tar.gz platform_external_igt-gpu-tools-0b381c7d1067a4fe520b72d4d391d4920834cbe0.tar.bz2 platform_external_igt-gpu-tools-0b381c7d1067a4fe520b72d4d391d4920834cbe0.zip |
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 <juhapekka.heikkila@gmail.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Diffstat (limited to 'tests/Makefile.sources')
-rw-r--r-- | tests/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Makefile.sources b/tests/Makefile.sources index 8066fb1a..ad62611f 100644 --- a/tests/Makefile.sources +++ b/tests/Makefile.sources @@ -173,6 +173,7 @@ TESTS_progs = \ kms_atomic \ kms_atomic_interruptible \ kms_atomic_transition \ + kms_available_modes_crc \ kms_busy \ kms_ccs \ kms_chv_cursor_fail \ |