]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00277843-01 mxsfb: Allocate frame buffer from DMA pool
authorSandor Yu <R01008@freescale.com>
Wed, 4 Sep 2013 07:40:44 +0000 (15:40 +0800)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:55:30 +0000 (09:55 +0800)
commit56a25cf0d6f8d0f22c64a3df71c5f1f58c829022
tree3c273dc9039647f17b25680beaa89b6036c200f4
parent27aa2c474f580dd2a3a216738eeed911a57f9af1
ENGR00277843-01 mxsfb: Allocate frame buffer from DMA pool

- Original frame buffer size is fixed in SZ_2M when driver probing,
  that can not support more resolution, such as 720p and 1080p.
  Add function mxsfb_map_videomem/mxsfb_unmap_videomem to replace
  fixed frame buffer size. Frame buffer size can change with resolution
  change and application requirement.
- Add fb_mmap function implement.
- Remove member variable sync from struct mxsfb_info, align the sync
  definition with mxc_cea_mode[] in mxc_edid.c.
- Set recovery from underflow bit.
- Fix xres_virtual yres_virtual check issue in function mxsfb_check_var().

Signed-off-by: Sandor Yu <R01008@freescale.com>
drivers/video/mxsfb.c