diff options
author | Sandor Yu <R01008@freescale.com> | 2015-07-13 16:22:53 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2015-09-17 09:23:58 -0500 |
commit | 54b56c0736c7d296af1c77df21ee2692dc66bbc5 (patch) | |
tree | b2ea66b290497acd66bbef73d1919fc925295631 /drivers/video | |
parent | 9fac9f4afa4f0fb596d978c3700c47fd639561ce (diff) |
MLK-10732-2: mxsfb: Add FB_VMODE_YWRAP support
Add FB_VMODE_YWRAP support in mxsfb driver.
Signed-off-by: Sandor Yu <R01008@freescale.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/mxsfb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index 72378cdf54f1..e9c61df40775 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -1105,6 +1105,7 @@ static int mxsfb_restore_mode(struct mxsfb_info *host) line_count = fb_info->fix.smem_len / fb_info->fix.line_length; fb_info->fix.ypanstep = 1; + fb_info->fix.ywrapstep = 1; host->enabled = 1; @@ -1223,6 +1224,7 @@ static int mxsfb_init_fbinfo(struct mxsfb_info *host) fb_info->flags = FBINFO_FLAG_DEFAULT | FBINFO_READS_FAST; fb_info->fix.type = FB_TYPE_PACKED_PIXELS; fb_info->fix.ypanstep = 1; + fb_info->fix.ywrapstep = 1; fb_info->fix.visual = FB_VISUAL_TRUECOLOR, fb_info->fix.accel = FB_ACCEL_NONE; |