Skip to content
Commit 899da0f4 authored by John Stultz's avatar John Stultz Committed by Emil Velikov
Browse files

libdrm: modetest: Allow selecting modes by index



Often there are many similar modes, which cannot be selected
via modetest due to its simple string matching.

This change adds a mode index in the display output, which can
then be used to specify a specific modeline to be set.

Cc: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: Rob Clark <robdclark@chromium.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Reviewed-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
[emil: rebase]
Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
parent c9d4540b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment