diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-11-12 18:59:47 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-01-25 18:48:51 +0200 |
commit | 6801603d3d7dd05c62d368045c7d5a90980596a2 (patch) | |
tree | adbe1accca60cf36f6a2f19592721d9081d4f260 /drivers/gpu/drm/i915/intel_tv.c | |
parent | 32db0b6501d97b09e92e70caefc74fa35aa9a8d6 (diff) | |
download | linux-stable-6801603d3d7dd05c62d368045c7d5a90980596a2.tar.gz linux-stable-6801603d3d7dd05c62d368045c7d5a90980596a2.tar.bz2 linux-stable-6801603d3d7dd05c62d368045c7d5a90980596a2.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_tv.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_tv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_tv.c b/drivers/gpu/drm/i915/intel_tv.c index bd5536f0ec92..91cb31ff8ff0 100644 --- a/drivers/gpu/drm/i915/intel_tv.c +++ b/drivers/gpu/drm/i915/intel_tv.c @@ -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; |