From: Jesse Barnes Date: Tue, 17 Apr 2012 22:06:33 +0000 (-0700) Subject: drm/i915: IBX+ doesn't have separate vsync/hsync controls on the VGA DAC X-Git-Tag: v3.5-rc1~83^2~81^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df0323c42ac35f81b49e25fe04e8e52b9c6f6467;p=pandora-kernel.git 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 Signed-off-by: Jesse Barnes [danvet: s/intel_crt_dpms/gmch_crt_dpms as suggested by Chris.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed