~ubuntu-branches/ubuntu/precise/xorg-server-lts-trusty/precise-proposed

« back to all changes in this revision

Viewing changes to debian/patches/disable-rotation-transform-gpuscreens.patch

  • Committer: Package Import Robot
  • Author(s): Maarten Lankhorst
  • Date: 2014-05-29 11:23:45 UTC
  • Revision ID: package-import@ubuntu.com-20140529112345-nds4yarvo25d2r32
Tags: 2:1.15.1-0ubuntu2~precise1
Initial lts-trusty upload, i386/amd64 only. (LP: #1318616)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- a/hw/xfree86/modes/xf86RandR12.c
 
2
+++ b/hw/xfree86/modes/xf86RandR12.c
 
3
@@ -932,6 +932,9 @@
 
4
     if (xf86RandR12Key == NULL)
 
5
         return;
 
6
 
 
7
+    if (pScreen->isGPU)
 
8
+        rotations = RR_Rotate_0;
 
9
+
 
10
     randrp = XF86RANDRINFO(pScreen);
 
11
 #if RANDR_12_INTERFACE
 
12
     for (c = 0; c < config->num_crtc; c++) {
 
13
@@ -954,6 +957,9 @@
 
14
     xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(pScrn);
 
15
 #endif
 
16
 
 
17
+    if (pScreen->isGPU)
 
18
+        transforms = FALSE;
 
19
+
 
20
     if (xf86RandR12Key == NULL)
 
21
         return;
 
22