video: mmp: calculate pitch value when fb set win
Add new func mmpfb_set_win to make code clean, it will do resolution and fmt setting of win in mmpfb_set_win. Signed-off-by: NJing Xiang <jxiang@marvell.com> Signed-off-by: NJett.Zhou <jtzhou@marvell.com> Signed-off-by: NZhou Zhu <zzhu3@marvell.com> Reviewed-by: NDaniel Drake <dsd@laptop.org> Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
Showing
想要评论请 注册 或 登录