From: Michel Dänzer <[email protected]> Fixes various problems when rotation is specified in xorg.conf.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92475 (ported from radeon commit 548e97b3b7d1e94075a54ca2bb4eb683025098a7) Signed-off-by: Michel Dänzer <[email protected]> --- src/drmmode_display.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 4d5a3a3..66528f0 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -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; -- 2.6.2 _______________________________________________ xorg-driver-ati mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-driver-ati
