diff options
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss/hdmi_wp.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/hdmi_wp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi_wp.c b/drivers/gpu/drm/omapdrm/dss/hdmi_wp.c index ba964c12148d..ed6ce7474bad 100644 --- a/drivers/gpu/drm/omapdrm/dss/hdmi_wp.c +++ b/drivers/gpu/drm/omapdrm/dss/hdmi_wp.c | |||
@@ -187,7 +187,7 @@ void hdmi_wp_video_config_timing(struct hdmi_wp_data *wp, | |||
187 | hdmi_write_reg(wp->base, HDMI_WP_VIDEO_TIMING_H, timing_h); | 187 | hdmi_write_reg(wp->base, HDMI_WP_VIDEO_TIMING_H, timing_h); |
188 | 188 | ||
189 | timing_v |= FLD_VAL(timings->vbp, 31, 20); | 189 | timing_v |= FLD_VAL(timings->vbp, 31, 20); |
190 | timing_v |= FLD_VAL(timings->vfp, 19, 8); | 190 | timing_v |= FLD_VAL(timings->vfront_porch, 19, 8); |
191 | timing_v |= FLD_VAL(timings->vsync_len, 7, 0); | 191 | timing_v |= FLD_VAL(timings->vsync_len, 7, 0); |
192 | hdmi_write_reg(wp->base, HDMI_WP_VIDEO_TIMING_V, timing_v); | 192 | hdmi_write_reg(wp->base, HDMI_WP_VIDEO_TIMING_V, timing_v); |
193 | } | 193 | } |
@@ -205,7 +205,7 @@ void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt, | |||
205 | timings->hfront_porch = param->timings.hfront_porch; | 205 | timings->hfront_porch = param->timings.hfront_porch; |
206 | timings->hsync_len = param->timings.hsync_len; | 206 | timings->hsync_len = param->timings.hsync_len; |
207 | timings->vbp = param->timings.vbp; | 207 | timings->vbp = param->timings.vbp; |
208 | timings->vfp = param->timings.vfp; | 208 | timings->vfront_porch = param->timings.vfront_porch; |
209 | timings->vsync_len = param->timings.vsync_len; | 209 | timings->vsync_len = param->timings.vsync_len; |
210 | 210 | ||
211 | timings->vsync_level = param->timings.vsync_level; | 211 | timings->vsync_level = param->timings.vsync_level; |
@@ -216,7 +216,7 @@ void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt, | |||
216 | if (param->timings.interlace) { | 216 | if (param->timings.interlace) { |
217 | video_fmt->y_res /= 2; | 217 | video_fmt->y_res /= 2; |
218 | timings->vbp /= 2; | 218 | timings->vbp /= 2; |
219 | timings->vfp /= 2; | 219 | timings->vfront_porch /= 2; |
220 | timings->vsync_len /= 2; | 220 | timings->vsync_len /= 2; |
221 | } | 221 | } |
222 | 222 | ||