summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Armstrong <neil.armstrong@linaro.org>2023-01-18 15:01:22 +0100
committerDmitry Baryshkov <dbaryshkov@gmail.com>2023-09-10 11:55:14 +0000
commit7618a646330d2dda663d44ef9066994f28d7812f (patch)
tree5f0f33915d1023656c49ab02abc152b5cca15066
parent2e17aea5735a377112c2f2d325c1ec28b11f7285 (diff)
downloadlibdrm-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.c5
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;