From 72b67703a780b929dc691d8b81c1a7973ef42401 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Fri, 26 Feb 2016 02:39:31 +0200 Subject: [PATCH] disable fb blank handling it just causes problems, hw recovery loop or some sort of hang. --- .../3rdparty/dc_omap3430_linux/omaplfb_displayclass.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/services4/3rdparty/dc_omap3430_linux/omaplfb_displayclass.c b/services4/3rdparty/dc_omap3430_linux/omaplfb_displayclass.c index 8b0f2ff..f4084f2 100644 --- a/services4/3rdparty/dc_omap3430_linux/omaplfb_displayclass.c +++ b/services4/3rdparty/dc_omap3430_linux/omaplfb_displayclass.c @@ -288,9 +288,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)); @@ -307,7 +308,7 @@ static OMAP_ERROR EnableLFBEventNotification(OMAPLFB_DEVINFO *psDevInfo) return (OMAP_ERROR_GENERIC); } - +#endif eError = UnblankDisplay(psDevInfo); if (eError != OMAP_OK) { @@ -321,6 +322,7 @@ static OMAP_ERROR EnableLFBEventNotification(OMAPLFB_DEVINFO *psDevInfo) static OMAP_ERROR DisableLFBEventNotification(OMAPLFB_DEVINFO *psDevInfo) { +#if 0 int res; @@ -331,7 +333,7 @@ static OMAP_ERROR DisableLFBEventNotification(OMAPLFB_DEVINFO *psDevInfo) ": fb_unregister_client failed (%d)", res); return (OMAP_ERROR_GENERIC); } - +#endif return (OMAP_OK); } -- 2.39.5