diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2019-01-28 10:44:18 -0500 |
---|---|---|
committer | Harry Wentland <harry.wentland@amd.com> | 2019-01-28 12:07:42 -0500 |
commit | d1bd9c6ad6f3482bbccf4aa6417dd449e9efbe39 (patch) | |
tree | 920cc1b15cd0fb1905abaef74f8444e66d190239 /tests/meson.build | |
parent | 031715e369cf01aecbe293910211e80e51995ffb (diff) |
tests: Add variable refresh rate tests
There are 3 tests for basic variable refresh rate functionality.
The tests measure flipping at the average between the current mode
refresh rate and the minimum supported variable refresh rate.
It tests that VRR is enabled and that the difference between flip
timestamps converges to the requested rate. It also tests this under
both S3 and DPMS.
Potential ideas for future tests:
- Test behavior inside VRR range with a stepping test
- Test behavior outside of VRR range
- Multi-monitor (limited by no async pageflips in DRM atomic API)
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Leo Li <sunpeng.li@amd.com>
Cc: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Diffstat (limited to 'tests/meson.build')
-rw-r--r-- | tests/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/meson.build b/tests/meson.build index 5e16986d..85f4601c 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -60,6 +60,7 @@ test_progs = [ 'kms_tv_load_detect', 'kms_universal_plane', 'kms_vblank', + 'kms_vrr', 'meta_test', 'perf', 'pm_backlight', |