Commit c8bddcf6 authored by Michel Dänzer's avatar Michel Dänzer Committed by Michel Dänzer

Call xf86CrtcRotate from initial drmmode_set_desired_modes call

Fixes various problems when rotation is specified in xorg.conf.


(ported from radeon commit 548e97b3b7d1e94075a54ca2bb4eb683025098a7)
Reviewed-by: default avatarAlex Deucher <>
parent 12815156
......@@ -2071,6 +2071,8 @@ Bool drmmode_set_desired_modes(ScrnInfoPtr pScrn, drmmode_ptr drmmode,
crtc->rotation = crtc->desiredRotation;
crtc->x = crtc->desiredX;
crtc->y = crtc->desiredY;
if (!xf86CrtcRotate(crtc))
return FALSE;
return TRUE;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment