Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b27af35 authored by Imre Deak's avatar Imre Deak Committed by Daniel Vetter
Browse files

drm/i915: dvo_ch7xxx: fix vsync polarity setting



This fixes a typo which set the wrong vsync and possibly also hsync
polarity for any modes with positive vsync polarity.

Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent c20e8355
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -307,7 +307,7 @@ static void ch7xxx_mode_set(struct intel_dvo_device *dvo,
		idf |= CH7xxx_IDF_HSP;
		idf |= CH7xxx_IDF_HSP;


	if (mode->flags & DRM_MODE_FLAG_PVSYNC)
	if (mode->flags & DRM_MODE_FLAG_PVSYNC)
		idf |= CH7xxx_IDF_HSP;
		idf |= CH7xxx_IDF_VSP;


	ch7xxx_writeb(dvo, CH7xxx_IDF, idf);
	ch7xxx_writeb(dvo, CH7xxx_IDF, idf);
}
}