From: Grazvydas Ignotas Date: Fri, 26 Feb 2016 00:39:31 +0000 (+0200) Subject: disable fb blank handling X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2F1.6.16.3977;p=sgx.git disable fb blank handling it just causes problems, hw recovery loop or some sort of hang. --- diff --git a/services4/3rdparty/dc_omap3430_linux/omaplfb_displayclass.c b/services4/3rdparty/dc_omap3430_linux/omaplfb_displayclass.c index 249f983..1c76f76 100644 --- a/services4/3rdparty/dc_omap3430_linux/omaplfb_displayclass.c +++ b/services4/3rdparty/dc_omap3430_linux/omaplfb_displayclass.c @@ -293,9 +293,10 @@ IMG_VOID OMAPLFBFlipDSS2(OMAPLFB_SWAPCHAIN *psSwapChain, 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)); @@ -312,7 +313,7 @@ static OMAP_ERROR EnableLFBEventNotification(OMAPLFB_DEVINFO *psDevInfo) return (OMAP_ERROR_GENERIC); } - +#endif eError = UnblankDisplay(psDevInfo); if (eError != OMAP_OK) { @@ -326,6 +327,7 @@ static OMAP_ERROR EnableLFBEventNotification(OMAPLFB_DEVINFO *psDevInfo) static OMAP_ERROR DisableLFBEventNotification(OMAPLFB_DEVINFO *psDevInfo) { +#if 0 int res; @@ -336,7 +338,7 @@ static OMAP_ERROR DisableLFBEventNotification(OMAPLFB_DEVINFO *psDevInfo) ": fb_unregister_client failed (%d)", res); return (OMAP_ERROR_GENERIC); } - +#endif return (OMAP_OK); }