xrandr: picking CRTC's

Arnout Engelen xorg at bzzt.net
Sat Oct 20 06:23:18 PDT 2012


On Sat, Oct 20, 2012 at 02:43:10PM +0200, Arnout Engelen wrote:
> inside check_crtc_for_output it notices crtc->crtc_info->outputs[0] is still
> VGA-1, so it skips that CRTC.

I wonder whether the 'else if (crtc->crtc_info->noutput)' part of 
check_crtc_for_output should be needed at all - shouldn't the 
'if (crtc->noutput)' part be sufficient? 

> A bit of searching around turned up http://www.spinics.net/lists/xorg/msg29635.html
> in which Matthias Hopf mentions:
> 
>   I also created a kind of test suite for verifying xrandr behavior, but I
>   have to clean that one up before committing.

Some kind of test suite would indeed be useful ;).


Arnout


More information about the xorg-devel mailing list