Imported Debian patch 2:1.15.1-0ubuntu2.6
[deb_xorg-server.git] / debian / patches / disable-rotation-transform-gpuscreens.patch
CommitLineData
7217e0ca
ML
1diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c
2index a441fd1..9147a26 100644
3--- a/hw/xfree86/modes/xf86Crtc.c
4+++ b/hw/xfree86/modes/xf86Crtc.c
5@@ -778,7 +778,7 @@ xf86CrtcScreenInit(ScreenPtr screen)
6 if (!crtc->funcs->shadow_allocate || !crtc->funcs->shadow_create)
7 break;
8 }
9- if (c == config->num_crtc) {
10+ if (c == config->num_crtc && !screen->isGPU) {
11 xf86RandR12SetRotations(screen, RR_Rotate_0 | RR_Rotate_90 |
12 RR_Rotate_180 | RR_Rotate_270 |
13 RR_Reflect_X | RR_Reflect_Y);