summaryrefslogtreecommitdiff
path: root/tests/kms-test-modeset.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-10 00:22:44 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-29 21:16:22 +0300
commit4d15a071e3ee73f769087859c04e0b7de5ac36dd (patch)
tree9657fae2c8e2e5f21196415c6d71ed14a93d51a6 /tests/kms-test-modeset.py
parent11404d7162f0e164fa4a3dcd68337cd3a23dcf6b (diff)
kmstest: Support specifying property values in percents
If the property is a string that ends with a '%' character, treat it as a percentage of the range reported by the property and convert it to the corresponding numerical value. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'tests/kms-test-modeset.py')
0 files changed, 0 insertions, 0 deletions