projects
/
platform
/
upstream
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72e9a6c
)
kms_pipe_crc_basic: Use igt_display_get_n_pipes() instead of hardcoding 3
author
Damien Lespiau
<damien.lespiau@intel.com>
Tue, 4 Feb 2014 15:11:29 +0000
(15:11 +0000)
committer
Damien Lespiau
<damien.lespiau@intel.com>
Tue, 11 Feb 2014 13:50:16 +0000
(13:50 +0000)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
tests/kms_pipe_crc_basic.c
patch
|
blob
|
history
diff --git
a/tests/kms_pipe_crc_basic.c
b/tests/kms_pipe_crc_basic.c
index
7d48ca6
..
f4de64f
100644
(file)
--- a/
tests/kms_pipe_crc_basic.c
+++ b/
tests/kms_pipe_crc_basic.c
@@
-169,7
+169,7
@@
igt_main
igt_subtest("bad-nb-words-3")
test_bad_command(&data, "pipe A none option");
- for (int i = 0; i <
3
; i++) {
+ for (int i = 0; i <
igt_display_get_n_pipes(&data.display)
; i++) {
igt_subtest_f("read-crc-pipe-%c", 'A'+i)
test_read_crc(&data, i, 0);