diff options
author | Sandor Yu <R01008@freescale.com> | 2015-07-13 16:22:53 +0800 |
---|---|---|
committer | Sandor Yu <R01008@freescale.com> | 2015-07-13 20:54:39 +0800 |
commit | 3e6713a3a70c83dcd5b22cc1afce00bdd7bc478c (patch) | |
tree | a1e437608076ea85fa90a6451a35c161163db6f2 | |
parent | 2fd848556cd3009e2127edebf9cb35aa789f723b (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>
-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; |