don't wait for vblank on rotated displays
We may hang or wait for the wrong line if the display is rotated, so just skip the wait in that case. Fixes fdo bug #22196.
This commit is contained in:
parent
6c56521bdc
commit
eb09014ce1
|
|
@ -309,7 +309,8 @@ I830DRI2CopyRegion(DrawablePtr pDraw, RegionPtr pRegion,
|
|||
box = REGION_EXTENTS(unused, pGC->pCompositeClip);
|
||||
crtc = i830_covering_crtc(pScrn, box, NULL, &crtcbox);
|
||||
|
||||
if (crtc != NULL) {
|
||||
/* Make sure the CRTC is valid and this is the real front buffer */
|
||||
if (crtc != NULL && !crtc->rotatedData) {
|
||||
if (pI830->use_drm_mode)
|
||||
pipe = drmmode_get_pipe_from_crtc_id(pI830->bufmgr, crtc);
|
||||
else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue