From 0196fc099f657a0d48b5c688e3c44c18f3bdfae3 Mon Sep 17 00:00:00 2001 From: Torben Hohn <torbenh@linutronix.de> Date: Tue, 4 Jun 2013 12:35:32 +0200 Subject: [PATCH 30/51] videomode_helpers: add support for da8xx FB_SYNC_CLK_INVERT flag --- drivers/video/fbmon.c | 4 ++++ 1 file changed, 4 insertions(+) @ drivers/video/fbmon.c:42 @ #endif #include "edid.h" +#include "video/da8xx-fb.h" + /* * EDID parser */ @ drivers/video/fbmon.c:1407 @ int fb_videomode_from_videomode(const struct videomode *vm, fbmode->sync |= FB_SYNC_HOR_HIGH_ACT; if (vm->flags & DISPLAY_FLAGS_VSYNC_HIGH) fbmode->sync |= FB_SYNC_VERT_HIGH_ACT; + if (vm->flags & DISPLAY_FLAGS_PIXDATA_POSEDGE) + fbmode->sync |= FB_SYNC_CLK_INVERT; if (vm->flags & DISPLAY_FLAGS_INTERLACED) fbmode->vmode |= FB_VMODE_INTERLACED; if (vm->flags & DISPLAY_FLAGS_DOUBLESCAN) -- 1.7.10.4