When an output is disabled via the cmdline, we can use that information
to prevent assigning the current CRTC to the output and free it up for
reuse by other outputs in the first pass of picking CRTC.

Reported-and-tested-by: Nathan Schulte <nmschu...@gmail.com>
Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk>
---
 xrandr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xrandr.c b/xrandr.c
index fbfd93e..c0feac3 100644
--- a/xrandr.c
+++ b/xrandr.c
@@ -3029,7 +3029,7 @@ main (int argc, char **argv)
            if (!config_output) argerr ("%s must be used after --output\n", 
argv[i]);
            set_name_xid (&config_output->mode, None);
            set_name_xid (&config_output->crtc, None);
-           config_output->changes |= changes_mode;
+           config_output->changes |= changes_mode | changes_crtc;
            continue;
        }
        if (!strcmp ("--fb", argv[i])) {
-- 
2.1.4

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to