Commit 6801603d authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915/tv: Fix interlaced ysize calculation

Fix the calculation of the vertical active period for interlaced
TV modes.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181112170000.27531-4-ville.syrjala@linux.intel.comReviewed-by: default avatarImre Deak <imre.deak@intel.com>
parent 32db0b65
...@@ -1086,7 +1086,7 @@ static void intel_tv_pre_enable(struct intel_encoder *encoder, ...@@ -1086,7 +1086,7 @@ static void intel_tv_pre_enable(struct intel_encoder *encoder,
if (tv_mode->progressive) if (tv_mode->progressive)
ysize = tv_mode->nbr_end + 1; ysize = tv_mode->nbr_end + 1;
else else
ysize = 2*tv_mode->nbr_end + 1; ysize = 2 * (tv_mode->nbr_end + 1);
xpos += conn_state->tv.margins.left; xpos += conn_state->tv.margins.left;
ypos += conn_state->tv.margins.top; ypos += conn_state->tv.margins.top;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment