diff options
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_connector.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_connector.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_connector.c b/drivers/gpu/drm/omapdrm/omap_connector.c index e3833efb6db8..86620396a561 100644 --- a/drivers/gpu/drm/omapdrm/omap_connector.c +++ b/drivers/gpu/drm/omapdrm/omap_connector.c | |||
@@ -49,7 +49,7 @@ void copy_timings_omap_to_drm(struct drm_display_mode *mode, | |||
49 | 49 | ||
50 | mode->hdisplay = timings->hactive; | 50 | mode->hdisplay = timings->hactive; |
51 | mode->hsync_start = mode->hdisplay + timings->hfp; | 51 | mode->hsync_start = mode->hdisplay + timings->hfp; |
52 | mode->hsync_end = mode->hsync_start + timings->hsw; | 52 | mode->hsync_end = mode->hsync_start + timings->hsync_len; |
53 | mode->htotal = mode->hsync_end + timings->hbp; | 53 | mode->htotal = mode->hsync_end + timings->hbp; |
54 | 54 | ||
55 | mode->vdisplay = timings->vactive; | 55 | mode->vdisplay = timings->vactive; |
@@ -83,7 +83,7 @@ void copy_timings_drm_to_omap(struct omap_video_timings *timings, | |||
83 | 83 | ||
84 | timings->hactive = mode->hdisplay; | 84 | timings->hactive = mode->hdisplay; |
85 | timings->hfp = mode->hsync_start - mode->hdisplay; | 85 | timings->hfp = mode->hsync_start - mode->hdisplay; |
86 | timings->hsw = mode->hsync_end - mode->hsync_start; | 86 | timings->hsync_len = mode->hsync_end - mode->hsync_start; |
87 | timings->hbp = mode->htotal - mode->hsync_end; | 87 | timings->hbp = mode->htotal - mode->hsync_end; |
88 | 88 | ||
89 | timings->vactive = mode->vdisplay; | 89 | timings->vactive = mode->vdisplay; |