diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-09-30 17:02:21 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2013-09-30 18:04:22 +0100 |
commit | c128b731dceff48200a9e6e84436a5e726dc4706 (patch) | |
tree | 2f9be6527a1db4ccaf5b652418f69a3309021acb /tests/testdisplay.c | |
parent | 28cf66de94962081e7de833166f274807f333f39 (diff) |
testdisplay: Respect specified_disp_id in the stereo loop
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'tests/testdisplay.c')
-rw-r--r-- | tests/testdisplay.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testdisplay.c b/tests/testdisplay.c index 1f158bd3..0e697952 100644 --- a/tests/testdisplay.c +++ b/tests/testdisplay.c @@ -628,6 +628,9 @@ int update_display(void) struct connector *connector = &connectors[c]; connector->id = resources->connectors[c]; + if (specified_disp_id != -1 && + connector->id != specified_disp_id) + continue; connector_find_preferred_mode(connector->id, -1UL, |