disable fb blank handling 1.5.15.2766
authorGrazvydas Ignotas <notasas@gmail.com>
Fri, 26 Feb 2016 00:39:31 +0000 (02:39 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 26 Feb 2016 00:45:53 +0000 (02:45 +0200)
it just causes problems, hw recovery loop or some sort of hang.

services4/3rdparty/dc_omap3_linux/omaplfb_displayclass.c

index db74293..ca7a157 100644 (file)
@@ -339,9 +339,10 @@ void OMAPLFBWaitForVSync(void)
 
 static OMAP_ERROR EnableLFBEventNotification(OMAPLFB_DEVINFO *psDevInfo)
 {
+       OMAP_ERROR         eError;
+#if 0
        int                res;
        OMAPLFB_SWAPCHAIN *psSwapChain = psDevInfo->psSwapChain;
-       OMAP_ERROR         eError;
 
        
        memset(&psDevInfo->sLINNotifBlock, 0, sizeof(psDevInfo->sLINNotifBlock));
@@ -358,7 +359,7 @@ static OMAP_ERROR EnableLFBEventNotification(OMAPLFB_DEVINFO *psDevInfo)
 
                return (OMAP_ERROR_GENERIC);
        }
-
+#endif
        eError = UnblankDisplay(psDevInfo);
        if (eError != OMAP_OK)
        {
@@ -372,6 +373,7 @@ static OMAP_ERROR EnableLFBEventNotification(OMAPLFB_DEVINFO *psDevInfo)
 
 static OMAP_ERROR DisableLFBEventNotification(OMAPLFB_DEVINFO *psDevInfo)
 {
+#if 0
        int res;
 
        
@@ -382,7 +384,7 @@ static OMAP_ERROR DisableLFBEventNotification(OMAPLFB_DEVINFO *psDevInfo)
                        ": fb_unregister_client failed (%d)", res);
                return (OMAP_ERROR_GENERIC);
        }
-
+#endif
        return (OMAP_OK);
 }