Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests/testdisplay.c: Fix the issue which don't display anything until '-o' given.
@ 2013-01-13  2:10 Yi Sun
  2013-01-14 14:32 ` Daniel Vetter
  0 siblings, 1 reply; 2+ messages in thread
From: Yi Sun @ 2013-01-13  2:10 UTC (permalink / raw)
  To: intel-gfx

Signed-off-by: Yi Sun <yi.sun@intel.com>

diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index 7aef940..f2711ae 100644
--- 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]);
-- 
1.7.6.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-14 14:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-13  2:10 [PATCH] tests/testdisplay.c: Fix the issue which don't display anything until '-o' given Yi Sun
2013-01-14 14:32 ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox