]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita37882cae8b2f9403c1a80ddcb9ab14d8d796bd7
tree15fec87914826e4cc42b75e19d40c7194891f700
parentc6dc5f13778328ad32cd2552098643fae3c4d9ec
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