xf86CrtcRotate isn't work property. avoid calling this function. we will fix later 67/27167/2
authorBoram Park <boram1288.park@samsung.com>
Fri, 4 Jul 2014 05:51:13 +0000 (14:51 +0900)
committerRoman Marchenko <r.marchenko@samsung.com>
Thu, 18 Sep 2014 09:40:00 +0000 (12:40 +0300)
Change-Id: I7ff668b668a982fd60d905da857a4248f66c1e74
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
src/crtcconfig/sec_crtc.c
src/crtcconfig/sec_display.c

index 40d13f8..ed40325 100644 (file)
@@ -1863,8 +1863,10 @@ secCrtcApply(xf86CrtcPtr pCrtc)
         output_count++;
     }
 
+#if 0
     if (!xf86CrtcRotate (pCrtc))
         goto done;
+#endif
 
     pCrtc->funcs->gamma_set (pCrtc, pCrtc->gamma_red, pCrtc->gamma_green,
                              pCrtc->gamma_blue, pCrtc->gamma_size);
@@ -1983,7 +1985,9 @@ secCrtcApply(xf86CrtcPtr pCrtc)
     if (pScrn->pScreen)
         xf86_reload_cursors (pScrn->pScreen);
 
+#if 0
 done:
+#endif
     free (output_ids);
     return ret;
 }
index d5706b2..7a04570 100644 (file)
@@ -261,13 +261,12 @@ SECCrtcConfigResize(ScrnInfoPtr pScrn, int width, int height)
                width, height);
 #ifdef NO_CRTC_MODE
     pSec->isCrtcOn = secCrtcCheckInUseAll(pScrn);
-#else
+#endif
     if (pScrn->virtualX == width &&
         pScrn->virtualY == height)
     {
         return TRUE;
     }
-#endif
     secFbResize(pSec->pFb, width, height);
 
     /* set  the new size of pScrn */