From: Jon Medhurst Date: Fri, 13 Jul 2012 13:25:50 +0000 (+0100) Subject: ARM HDLCD: Enable HDLCD_NO_VIRTUAL_SCREEN on Android X-Git-Tag: firefly_0821_release~3680^2~236^2^2~11^2~5 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e361c22545d9879a7f20f45aaea8b96366092cc4;p=firefly-linux-kernel-4.4.55.git ARM HDLCD: Enable HDLCD_NO_VIRTUAL_SCREEN on Android This is a hack which prevents annoying screen flicker in the Android UI. Signed-off-by: Jon Medhurst --- diff --git a/include/linux/arm-hdlcd.h b/include/linux/arm-hdlcd.h index 124995aa34f5..939f3a81d56b 100644 --- a/include/linux/arm-hdlcd.h +++ b/include/linux/arm-hdlcd.h @@ -107,6 +107,10 @@ */ //#define HDLCD_NO_VIRTUAL_SCREEN +#ifdef CONFIG_ANDROID +#define HDLCD_NO_VIRTUAL_SCREEN +#endif + struct hdlcd_device { struct fb_info fb; struct device *dev;