From e38e6ba9be58287323bace0cdadecf5b2fea9370 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Fri, 17 Jul 2009 09:39:16 +0200 Subject: omap3-sgx-modules: update to 1.3.13.1607 --- .../omap3-sgx-modules/rotation-dss2.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 recipes/powervr-drivers/omap3-sgx-modules/rotation-dss2.patch (limited to 'recipes/powervr-drivers/omap3-sgx-modules/rotation-dss2.patch') diff --git a/recipes/powervr-drivers/omap3-sgx-modules/rotation-dss2.patch b/recipes/powervr-drivers/omap3-sgx-modules/rotation-dss2.patch new file mode 100644 index 0000000000..ea4a6a10c6 --- /dev/null +++ b/recipes/powervr-drivers/omap3-sgx-modules/rotation-dss2.patch @@ -0,0 +1,21 @@ +--- 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; -- cgit v1.2.3