Message ID | 1358043024-17455-1-git-send-email-yi.sun@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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
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]);
Signed-off-by: Yi Sun <yi.sun@intel.com>