summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/dvo_ch7xxx.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2013-07-25 16:22:31 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-07-25 16:10:22 +0200
commit3b27af3560f3cfe4e09171024515fa304ebae93b (patch)
tree51707d7fb87471902c7364c7611bfaf3bfc0d898 /drivers/gpu/drm/i915/dvo_ch7xxx.c
parentc20e835586c0e4d08f891362b3c829d45ef45f9d (diff)
downloadop-kernel-dev-3b27af3560f3cfe4e09171024515fa304ebae93b.zip
op-kernel-dev-3b27af3560f3cfe4e09171024515fa304ebae93b.tar.gz
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: Imre Deak <imre.deak@intel.com> Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/dvo_ch7xxx.c')
-rw-r--r--drivers/gpu/drm/i915/dvo_ch7xxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/dvo_ch7xxx.c b/drivers/gpu/drm/i915/dvo_ch7xxx.c
index 757e0fa..af42e94 100644
--- a/drivers/gpu/drm/i915/dvo_ch7xxx.c
+++ b/drivers/gpu/drm/i915/dvo_ch7xxx.c
@@ -307,7 +307,7 @@ static void ch7xxx_mode_set(struct intel_dvo_device *dvo,
idf |= CH7xxx_IDF_HSP;
if (mode->flags & DRM_MODE_FLAG_PVSYNC)
- idf |= CH7xxx_IDF_HSP;
+ idf |= CH7xxx_IDF_VSP;
ch7xxx_writeb(dvo, CH7xxx_IDF, idf);
}
OpenPOWER on IntegriCloud