diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2016-09-22 07:06:48 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-11-02 04:48:18 -0400 |
commit | 4dc2250d7d9e816b986d656cde90f55c096012ed (patch) | |
tree | e6aab55339297cd000c19cc9f70ba45431ff8bf1 /drivers/gpu/drm/omapdrm/omap_connector.c | |
parent | fb7f3c4399ffa75bc31aaaaeab45238ea60c3d1a (diff) |
drm/omap: omap_display_timings: rename hsw to hsync_len
In preparation to move the stack to use the generic videmode struct for
display timing information rename the hsw member to hsync_len.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
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; |