projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e17aea
)
modetest: allow using -r and -P
author
Neil Armstrong
<neil.armstrong@linaro.org>
Wed, 18 Jan 2023 14:01:22 +0000
(15:01 +0100)
committer
Dmitry Baryshkov
<dbaryshkov@gmail.com>
Sun, 10 Sep 2023 11:55:14 +0000
(11:55 +0000)
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>
tests/modetest/modetest.c
patch
|
blob
|
history
diff --git
a/tests/modetest/modetest.c
b/tests/modetest/modetest.c
index
58ef9ec
..
4b45994
100644
(file)
--- 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;