drm/i915: Don't set up DP ports that aren't in the BIOS device table.
authorZhao Yakui <yakui.zhao@intel.com>
Tue, 24 Nov 2009 01:48:46 +0000 (09:48 +0800)
committerEric Anholt <eric@anholt.net>
Tue, 1 Dec 2009 00:42:56 +0000 (16:42 -0800)
commitae266c98f580a9ba5e0bfdb1d1f0f70ab3cd807f
tree15fec87914826e4cc42b75e19d40c7194891f700
parentfc816655236cd9da162356e96e74c7cfb0834d92
drm/i915: Don't set up DP ports that aren't in the BIOS device table.

Use the child device array to decide whether the given DP output should be
initialized. If the given DP port can't be found in child device array,
it is not present and won't be initialized.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_dp.c