From 7618a646330d2dda663d44ef9066994f28d7812f Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Wed, 18 Jan 2023 15:01:22 +0100 Subject: [PATCH] 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 --- tests/modetest/modetest.c | 5 ----- 1 file changed, 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;