drm/i915/tv: Fix interlaced ysize calculation
Fix the calculation of the vertical active period for interlaced TV modes. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20181112170000.27531-4-ville.syrjala@linux.intel.com Reviewed-by: Imre Deak <imre.deak@intel.com>
This commit is contained in:
Родитель
32db0b6501
Коммит
6801603d3d
|
@ -1086,7 +1086,7 @@ static void intel_tv_pre_enable(struct intel_encoder *encoder,
|
|||
if (tv_mode->progressive)
|
||||
ysize = tv_mode->nbr_end + 1;
|
||||
else
|
||||
ysize = 2*tv_mode->nbr_end + 1;
|
||||
ysize = 2 * (tv_mode->nbr_end + 1);
|
||||
|
||||
xpos += conn_state->tv.margins.left;
|
||||
ypos += conn_state->tv.margins.top;
|
||||
|
|
Загрузка…
Ссылка в новой задаче