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>
main
Neil Armstrong 2023-01-18 15:01:22 +01:00 committed by Dmitry Baryshkov
parent 2e17aea573
commit 7618a64633
1 changed files with 0 additions and 5 deletions

View File

@ -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;