mirror of
https://github.com/torvalds/linux.git
synced 2024-12-19 17:41:29 +00:00
drm/i915: fixup interlaced support on ilk+
According to Paulo Zanoni, this is what windows does. Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Tested-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Tested-by: Alfonso Fiore <alfonso.fiore@gmail.com> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
99fca60c76
commit
5def474ec6
@ -5975,7 +5975,7 @@ static int ironlake_crtc_mode_set(struct drm_crtc *crtc,
|
|||||||
|
|
||||||
pipeconf &= ~PIPECONF_INTERLACE_MASK;
|
pipeconf &= ~PIPECONF_INTERLACE_MASK;
|
||||||
if (adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE) {
|
if (adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE) {
|
||||||
pipeconf |= PIPECONF_INTERLACE_W_FIELD_INDICATION;
|
pipeconf |= PIPECONF_INTERLACED_ILK;
|
||||||
/* the chip adds 2 halflines automatically */
|
/* the chip adds 2 halflines automatically */
|
||||||
adjusted_mode->crtc_vtotal -= 1;
|
adjusted_mode->crtc_vtotal -= 1;
|
||||||
adjusted_mode->crtc_vblank_end -= 1;
|
adjusted_mode->crtc_vblank_end -= 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user