drm/i915: Disabling unused outputs on CPT is broken

2011-08-06 Thread Keith Packard
Here's a fun sequence: $ xrandr --output LVDS1 --auto --crtc 1 $ sudo chvt 1 (then switch back to X) The LVDS goes black. Why? The LVDS is *disabled*. Turns out that the cause was that after the mode was all nicely set, intel_disable_pch_ports went and turned it back off. Well, a couple of week

drm/i915: Disabling unused outputs on CPT is broken

2011-08-06 Thread Keith Packard
Here's a fun sequence: $ xrandr --output LVDS1 --auto --crtc 1 $ sudo chvt 1 (then switch back to X) The LVDS goes black. Why? The LVDS is *disabled*. Turns out that the cause was that after the mode was all nicely set, intel_disable_pch_ports went and turned it back off. Well, a couple of week