modetest: add the possibility to select the refresh frequency for a mode
authorVincent ABRIOU <vincent.abriou@st.com>
Fri, 10 Jan 2014 10:02:33 +0000 (11:02 +0100)
committerRob Clark <robclark@freedesktop.org>
Sun, 12 Jan 2014 13:24:00 +0000 (08:24 -0500)
commitde0970203091618834e4753c14d5169770797800
tree08709afb6540e38758b6c2402ad0e0dac5b94710
parent3732ef59eb1198d6a4cb5b8bbca6b155c53529f6
modetest: add the possibility to select the refresh frequency for a mode

When mode is selected we only give the name of the mode as parameter.
But sometime, two different modes have the same name but not
the same vrefresh frequency.
This patch give the possibility to select a mode by its name
and optionally by its refresh frequency.

Signed-off-by: Vincent Abriou <vincent.abriou@st.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Rob Clark <robclark@freedesktop.org>
tests/modetest/modetest.c