From: Daniel Vetter <daniel@ffwll.ch>
To: Yi Sun <yi.sun@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] tests/testdisplay.c: Fix the issue which don't display anything until '-o' given.
Date: Mon, 14 Jan 2013 15:32:24 +0100 [thread overview]
Message-ID: <20130114143224.GA5790@phenom.ffwll.local> (raw)
In-Reply-To: <1358043024-17455-1-git-send-email-yi.sun@intel.com>
On Sun, Jan 13, 2013 at 10:10:24AM +0800, Yi Sun wrote:
> Signed-off-by: Yi Sun <yi.sun@intel.com>
Applied, thanks for the patch.
-Daniel
>
> 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
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
prev parent reply other threads:[~2013-01-14 14:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
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=20130114143224.GA5790@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
--cc=yi.sun@intel.com \
/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