Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yi Sun <yi.sun@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH] tests/testdisplay.c: Fix the issue which don't display anything until '-o' given.
Date: Sun, 13 Jan 2013 10:10:24 +0800	[thread overview]
Message-ID: <1358043024-17455-1-git-send-email-yi.sun@intel.com> (raw)

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

             reply	other threads:[~2013-01-13  2:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-13  2:10 Yi Sun [this message]
2013-01-14 14:32 ` [PATCH] tests/testdisplay.c: Fix the issue which don't display anything until '-o' given Daniel Vetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1358043024-17455-1-git-send-email-yi.sun@intel.com \
    --to=yi.sun@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox