drm/i915: Hook connector to encoder during load detection (fixes tv/vga detect)
authorKeith Packard <keithp@keithp.com>
Sat, 6 Jun 2009 01:19:56 +0000 (18:19 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 16 Aug 2009 21:18:22 +0000 (14:18 -0700)
commite8c4eaed7376d63ebd944b0ba1d238c23a4f9d6b
tree22ff8f7426d3404303bd0bc0f2dd37a98e28f61f
parentba55e7736d3a194176064063c2ef6dab91556c0c
drm/i915: Hook connector to encoder during load detection (fixes tv/vga detect)

(cherry picked from commit 03d6069912babc07a3da20e715dd6a5dc8f0f867)

With the DRM-driven DPMS code, encoders are considered idle unless a
connector is hooked to them, so mode setting is skipped. This makes load
detection fail as none of the hardware is enabled.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/intel_display.c