Prefer earliest CRTC when mapping to outputs.
For some reason, the code was preferring the last possible output when mapping outputs to crtcs. Use the earlier CRTC instead to make the i830 driver consistent with BIOS usage.
This commit is contained in:
parent
8e6ab99b31
commit
86558cc622
|
|
@ -359,7 +359,7 @@ xf86PickCrtcs (ScrnInfoPtr pScrn,
|
|||
crtcs[n] = crtc;
|
||||
memcpy (crtcs, best_crtcs, n * sizeof (xf86CrtcPtr));
|
||||
score = my_score + xf86PickCrtcs (pScrn, crtcs, modes, n+1, width, height);
|
||||
if (score >= best_score)
|
||||
if (score > best_score)
|
||||
{
|
||||
best_crtc = crtc;
|
||||
best_score = score;
|
||||
|
|
|
|||
Loading…
Reference in New Issue