drm/i915: Fix PCH port pipe select in CPT disable paths
authorKeith Packard <keithp@keithp.com>
Sat, 6 Aug 2011 17:35:34 +0000 (10:35 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 8 Aug 2011 20:37:11 +0000 (13:37 -0700)
commit1519b9956eb4b4180fa3f47c73341463cdcfaa37
tree2aaf59c10b69bb00113bb677916d3106c5ed625b
parented10fca9c351c83ab89a97f3515089e0d36bdccc
drm/i915: Fix PCH port pipe select in CPT disable paths

CPT pipe select is different from previous generations (using two bits
instead of one). All of the paths from intel_disable_pch_ports were
not making this distinction.

Mode setting with pipe A turned off would then also force all outputs
on pipe B to get turned off as the disable code would mistakenly
decide that all of these outputs were on pipe A and turn them off.

This is an extension of the CPT DP disable fix (why didn't I fix this then?)

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c