OSDN Git Service

drm/mediatek: Using the function drm_display_mode_to_videomode
authorSatendra Singh Thakur <thakursatendra2003@yahoo.co.in>
Sat, 31 Mar 2018 14:47:58 +0000 (20:17 +0530)
committerCK Hu <ck.hu@mediatek.com>
Wed, 2 May 2018 06:20:47 +0000 (14:20 +0800)
commit72ac6969033dc9f5e526566240a3a7934f0916ee
tree4d05eb36a60d9479fdea20b02df455b98314a797
parent1e10911539a61a048524bbb54ccfb6329b30b6d4
drm/mediatek: Using the function drm_display_mode_to_videomode

This patch uses existing method drm_display_mode_to_videomode for
calculating front/back porches, sync lengths for mediatek dsi/dpi
drivers; instead of manually calculating them

Signed-off-by: Satendra Singh Thakur <thakursatendra2003@yahoo.co.in>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
drivers/gpu/drm/mediatek/Kconfig
drivers/gpu/drm/mediatek/mtk_dpi.c
drivers/gpu/drm/mediatek/mtk_dsi.c