From: Ville Syrjälä Date: Thu, 14 Aug 2014 22:22:06 +0000 (+0300) Subject: Revert "drm/i915: Nuke pipe A quirk on i830M" X-Git-Tag: v3.18-rc1~44^2~32^2~44 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5f080c0f4bd526b36361dd15c4d22f6bbad95af9;p=karo-tx-linux.git Revert "drm/i915: Nuke pipe A quirk on i830M" 830 really does want the pipe A quirk. The planes and ports don't react to any register writes unless the pipe currently attached to them is running, so it's impossible to move them to the other pipe unless both pipes are running. Also it's documented that the DPLL must be enabled on both pipes whenever it's needed. This reverts commit ac6696d3236bd61503f89a1a99680fd7894d5d53. Signed-off-by: Ville Syrjälä Tested-by: Thomas Richter Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index d1d698c99f54..c06b516c1359 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -12639,6 +12639,9 @@ static struct intel_quirk intel_quirks[] = { /* ThinkPad T60 needs pipe A force quirk (bug #16494) */ { 0x2782, 0x17aa, 0x201a, quirk_pipea_force }, + /* 830 needs to leave pipe A & dpll A up */ + { 0x3577, PCI_ANY_ID, PCI_ANY_ID, quirk_pipea_force }, + /* Lenovo U160 cannot use SSC on LVDS */ { 0x0046, 0x17aa, 0x3920, quirk_ssc_force_disable },