intel-virtual-output: Iterate over remote outputs in the same order as listed
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 14 Mar 2014 15:55:41 +0000 (15:55 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 14 Mar 2014 15:55:41 +0000 (15:55 +0000)
commit8cc1f005c69786243ac69f6505087071787e6f87
treef582c826df4d366af3ba2877ae1d49e26c6dfe65
parenta55bbe3b598616ef4464e50cb9364c8cdf0b513a
intel-virtual-output: Iterate over remote outputs in the same order as listed

If we walk the output lists in the same order as they are listed by
RandR, we are more likely to hit favourable priority sorting. E.g. the
user is likely to setup the outputs in the same order as listed, meaning
fewer CRTC transitions etc.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
tools/virtual.c