diff options
author | Neil Armstrong <neil.armstrong@linaro.org> | 2023-01-18 15:01:22 +0100 |
---|---|---|
committer | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2023-09-10 11:55:14 +0000 |
commit | 7618a646330d2dda663d44ef9066994f28d7812f (patch) | |
tree | 5f0f33915d1023656c49ab02abc152b5cca15066 | |
parent | 2e17aea5735a377112c2f2d325c1ec28b11f7285 (diff) | |
download | libdrm-7618a646330d2dda663d44ef9066994f28d7812f.tar.gz libdrm-7618a646330d2dda663d44ef9066994f28d7812f.tar.bz2 libdrm-7618a646330d2dda663d44ef9066994f28d7812f.zip |
modetest: allow using -r and -P
Since now -r sets the pipe struct and count like -s we can also
use -P with -r.
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
-rw-r--r-- | tests/modetest/modetest.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 58ef9ec3..4b45994e 100644 --- a/tests/modetest/modetest.c +++ b/tests/modetest/modetest.c @@ -2290,11 +2290,6 @@ int main(int argc, char **argv) return -1; } - if (set_preferred && plane_count) { - fprintf(stderr, "cannot use -r (preferred) when -P (plane) is set\n"); - return -1; - } - dev.fd = util_open(device, module); if (dev.fd < 0) return -1; |