rk_fb: set interlace flag for dts timing

Change-Id: I8711cefdf224af88214ed39d9ae225be8bc62304
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
This commit is contained in:
Mark Yao
2015-10-29 15:54:11 +08:00
parent 67214f7efa
commit ddcff9a5c3

View File

@@ -467,6 +467,8 @@ int rk_fb_video_mode_from_timing(const struct display_timing *dt,
screen->cabc_lut = dt->cabc_lut;
screen->cabc_gamma_base = dt->cabc_gamma_base;
if (dt->flags & DISPLAY_FLAGS_INTERLACED)
screen->mode.vmode |= FB_VMODE_INTERLACED;
if (dt->flags & DISPLAY_FLAGS_PIXDATA_POSEDGE)
screen->pin_dclk = 1;
else