drm/tests
Emil Velikov bf602a2d67 modetest: Add a new "-r" option to set a default mode
This option finds all connected connector and then sets its preferred
mode on it. If no preferred mode is available, first mode is used.

This option must be set w/o any mode or plane.

This allows for a quick test on all connected outputs.

Loosely based on the work by Ezequiel Garcia <ezequiel@collabora.com>

Changes since Ezequiel's work:
 - implement atomic codepath
 - set all connectors
 - pick correct crtc
 - don't set -r by default
 - nearly identical output in atomic and non-atomic codepaths

v2:
 - Use the crtc->crtc_id, instead of the plane's current crtc_id

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Tested-by: Ezequiel Garcia <ezequiel@collabora.com>
2020-05-19 21:09:35 +01:00
..
amdgpu tests/amdgpu/vcn: add Renoir VCN2.0 decode support 2020-04-26 11:39:19 -04:00
etnaviv Revert "Revert "libdrm: remove autotools support"" 2019-10-18 18:05:45 +01:00
exynos Revert "Revert "libdrm: remove autotools support"" 2019-10-18 18:05:45 +01:00
kms tests: Only copy con->modes[0] if it exists 2020-02-27 12:21:09 +01:00
kmstest Revert "Revert "libdrm: remove autotools support"" 2019-10-18 18:05:45 +01:00
modeprint Revert "Revert "libdrm: remove autotools support"" 2019-10-18 18:05:45 +01:00
modetest modetest: Add a new "-r" option to set a default mode 2020-05-19 21:09:35 +01:00
nouveau tests/nouveau/threaded: adapt ioctl signature for FreeBSD 2020-04-21 19:26:54 +02:00
proptest Revert "Revert "libdrm: remove autotools support"" 2019-10-18 18:05:45 +01:00
radeon Revert "Revert "libdrm: remove autotools support"" 2019-10-18 18:05:45 +01:00
tegra Revert "Revert "libdrm: remove autotools support"" 2019-10-18 18:05:45 +01:00
ttmtest fix various typos 2019-04-17 18:23:25 +01:00
util Revert "Revert "libdrm: remove autotools support"" 2019-10-18 18:05:45 +01:00
vbltest meson: always define whether headers exist 2020-01-23 17:00:12 +00:00
Android.mk android: simplify the including rule of subdirs 2015-03-20 17:07:21 +00:00
drmdevice.c tests: skip drmdevice test if the machine doesn't have any drm device 2018-11-11 18:39:57 +00:00
drmsl.c drmsltest: Check expected neighbours 2017-08-21 13:05:13 +01:00
hash.c tests/hash: return non-zero on failure 2015-04-05 15:33:06 +01:00
meson.build tests: install drmdevice 2020-04-21 18:50:23 +01:00