drm/fsl-dcu: use drm_display_mode_to_videomode to calculate timing parameters
authorSatendra Singh Thakur <satendra.t@samsung.com>
Wed, 26 Sep 2018 20:41:50 +0000 (22:41 +0200)
committerStefan Agner <stefan@agner.ch>
Mon, 1 Oct 2018 19:51:07 +0000 (21:51 +0200)
commit469a9308adfcfaa85c85f02fec9fdecd9e38fe07
tree3c239798bb48a6b1a01c69d4a6990dc041912fb8
parent53b9974b4b334185ab1030b7ef406d668e6e71ac
drm/fsl-dcu: use drm_display_mode_to_videomode to calculate timing parameters

Use the drm_display_mode_to_videomode function to calculate front/
back porches and sync length.

Cc: Madhur Verma <madhur.verma@samsung.com>
Cc: Hemanshu Srivastava <hemanshu.s@samsung.com>
Signed-off-by: Satendra Singh Thakur <satendra.t@samsung.com>
Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180926204150.29829-2-stefan@agner.ch
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c