]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit68fcfdc410070184cd9063d772addcc9b95d9863
tree2aaf59c10b69bb00113bb677916d3106c5ed625b
parentd276a840786de84eddb465b4da16e869627117d9
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