summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/README.drm
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-03-09 09:45:21 +0900
committerInki Dae <inki.dae@samsung.com>2012-03-15 11:39:00 +0900
commitf7d86075fa6c082f7dc4d289a69162b13d2db924 (patch)
treea68f7eb304fe47fae54cc6d51715dc1970d1bbba /drivers/gpu/drm/README.drm
parent0d8ce3ae37e9bcfacbbc750cabf892fa00bb720e (diff)
drm/exynos: Fix fb_videomode <-> drm_mode_modeinfo conversion
The fb_videomode structure stores the front porch and back porch in the right_margin and left_margin fields respectively. right_margin should thus be computed with hsync_start - hdisplay, and left_margin with htotal - hsync_end. The same holds for the vertical direction. Active Front Sync Back Region Porch Porch <-------------------><----------------><-------------><----------------> //////////////////| ////////////////// | ////////////////// |.................. .................. _______________ <------ xres -------><- right_margin -><- hsync_len -><- left_margin --> <---- hdisplay -----> <------------ hsync_start ------------> <--------------------- hsync_end --------------------> <--------------------------------- htotal -----------------------------> Fix the fb_videomode <-> drm_mode_modeinfo conversion functions accordingly. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/README.drm')
0 files changed, 0 insertions, 0 deletions