aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/drm_modes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c
index 6b4d2dc3cdd9..9e54925a7609 100644
--- a/drivers/gpu/drm/drm_modes.c
+++ b/drivers/gpu/drm/drm_modes.c
@@ -146,7 +146,7 @@ struct drm_display_mode *drm_cvt_mode(struct drm_device *dev, int hdisplay,
146 if (margins) 146 if (margins)
147 vmargin = vdisplay_rnd * CVT_MARGIN_PERCENTAGE / 1000; 147 vmargin = vdisplay_rnd * CVT_MARGIN_PERCENTAGE / 1000;
148 148
149 drm_mode->vdisplay = vdisplay_rnd + 2 * vmargin; 149 drm_mode->vdisplay = vdisplay + 2 * vmargin;
150 150
151 /* Interlaced */ 151 /* Interlaced */
152 if (interlaced) 152 if (interlaced)