aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2012-03-09 00:45:21 +0000
committerInki Dae <[email protected]>2012-03-15 02:39:00 +0000
commitf7d86075fa6c082f7dc4d289a69162b13d2db924 (patch)
treea68f7eb304fe47fae54cc6d51715dc1970d1bbba /fs/jbd/commit.c
parentdrm/exynos: fix runtime_pm fimd device state on probe (diff)
downloadkernel-f7d86075fa6c082f7dc4d289a69162b13d2db924.tar.gz
kernel-f7d86075fa6c082f7dc4d289a69162b13d2db924.zip
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 <[email protected]> Acked-by: Joonyoung Shim <[email protected]> Signed-off-by: Inki Dae <[email protected]> Signed-off-by: Kyungmin Park <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions