Re: [xrandr 2/2] Mark all CRTC as currently unused for second picking CRTC pass

2015-07-01 Thread Adam Jackson
On Thu, 2015-06-18 at 08:27 +0100, Chris Wilson wrote: We perform two passes over the CRTC in order to find the preferred CRTC for each enabled output. In the first pass, we try to preserve the existing output - CRTC relationships (to avoid unnecessary flicker). If that pass fails, we try

[xrandr 2/2] Mark all CRTC as currently unused for second picking CRTC pass

2015-06-18 Thread Chris Wilson
We perform two passes over the CRTC in order to find the preferred CRTC for each enabled output. In the first pass, we try to preserve the existing output - CRTC relationships (to avoid unnecessary flicker). If that pass fails, we try again but with all outputs first disabled. However, the logic