Issue current virtual size to mode valid.
Revert change in rotation patch.
This commit is contained in:
parent
fbd3f588f0
commit
75f0033ec4
|
|
@ -517,7 +517,6 @@ xf86SetScrnInfoModes (ScrnInfoPtr pScrn)
|
|||
xf86CrtcPtr crtc;
|
||||
DisplayModePtr last, mode;
|
||||
int originalVirtualX, originalVirtualY;
|
||||
I830Ptr pI830 = I830PTR(pScrn);
|
||||
|
||||
output = config->output[config->compat_output];
|
||||
if (!output->crtc)
|
||||
|
|
@ -550,10 +549,9 @@ xf86SetScrnInfoModes (ScrnInfoPtr pScrn)
|
|||
/* Disable modes in the XFree86 DDX list that are larger than the current
|
||||
* virtual size.
|
||||
*/
|
||||
/* pass real line pitch, rotation might change this */
|
||||
i830xf86ValidateModesSize(pScrn, pScrn->modes,
|
||||
originalVirtualX, originalVirtualY,
|
||||
pI830->displayWidth);
|
||||
pScrn->displayWidth);
|
||||
|
||||
/* Strip out anything that we threw out for virtualX/Y. */
|
||||
i830xf86PruneInvalidModes(pScrn, &pScrn->modes, TRUE);
|
||||
|
|
|
|||
Loading…
Reference in New Issue