projects
/
profile
/
extras
/
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:
c612481
)
tests/testdisplay.c: Fix the issue which don't display anything until '-o' given.
author
Yi Sun
<yi.sun@intel.com>
Sun, 13 Jan 2013 02:10:24 +0000
(10:10 +0800)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 14 Jan 2013 14:31:52 +0000
(15:31 +0100)
Signed-off-by: Yi Sun <yi.sun@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/testdisplay.c
patch
|
blob
|
history
diff --git
a/tests/testdisplay.c
b/tests/testdisplay.c
index
7aef940
..
f2711ae
100644
(file)
--- a/
tests/testdisplay.c
+++ b/
tests/testdisplay.c
@@
-598,7
+598,7
@@
int update_display(void)
/* Find any connected displays */
for (c = 0; c < resources->count_connectors; c++) {
connectors[c].id = resources->connectors[c];
- if ( connectors[c].id != specified_disp_id )
+ if (
only_one_mode == 1 &&
connectors[c].id != specified_disp_id )
continue;
set_mode(&connectors[c]);