[igt-dev] [RFC PATCH 0/2] New subtest for VRR Flipline mode

bhanuprakash.modem
2020-05-11T06:38:42Z

From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>

To validate Adaptive-Sync's Flipline mode, make sure that flips happen at
flipline decision boundary.

Example: if monitor vrr range is 40 - 60Hz and

* flip at refresh_rate > 60Hz:
Flip should happen at the flipline boundary & returned refresh rate
would be 60Hz.
* flip at refresh_rate == 50Hz:
Flip should happen right away so returned refresh rate is 50Hz.
* flip at refresh_rate < 40Hz:
Flip should happen at the vmax so the returned refresh rate
would be 40Hz.

Bhanuprakash Modem (2):
tests/kms_vrr: Use atomic API for page flip
tests/kms_vrr: Add new subtest to validate Flipline mode

tests/kms_vrr.c | 136 ++++++++++++++++++++++++++++++------------------
1 file changed, 84 insertions(+), 52 deletions(-)

--
2.24.1.1.gb6d4d82bd5