summaryrefslogtreecommitdiff
path: root/recipes/powervr-drivers/omap3-sgx-modules/rotation-dss2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/powervr-drivers/omap3-sgx-modules/rotation-dss2.patch')
-rw-r--r--recipes/powervr-drivers/omap3-sgx-modules/rotation-dss2.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/recipes/powervr-drivers/omap3-sgx-modules/rotation-dss2.patch b/recipes/powervr-drivers/omap3-sgx-modules/rotation-dss2.patch
deleted file mode 100644
index ea4a6a10c6..0000000000
--- a/recipes/powervr-drivers/omap3-sgx-modules/rotation-dss2.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/services4/3rdparty/dc_omap3430_linux/omaplfb_displayclass.c 2009-01-22 17:08:25.000000000 +0530
-+++ b/services4/3rdparty/dc_omap3430_linux/omaplfb_displayclass.c 2009-04-25 16:43:22.000000000 +0530
-@@ -1014,8 +1014,16 @@
- psPVRFBInfo->sSysAddr.uiAddr = psLINFBInfo->fix.smem_start;
- psPVRFBInfo->sCPUVAddr = psLINFBInfo->screen_base;
-
-- psPVRFBInfo->ui32Width = psLINFBInfo->var.xres;
-- psPVRFBInfo->ui32Height = psLINFBInfo->var.yres;
-+ if ((psLINFBInfo->var.rotate == FB_ROTATE_CW)
-+ || (psLINFBInfo->var.rotate == FB_ROTATE_CCW) ) {
-+
-+ psPVRFBInfo->ui32Width = psLINFBInfo->var.yres;
-+ psPVRFBInfo->ui32Height = psLINFBInfo->var.xres;
-+
-+ } else {
-+ psPVRFBInfo->ui32Width = psLINFBInfo->var.xres;
-+ psPVRFBInfo->ui32Height = psLINFBInfo->var.yres;
-+ }
- psPVRFBInfo->ui32ByteStride = psLINFBInfo->fix.line_length;
- psPVRFBInfo->ui32FBSize = FBSize;
- psPVRFBInfo->ui32BufferSize = psPVRFBInfo->ui32Height * psPVRFBInfo->ui32ByteStride;