drm/i915: IBX+ doesn't have separate vsync/hsync controls on the VGA DAC
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 17 Apr 2012 22:06:33 +0000 (15:06 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Apr 2012 08:34:49 +0000 (10:34 +0200)
commitdf0323c42ac35f81b49e25fe04e8e52b9c6f6467
treead651d75626df4bdbd3ddbefa540a4e5649d5b0d
parent446f254566ea8911c9e19c7bc8a162fc0e53cf31
drm/i915: IBX+ doesn't have separate vsync/hsync controls on the VGA DAC

When the PCH split occurred, hw dropped support for separate hsync and
vsync disable in the VGA DAC.  So add a PCH specific DPMS function that
just uses the port enable bit for controlling DPMS states.

Before this fix, when anything other than a full DPMS off occurred,
the VGA port would be left enabled and scanning out while all the other
heads would turn off as expected.

v2: duplicate encoder helper vtable into pch and gmch versions (Daniel)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48491
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
[danvet: s/intel_crt_dpms/gmch_crt_dpms as suggested by Chris.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_crt.c